ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Nav2 Cartographer localization

asked 2020-06-08 13:03:31 -0600

Chris91 gravatar image

updated 2020-06-08 13:14:42 -0600

Hi again,

I'm using ros2 and cartographer + turlebot3 burger with a kinect camera. I can create 2d and 3d maps. I now want to use nav2 for robot navigation. Because of the kinect camera i don't want to use amcl for the robot pose and use cartographer localization instead. I found this feature request on github describing my problem.

My question is how to archive that. I added the cartographer in localization mode to the navigation launch file of the turtlebot. It is starting and is posting a /map. But what must be adjusted in the nav2_bringup_launch.py launchfile. Remove amcl for sure but what else ?

Edit1: This is working in ROS1 out of the box btw. Because Move_Base is launched with cartographer.

Thanks :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-06-09 06:16:22 -0600

Chris91 gravatar image

Here is the solution to my own question:

There's a little history in github about this topic. This will also work with other mappings tools like rtabmap i already tested that.

This can be closed as solved.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2020-06-08 13:03:31 -0600

Seen: 2,057 times

Last updated: Jun 09 '20