-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Stop replanning when near the goal if path is valid #5876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: mini-1235 <[email protected]>
|
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. 🚀 New features to boost your workflow:
|
SteveMacenski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, approved :-)
| <GlobalUpdatedGoal/> | ||
| </Inverter> | ||
| <IsGoalNearby path="{path}" proximity_threshold="1.0" max_robot_pose_search_dist="1.5"/> | ||
| <IsPathValid path="{path}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this check validity only of the remaining sections of the path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No.
What about doing
<IsGoalNearby path="{path}" proximity_threshold="1.0" max_robot_pose_search_dist="1.5"/>
<TruncatePathLocal input_path="{path}" output_path="{remaining_path}" distance_forward="2.0" distance_backward="0.0" />
<IsPathValid path="{remaining_path}"/>
So that we only check if the remaining path is valid? Does this make sense to you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that makes sense to me!
|
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 |
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-*.