Stop replanning when near the goal if path is valid#5876
Stop replanning when near the goal if path is valid#5876SteveMacenski merged 6 commits intoros-navigation:mainfrom
Conversation
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
|
I am planning to update the detailed behavior walkthrough, which requires generating the behavior tree via the script. I will open the docs PR once this one is approved |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 15 files with indirect coverage changes 🚀 New features to boost your workflow:
|
SteveMacenski
left a comment
There was a problem hiding this comment.
Otherwise, approved :-)
nav2_bt_navigator/behavior_trees/navigate_to_pose_w_replanning_and_recovery.xml
Outdated
Show resolved
Hide resolved
|
I think the purpose of this demo is to stop replanning when the path is valid (regardless of whether the robot is near the goal), so I didn't update this demo |
It has a timer to replan occasionally. That occasionally could happen when approaching the goal. If the path is still valid, I would like it not to regardless of the timer |
|
I am going to hold this PR so that we can get ros-navigation/docs.nav2.org#854 merged in first |
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
|
I will do the docs PR tomorrow, not feeling well today 🤒 |
...igator/behavior_trees/nav_to_pose_with_consistent_replanning_and_if_path_becomes_invalid.xml
Outdated
Show resolved
Hide resolved
...igator/behavior_trees/nav_to_pose_with_consistent_replanning_and_if_path_becomes_invalid.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
SteveMacenski
left a comment
There was a problem hiding this comment.
Plz just confirm that you tested this to work properly for me :-) Then I'll merge
|
Yes, I confirm that I have tested it :) |
) * Stop replanning when near the goal if path is valid Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update bts Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update proximity threshold Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Set distance forward to -1 Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> --------- Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> Signed-off-by: panav <panav@10xconstruction.com>
) * Stop replanning when near the goal if path is valid Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update bts Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update proximity threshold Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Set distance forward to -1 Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> --------- Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> Signed-off-by: panav <panav@10xconstruction.com>
) * Stop replanning when near the goal if path is valid Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update bts Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update proximity threshold Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Set distance forward to -1 Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> --------- Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
) * Stop replanning when near the goal if path is valid Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update bts Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update proximity threshold Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Set distance forward to -1 Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> --------- Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> Signed-off-by: panav <panav@10xconstruction.com>
) * Stop replanning when near the goal if path is valid Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update bts Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update proximity threshold Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Set distance forward to -1 Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> --------- Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> Signed-off-by: panav <panav@10xconstruction.com> Signed-off-by: Maurice <mauricepurnawan@gmail.com>
) * Stop replanning when near the goal if path is valid Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update bts Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Update proximity threshold Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> * Set distance forward to -1 Signed-off-by: mini-1235 <mauricepurnawan@gmail.com> --------- Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
PR ros-navigation#5876 added `IsGoalNearby` condition to the sequence. However, when to goal is far, this action is Always Failure => always trigger the Fallback and planning Changed logic to replan if: - path is invalid - always - goal updated - always - IsGoalNearby AND timer expired
PR ros-navigation#5876 added `IsGoalNearby` condition to the sequence. However, when to goal is far, this action is Always Failure => always trigger the Fallback and planning Changed logic to replan if: - path is invalid - always - goal updated - always - IsGoalNearby AND timer expired Signed-off-by: Adi Vardi <adi.vardi@enway.ai>
PR #5876 added `IsGoalNearby` condition to the sequence. However, when to goal is far, this action is Always Failure => always trigger the Fallback and planning Changed logic to replan if: - path is invalid - always - goal updated - always - IsGoalNearby AND timer expired Signed-off-by: Adi Vardi <adi.vardi@enway.ai>
Basic Info
Description of contribution in a few bullet points
Description of documentation updates required from your changes
Description of how this change was tested
Future work that may be required in bullet points
For Maintainers:
backport-*.