-
Notifications
You must be signed in to change notification settings - Fork 698
[OMPL] also check constraints in StateValidityCallback #3586
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
Conversation
|
Please target the |
7698d9f to
fdd76e6
Compare
|
@henningkayser @tylerjw Please review this PR. |
|
@EzraBrooks do you know who can review this PR? |
|
I believe @v4hn |
|
@v4hn Could you please review this PR? |
This allows the IK solver to continue finding a valid solution, which also satisfies the kinematic constraints. In the old situation the IK solver would return a solution, which it thinks is valid, but it is not. The sampler will keep calling the IK solver. Though for IK solvers, which are not that random. There is a high chance of returning the same solution over and over. Which keeps failing the constraints. By checking the constraints in the callback the IK solver will continue and return a valid solution.
fdd76e6 to
f654c4d
Compare
|
@ahcorde can you please take a look at this PR or assign it to another active developer? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3586 +/- ##
==========================================
+ Coverage 46.17% 46.17% +0.01%
==========================================
Files 720 720
Lines 59179 59180 +1
Branches 7595 7595
==========================================
+ Hits 27320 27323 +3
+ Misses 31692 31691 -1
+ Partials 167 166 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@nbbrooks can you also help here? |
|
@ahcorde @EzraBrooks can we backport to Jazzy and newer distros? |
|
I'm not familiar with the process for that on MoveIt, but I'll approve PRs if they're opened |
|
I believe mergify bot is configured to look at these tags and try to backport automatically. We will need to configure a backport-kilted label and workflow though. |
(cherry picked from commit ca2bb1b)
(cherry picked from commit ca2bb1b) Co-authored-by: Matthijs van der Burgh <[email protected]>
|
@nbbrooks can you please also backport to kilted? |
(cherry picked from commit ca2bb1b)
This allows the IK solver to continue finding a valid solution, which also satisfies the kinematic constraints.
In the old situation the IK solver would return a solution, which it thinks is valid, but it is not. The sampler will keep calling the IK solver. Though for IK solvers, which are not that random. There is a high chance of returning the same solution over and over. Which keeps failing the constraints.
By checking the constraints in the callback the IK solver will continue and return a valid solution.
Please backport to Jazzy and others
Checklist