Open ipa-rwu opened 3 years ago
Probably you are running the cartographer_occupancy_grid_node
in addition to the cartographer_node
. The occupancy grid node publishes to /map
. If you don't want anything on /map
by this node, you need to remove it from your launch.
@MichaelGrupp Thanks you very much for your advice. I will try out and come back to you (Probably this weekends)
Hi,
I was wondering how did you manage to run cartographer with foxy. Which launch files were you using? The ones that are in the ros2-dashing-1.0.0
branch are still for ROS1, not ported to ROS2? When you use them with foxy, you get an invalid launch file error. I guess you used the ones here: https://github.com/ipa-rwu/minion_stack_ros2/tree/main/minion_cartographer/launch.
Are there default examples for cartographer for ROS2 somewhere that one could use for testing?
Regards, Nedim
Hello,
I am trying to use pure localization in ROS2 foxy. But catorgrapher still keep updating map even though I set pure_localization=true. Basicly I am using the robot I built. It only use Lidar and doesn't have odom. As you can find Config for Slam, I can create a map (not so good but can be used I think)
Based on tuning guide for pure-localization-in-a-given-map, and similar issues as #1403, #1258, #1031 I tuned the param as followed:
I use nav_map_sever to load map, but I found the catrographer was still publishing to /map.
Any help would be appreciated. Thanks.