missing the frame "map" while running ros_stage

asked 2020-03-05 13:34:53 -0500

xinxinxin gravatar image

updated 2020-03-10 12:40:57 -0500

Hi I am using stage to run SLAM simulations.

It is okay to mapping with Gmapping. But It doesn't work with Cartographer

when I run with cartographer by

roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=cartographer

the terminal outputs warning of

image description

and

image description

I checked the frame tree of both Gmapping and Cartographer, the cartographer missed the frame of map

image description

I can run the carographer with real environment and with bag file. So I assume the launch file and lua file is correct.

any tips for that? Thank you!

edit retag flag offensive close merge delete