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

DWB local planner footprint configuration

asked 2019-01-22 10:58:23 -0500

Dakow gravatar image

updated 2019-01-23 02:44:30 -0500

Hi everyone,

I have some issues while trying to use DWB local planner. I'm using it with move_base using this answer.

But when I start the navigation, I get these errors:

[ WARN] [1464825005.450915057]: Critic "ObstacleFootprint" failed to prepare
[ERROR] [1464825005.457386149]: computeVelocityCommands exception: No valid trajectories out of 63! 
[ERROR] [1464825005.550973984]: Footprint spec is empty, maybe missing call to setFootprint?

I've tried to add in my "base_local_planner_params.yaml" file the "ObstacleFootprint" parameter :

  critics:
     ObstacleFootprint: [[-0.3, 0.45], [0.97, 0.45], [0.97, -0.45], [-0.3,-0.45]]

But now, my robot goes around in circles with no errors instead of moving towards the destination...

Thanks for your help!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2019-01-22 16:29:12 -0500

David Lu gravatar image

DWB searches for the footprint here

You'll want to set the footprint parameter somewhere in your namespace. Right now, I'm guessing you have the parameter /move_base/DWBLocalPlanner/critics/ObstacleFootprint set to the footprint above. What you want is for the footprint to be set anywhere in those namespaces, including

  • /footprint
  • /move_base/footprint
  • /move_base/DWBLocalPlanner/footprint
  • /move_base/DWBLocalPlanner/critics/footprint
  • /move_base/DWBLocalPlanner/critics/ObstacleFootprint/footprint

/move_base/footprint is traditional, since it allows anything in move_base to use the same footprint.

edit flag offensive delete link more

Comments

I had it there:

/move_base/global_costmap/footprint
/move_base/local_costmap/footprint

So I added it too in:

/move_base/footprint

And it works... Thanks a lot!

Dakow gravatar image Dakow  ( 2019-01-23 02:44:00 -0500 )edit

I'm quite new to this, could you explain how exactly you did this? I have the same error.

liambroek gravatar image liambroek  ( 2021-03-18 10:02:32 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-01-22 10:58:23 -0500

Seen: 879 times

Last updated: Jan 23 '19