Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node explore cannot be found after launching explore.launch #11

Closed
kenanEkici opened this issue Dec 10, 2017 · 20 comments
Closed

Node explore cannot be found after launching explore.launch #11

kenanEkici opened this issue Dec 10, 2017 · 20 comments
Labels
Milestone

Comments

@kenanEkici
Copy link

This is what I get when I try to run explore.launch in the explore_lite package.

ERROR: cannot launch node of type [explore_lite/explore]: can't locate node [explore] in package [explore_lite]

What am I doing wrong?

@hrnr
Copy link
Owner

hrnr commented Dec 11, 2017

This probably means you don't have this package installed correctly.

To resolve this I need more information.

  • How did you installed explore_lite?
  • package version
  • which ros distribution you are using

It might be also problem with your specific installation of ROS. Do other packages work correctly?

@kenanEkici
Copy link
Author

I have installed explore_lite with:
sudo apt install ros-kinetic-multirobot-map-merge ros-kinetic-explore-lite
I'm not sure which package version I have cloned the master
And I'm using Kinetic.

I'm not entirely sure what you mean with other packages?

@hrnr
Copy link
Owner

hrnr commented Dec 13, 2017

I don't understand. Have you installed your package from repository, or have you cloned from master and compiled it yourself?

Does other packages works as expected? For example for explore_lite you need to have configured move_base. Does move_base work? (Can you navigate your robot with move_base?)

@kenanEkici
Copy link
Author

kenanEkici commented Dec 13, 2017

We are now trying to configure it the way it's mentioned in the quick-start.txt, I will let you know.

@hrnr
Copy link
Owner

hrnr commented Dec 13, 2017

That file is outdated. I should probably remove that.

@kenanEkici
Copy link
Author

Can you provide me a recent quickstart for ROS Kinetic for Turtlebot2

@hrnr
Copy link
Owner

hrnr commented Dec 13, 2017

I have removed the mentioned file. Thanks for pointing that out. I have forgotten about that file.

I think there is no quickstart no longer needed. Package is now properly released in ROS, so installation is very easy. quickstart.txt was just about installation of early development version of this package.

I can reproduce the error you have. Thanks for reporting. I will fix it soon.

@hrnr hrnr added bug and removed more info needed labels Dec 13, 2017
@hrnr
Copy link
Owner

hrnr commented Dec 13, 2017

As a workaround you can uninstall packages via apt and clone this repo to your workspace. From workspace everything works as expected.

@kenanEkici
Copy link
Author

What I did was:

  • I uninstalled the packages
  • removed the repo from source
  • cleaned the build
  • recloned
  • catkin_make

And from here we are stuck because we are not sure how to launch the package because nothing seems to be working

@hrnr
Copy link
Owner

hrnr commented Dec 13, 2017

After compiling you should be able to run explore.launch via roslaunch. You might need to source again setup.bash from your workspace for completion to work again.

@kenanEkici
Copy link
Author

kenanEkici commented Dec 13, 2017

Okay we did a source and we have successfully been able to run explore_lite explore.launch, after doing a minimal launch on the turtlebot. What are the next steps to make the robot mapping autonomously? Thank you in advance

@hrnr
Copy link
Owner

hrnr commented Dec 13, 2017

you need to have correctly configured move_base. You should be able to navigate the robot with move_base manually. Then explore.launch should work for your more or less out of the box (I was also using that launch file with turtlebot).

Of course, you might need to change some topic names and tf frames names depending on your configuration. Check the wiki how to configure the parameters.

@kenanEkici
Copy link
Author

Okay, we will try that. Do you perhaps have the launchfile for a Turtlebot?

@hrnr
Copy link
Owner

hrnr commented Dec 13, 2017

the launchfile shipped with explore_lite is the same launchfile that I have used for experiments.

@kenanEkici
Copy link
Author

Okay, we have an issue with configuring the move_base. Our move_base package is empty except for a package.xml file.

@hrnr
Copy link
Owner

hrnr commented Dec 13, 2017

ok, come back when you get your move_base up and running and let me if you have any further issues with explore_lite.

Thanks again for reporting this issue, I will fix it in the next package release, so the package from ROS repository works out of the box.

@kenanEkici
Copy link
Author

After configuring move_base, we have been able to successfully launch explore.launch. It works very well, but some parameters need to be tweaked in order to make it run more efficient.

@hrnr
Copy link
Owner

hrnr commented Dec 14, 2017

Great. Unfortunately filtering of small frontiers is now hard-coded because of #7 (but it is fixed in master, so it should not affect you). You can still tune weights of frontiers (potential_scale, gain_scale), which affects the exploration considerably.

If you have some other issues or suggestions for improvements let me know.

@kenanEkici
Copy link
Author

Thanks. The only issue we encountered since then is mapping small and crowded rooms (with or without moving obstacles). It constantly keeps trying to recover and eventually never accomplishes to map the room and therefor never moves out of a specific room (atleast the smaller ones). If finetuning it doesnt't help we will be considering to try and fix this.

@hrnr
Copy link
Owner

hrnr commented Dec 14, 2017

Oh yeah. That is a general problem with move_base. Exploring can't do much about it. Maybe exploring should avoid such spaces, but I'm not sure if that is viable.

Tweaking parameters of move_base usually helps .I had some success with big inflation on global map (to keep it from walls) an small inflation in local map (to leave the planner as much space as possible).

@hrnr hrnr closed this as completed in c3ac7b1 Dec 15, 2017
@hrnr hrnr added this to the 2.1.1 milestone Dec 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants