Fix resolved constraint frames with object as link_name#2975
Fix resolved constraint frames with object as link_name#2975rhaschke merged 5 commits intomoveit:masterfrom
Conversation
The isPathValid and isStateValid methos needs the resolved
The constraint resolve frame is now done in the planning pipeline.
0e1b7aa to
425a565
Compare
Codecov Report
@@ Coverage Diff @@
## master #2975 +/- ##
==========================================
- Coverage 61.56% 61.56% -0.00%
==========================================
Files 370 369 -1
Lines 33147 33140 -7
==========================================
- Hits 20405 20400 -5
+ Misses 12742 12740 -2
Continue to review full report at Codecov.
|
This comment was marked as outdated.
This comment was marked as outdated.
|
Brainstorming... Would it makes sense to put this section of code as request adapters ? That way it would get the modified request with the modified frames. Also the |
e1b0ec1 to
fdc3b1c
Compare
instead of directly removing it.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #2975 +/- ##
==========================================
+ Coverage 47.15% 47.81% +0.67%
==========================================
Files 603 604 +1
Lines 58999 60979 +1980
Branches 6969 7092 +123
==========================================
+ Hits 27814 29151 +1337
- Misses 30773 31410 +637
- Partials 412 418 +6 ☔ View full report in Codecov by Sentry. |
Description
This PR fixes #2250 for path constraint with an object as the constraint
link_name. The resolve constraint frames plugin works well for planning but the constraints are not propagated/computed for the path and state validation.Quick example to demonstrate the issue.
The end result is that some paths are valid which should not.
PR Information
The
resolved_contraint_framesplugin is removed because it is also needed byisPathValidandisStateValid. The constraint conversion is now done in the planning pipeline. The downside of this removal is that someone who only relies on constraints wrt. a link of the robot will have a small time penalty for checking if a conversion is necessary.