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

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
2

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

Comments

1

in addition to changing the inflation radius, you will likely want to change the robot radius / footprint in the general costmap namespace. https://github.com/ros-planning/navig...

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

Question Tools

2 followers

Stats

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

Seen: 1,063 times

Last updated: Jun 28 '19