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

Dynamic goal tolerance

asked 2012-06-13 05:12:28 -0500

Random-I-Am gravatar image

updated 2014-01-28 17:12:39 -0500

ngrennan gravatar image

I was wondering if there was any way to change the yaw_goal_tolerance and xy_goal_tolerance of e.g. the base_local_planner.

There are several situations where we want to apply a very small tolerance (+decrease accs and vels). But since this should definitely not be the default we want to be capable of 'dynamically reconfigure' those params. Unfortunately, those parameters are missing from the according reconfigure message.

What recently came to my mind was killing and restarting the node and apply a different set of default parameters. In my opinion, that would be a really dirty hack though.

edit retag flag offensive close merge delete

Comments

Did you hack into move base to add the dynamic reconfig for these? If yes, could you please share that part of the code?

hc gravatar image hc  ( 2018-09-28 09:56:41 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-06-13 15:27:33 -0500

PKG gravatar image

No, AFAIK there is no way to dynamically reconfigure these planner parameters. If you are serious about this, hack into move_base and have it read these params from a callback , like plannerParamsUpdateCallback . Killing and restarting the node would be terrible, to say the least.

edit flag offensive delete link more
0

answered 2015-01-19 02:23:18 -0500

Girts L gravatar image

Use DWAPlannerROS for the local planner. There the tolerance params are dynamic.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-13 05:12:28 -0500

Seen: 782 times

Last updated: Jan 19 '15