Ask Your Question
0

Configuring the progress checker in Navigation2

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

ninamwa gravatar image

updated 2020-02-13 03:52:56 -0600

gvdhoorn gravatar image

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://ros-planning.github.io/naviga... 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 imageninamwa ( 2020-02-17 01:29:43 -0600 )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

1 follower

Stats

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

Seen: 14 times

Last updated: Feb 14