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

Configuring Cartographer to Display submap

asked 2018-04-26 11:22:52 -0500

Ekow Mensah gravatar image

I am using the Cartographer package to implement 2D Online SLAM. I have managed to get input data from VLP-16 LiDAR to work with Cartographer, however, cartographer does not publish any submaps. Could you please suggest any reasons why this might be the case? Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-04-25 02:50:39 -0500

@Ekow Mensah , can you provide the ouput of the terminal which you run the cartographer? One suggestion is try to save your lidar data and other datas if available (tf , odom etc.) to a rosbag file. Then validate this rosbag file:

 cartographer_rosbag_validate -bag_filename /path.../bagfilename.bag

This command will print some possible errors you might have in the recorded data. It is going to be useful to start debugging from these errors and warnings.

edit flag offensive delete link more

Comments

@samialperen Hi, I'm trying this command but didn't know what to put as -bag_filename; i know that the name of the file would be the third command (.bag) but I couldn't understand the second one?

Syrine gravatar image Syrine  ( 2019-05-10 04:08:00 -0500 )edit
1

@Syrine, it should stay same. For example, if you have data1.bag at /user/home/Downloads then the command will be

cartographer_rosbag_validate -bag_filename /home/user/Downloads/data1.bag
samialperen gravatar image samialperen  ( 2019-05-10 04:25:19 -0500 )edit

Ooooh I see now, thanks a lot

Syrine gravatar image Syrine  ( 2019-05-10 04:26:59 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-04-26 11:22:52 -0500

Seen: 764 times

Last updated: Apr 25 '19