Ask Your Question

Showing error in rviz while trying gmapping

asked 2014-12-05 02:59:08 -0600

updated 2014-12-05 05:15:41 -0600

Using static transform publisher, I defined relationship between my robot and laser, i.e base_link-->laser

Then I created a fake robot odometry data which gives all required odometry using code from This links odom-->base_link

N then I - rosrun gmapping slam_gmapping scan:=scan My frame chain is complete now map-->odom-->base_link-->laser

After that I am running a SICK LMS lidar. But still when I run rviz and add map topic it just show error in map status and gives no result under map topic. Can I have a clue where I might be going wrong ? In terminal under gmapping node it is giving continuous warning that 100% of messages dropped so far..

Also under laser topic with fixed frame /map, I can see the laser data as per fake robot's movement. But again here the status is going OK and error with frequency of 1, same as odometry refresh rate. Any idea why might that be happening?

edit retag flag offensive close merge delete


I would suggest hector_slam in your case. Did you use clock option with rosbag play ?

bvbdort gravatar image bvbdort  ( 2014-12-05 03:52:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-05 05:35:38 -0600

Yes, i was running rosbag with clock. Gmapping is working now when I plugged in the lidar.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-12-05 02:59:08 -0600

Seen: 449 times

Last updated: Dec 05 '14