-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
nav2_smac_planner: handle corner case where start and goal are on the same cell #4793
nav2_smac_planner: handle corner case where start and goal are on the same cell #4793
Conversation
5030af6
to
2f13bf1
Compare
Codecov ReportAttention: Patch coverage is
|
… same cell This case was already properly handled in the smac_planner_2d, but it was still leading to an A* backtrace failure in the smac_planner_hybrid and smac_planner_lattice. Let's harmonize the handling of this case. This commit fixes issue ros-navigation#4792. Signed-off-by: Dylan De Coeyer <[email protected]>
2f13bf1
to
a912059
Compare
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, LGTM. Make sure to do these same comments in the State Lattice planner & add into the unit tests a plan where the start and goal are the same bin to exercise the change in unit testing
Signed-off-by: Dylan De Coeyer <[email protected]>
…he same cell Signed-off-by: Dylan De Coeyer <[email protected]>
f820898
to
09eec6a
Compare
@DylanDeCoeyer-Quimesis, your PR has failed to build. Please check CI outputs and resolve issues. |
09eec6a
to
728054f
Compare
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, LGTM. Test just needs to actually test the result of the exercised bit
5b44e9e
to
eba884f
Compare
@DylanDeCoeyer-Quimesis, your PR has failed to build. Please check CI outputs and resolve issues. |
Add a plan where the start and goal are placed on the same cell. Signed-off-by: Dylan De Coeyer <[email protected]>
eba884f
to
81ee425
Compare
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.
Great work, thanks!
… same cell (ros-navigation#4793) * nav2_smac_planner: handle corner case where start and goal are on the same cell This case was already properly handled in the smac_planner_2d, but it was still leading to an A* backtrace failure in the smac_planner_hybrid and smac_planner_lattice. Let's harmonize the handling of this case. This commit fixes issue ros-navigation#4792. Signed-off-by: Dylan De Coeyer <[email protected]> * nav2_smac_planner: use goal orientation when path is made of one point Signed-off-by: Dylan De Coeyer <[email protected]> * nav2_smac_planner: publish raw path also when start and goal are on the same cell Signed-off-by: Dylan De Coeyer <[email protected]> * nav2_smac_planner: add corner case to unit tests Add a plan where the start and goal are placed on the same cell. Signed-off-by: Dylan De Coeyer <[email protected]> --------- Signed-off-by: Dylan De Coeyer <[email protected]>
This case was already properly handled in the smac_planner_2d (since PR #2488), but it was still leading to an A* backtrace failure in the smac_planner_hybrid and smac_planner_lattice. Let's harmonize the handling of this case.
Basic Info
Description of contribution in a few bullet points
Description of documentation updates required from your changes
Future work that may be required in bullet points
For Maintainers: