-
Notifications
You must be signed in to change notification settings - Fork 569
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
Map ompl's APPROXIMATE_SOLUTION -> TIMED_OUT / PLANNING_FAILED #2455
Conversation
ompl's APPROXIMATE_SOLUTION is not suitable for actual execution. It just states that we got closer to the goal... The most prominent reason for an approximate solution is a timeout.
Interestingly the issue was fixed in the MoveIt1 backport (moveit/moveit#3257 (review)), but then not back-ported to MoveIt2 again! |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2455 +/- ##
==========================================
- Coverage 50.86% 50.84% -0.02%
==========================================
Files 386 386
Lines 32000 32002 +2
==========================================
- Hits 16275 16269 -6
- Misses 15725 15733 +8
☔ View full report in Codecov by Sentry. |
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.
Thanks for this fix!
I tested with a setup that often executed partial solutions and this fixes it. I had to increase the planning time in my setup.
moveit_planners/ompl/ompl_interface/src/model_based_planning_context.cpp
Outdated
Show resolved
Hide resolved
78b6e38
to
05803f8
Compare
Thanks for the fix!! What is the procedure to get this PR merged also into humble branch? I recall there is a bot that does that, but have no idea how to invoke it... |
ompl's APPROXIMATE_SOLUTION is not suitable for actual execution. It just states that we got closer to the goal... The most prominent reason for an approximate solution is a timeout. Thus, return TIMED_OUT and print the used timeouts for convenience. (cherry picked from commit c0c6baf)
@Mergifyio backport humble |
✅ Backports have been created
|
Usually, it's done by providing the label Note, that we will need a new release to actually have these changes deployed. |
Yes, I understand. Thank you |
ompl's APPROXIMATE_SOLUTION is not suitable for actual execution. It just states that we got closer to the goal... The most prominent reason for an approximate solution is a timeout. Thus, return TIMED_OUT and print the used timeouts for convenience. (cherry picked from commit c0c6baf)
#2459) ompl's APPROXIMATE_SOLUTION is not suitable for actual execution. It just states that we got closer to the goal... The most prominent reason for an approximate solution is a timeout. Thus, return TIMED_OUT and print the used timeouts for convenience. (cherry picked from commit c0c6baf) Co-authored-by: Robert Haschke <[email protected]>
…ort #2455) (#2460) ompl's APPROXIMATE_SOLUTION is not suitable for actual execution. It just states that we got closer to the goal... The most prominent reason for an approximate solution is a timeout. Thus, return TIMED_OUT and print the used timeouts for convenience. (cherry picked from commit c0c6baf) Co-authored-by: Robert Haschke <[email protected]>
…ort moveit#2455) (moveit#2460) ompl's APPROXIMATE_SOLUTION is not suitable for actual execution. It just states that we got closer to the goal... The most prominent reason for an approximate solution is a timeout. Thus, return TIMED_OUT and print the used timeouts for convenience. (cherry picked from commit c0c6baf) Co-authored-by: Robert Haschke <[email protected]>
Just to note that these changes are still not deployed in latest binary version from apt repos (2.5.5-1jammy.20240217.122953). Building from sources works correctly |
ompl's
APPROXIMATE_SOLUTION
is not suitable for actual execution. It just states that we got closer to the goal:As the most prominent reason for an approximate solution is a timeout, also checking for this case.
Fixes moveit/moveit_task_constructor#485