problem with gmapping [closed]

asked 2012-11-21 13:07:21 -0500

Kent gravatar image

updated 2014-01-28 17:14:20 -0500

ngrennan gravatar image

I'm trying to use gmapping stack to do some slam research. But it seemed like gmapping is using the laser scans believing that the robot is still from the map built. I've checked odometry, which is accurate. I've checked the tf(odom->base_link base_link->base_laser) via not launching gmapping, only view laser and tf in rviz, which seemed also correct when I move the robot by hand. But if I choose "/base_link", "/odom" or "/map" as the fixed frame in the "global option tag", the "LaserScan" tag will change red between green from time to time. I check the error message in LaserScan tag, and be told "unknown reason for transform failure". I mean, sometimes it is correct(green), but also incorrect sometimes. How can I fix that problem?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-08-31 20:35:24.643857

Comments

1

How does your tf tree look like? How do you publish the transforms?

Lorenz gravatar image Lorenz  ( 2012-11-21 22:08:39 -0500 )edit

the tree is just like this: map->odom->base_link->base_laser

Kent gravatar image Kent  ( 2012-11-21 22:58:41 -0500 )edit