Ask Your Question

Dynamic reconfigure of costmaps

asked 2019-06-27 05:36:53 -0500

kurshakuz gravatar image

Hello everyone!

I have a mobile robot in Gazebo with defined dimensions, whose task is to pick-up tables and to transport them to other locations. I am using move_base for path planning and navigation. The robot is navigating properly when there is no load on him, but fails to avoid obstacles when there is a table on it. Obviously, it is because dimensions of tables are not taken into account of costmaps during navigation. The question is following: is there any possibility to dynamically reconfigure or recompute my costmaps during robot motion on move_base?

My first thought was to two parallel running move_base nodes each taking control after some command, but I am not sure if this is even possible, going to try it soon, but any other/better solutions are very appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-06-28 05:47:54 -0500

pavel92 gravatar image

You can always increase the inflation layer in you costmap params config files. You can also use dynamic reconfigure to change the inflation value on the run.

image description

Also you can change the value in your code and update the inflation parameter. This question tackles that problem.

edit flag offensive delete link more



in addition to changing the inflation radius, you will likely want to change the robot radius / footprint in the general costmap namespace.

David Lu gravatar image David Lu  ( 2019-06-28 11:45:48 -0500 )edit

Your Answer

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

Add Answer

Question Tools



Asked: 2019-06-27 05:36:53 -0500

Seen: 353 times

Last updated: Jun 28 '19