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

Configuring the progress checker in Navigation2

asked 2020-02-13 03:46:01 -0600

ninamwa gravatar image

updated 2020-05-04 01:13:47 -0600

Hi. I am testing out how to dynamically change my speed parameters in Navigation2. It works good, but if I set the speed too low, the navigation fails because the controller server "fails to make progress".

In this documentation: https://navigation.ros.org/configurat... the parameter movement_time_allowance is mentioned. The description is:

Controls how much time the robot has time to show progress. If the robot fails to move more than required_movement_radius meters in this time, an error is thrown. For slow robots, this time should be extended. Reducing this time will cause the robot to recover more quickly if it is stuck, but too little time doesn’t give the robot enough time to manoeuver in dynamic environments.

I want to change this parameter but I can't seem to find the correct place to do it (without directly changing the code). When I look at the param list in the terminal it is not mentioned any place, and if I try to change it from the terminal, it says that the parameter is not declared.

The parameter is used in this code: https://github.com/ros-planning/navig...

Does anyone know how I could access and change this parameter? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2020-02-14 17:54:41 -0600

Carl D gravatar image

That's a bug in the progress checker. Sorry about that. There is no workaround other than changing the source code like you described.

There is a fix for this bug here https://github.com/ros-planning/navig...

Note that the fix does not make the parameter dynamic yet. It is only read once when the node is started. Please let me know if you need to tweak this parameter at runtime as well.

edit flag offensive delete link more

Comments

Thank you very much! I do not think it will be necessary for me to change it during runtime, but I will let you know if the need appears :-)

ninamwa gravatar image ninamwa  ( 2020-02-17 01:29:43 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-02-13 03:46:01 -0600

Seen: 1,409 times

Last updated: May 04 '20