-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Nav2 should work with Cartographer, other SLAM packages #595
Comments
We can look at the following three scenarios with Cartographer or other SLAM packages:
For the second and third use cases, we can utilize behavior tree to enable/disable proper components and add proper planner within our Nav2 stack that is suitable for these tasks. |
I agree with the 3 use cases. I think we should support all 3 with both simple_navigator and bt_navigator. Otherwise we have to document exactly which ones work with each use case. |
Regarding @mhpanah 's points 1 to 3 above:
|
Use case 3 requires the change I mentioned above. amcl_pose is not published in that case, so another method is needed to check for the robot's position. |
Trying to use Nav2 with Cartographer, one issue is that the static layer costmap plugin hangs indefinitely waiting for a service (
PR #885 |
Another issue is that Cartographer ROS only publishes transforms, not poses (nav stack expects PoseWithCovariance): |
PR #793 should address that problem. However, when I tested with that code enabled a month or two ago, both DWB and Cartographer crashed frequently, so I expect there is still more to debug. |
This is working now, fixed by #1057 |
Hi Thanks! |
Hi @mkhansenbot Could you help me with running the Nav2 with Cartographer without a previously recorded map? And how can I disable the map server in this case? You help will be appreciated! |
Please file a question on ROS Answers. |
Signed-off-by: Steve Macenski <[email protected]>
This fixes the warning which was introduced here: pypa/setuptools@a2e9ae4cb Signed-off-by: Alex Moriarty <[email protected]>
Feature request
Instead of using AMCL and map_server, a user should be able to run a SLAM package such as Cartographer or gmapping to provide the map and localization info.
Feature description
This is a common usage model from ROS1 when mapping. Explore algorithms and RVIZ can then be used to drive the robot during mapping.
Implementation considerations
Currently the robot's pose is retrieved from the amcl_pose topic which isn't published by SLAM packages such as Cartographer.
The text was updated successfully, but these errors were encountered: