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

move_base Get plan not working for real time data???

asked 2013-01-24 07:02:54 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am using P3dx bot and want to get a plan using move_base Get Plan service, so when I use data like tf and scan messages directly from robot I get the following warning :

[ WARN] [1359052907.140636231]: Could not get robot pose, cancelling reconfiguration
[ WARN] [1359052908.140937352]: Costmap2DROS transform timeout. Current time: 1359052908.1409, global_pose stamp: 1359052907.5267, tolerance: 0.2000

and planning fails, but when i store the data in bag file and then run the code it works fine. Can anyone please help..

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
4

answered 2013-01-24 11:33:40 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

This is a typical problem in the navigation stack if you use a distributed navigation architecture. The time delays are a problem.

Your global costmap has a parameter "/transform_tolerance (double, default: 0.2)" What that means? If your sensor data or your odometry data is too old they are not reliable information to build a costmap. Remember that a costmap is like a mapping method (but not slam). A very high cumulated odometry error could end up in an absolutley incoherent costmap.

In any case try to increase the transform_tolerance parameter and after that told us your results please!

edit flag offensive delete link more
2

answered 2013-01-25 23:48:43 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Thanks a lot, the problem seems to be resolved. I had to increase the value from 0.2 to 1.5. The value is written in costmap_common_params.yaml.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-24 07:02:54 -0500

Seen: 1,926 times

Last updated: Jan 25 '13