-
Notifications
You must be signed in to change notification settings - Fork 553
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
Fix penalty calculation in constraints cost function in STOMP #2631
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Dongya Jiang <jiangdongya@xiaoyubot.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2631 +/- ##
==========================================
- Coverage 50.99% 50.63% -0.36%
==========================================
Files 387 386 -1
Lines 32308 32133 -175
==========================================
- Hits 16473 16267 -206
- Misses 15835 15866 +31 ☔ 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.
I am a little bit conflicted about this change. I agree, that states that satisfy the constraints should not render states or trajectories invalid. At the same time, it would be great if we could still continue optimizing for constraints within the space. This change would probably result in many solutions that just barely satisfy the constraints since they stop optimizing at the constraint boundaries. Considering, that the current cost function categorizes non-zero costs as invalid, I'll approve this change. But at the same time I would be very interested in follow-ups that would support explicit cost thresholding to catch this case instead.
Can you add a NOTE referencing this issue? #2658
This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete. |
This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete. |
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 @@
## main #2631 +/- ##
==========================================
- Coverage 50.99% 50.63% -0.36%
==========================================
Files 387 386 -1
Lines 32308 32133 -175
==========================================
- Hits 16473 16267 -206
- Misses 15835 15866 +31 ☔ View full report in Codecov by Sentry. |
Description
@henningkayser
I mentioned this issue here: #2554 (comment)
I can't plan in STOMP with joint constrants.
I think the penalty result for constraints cost function should be
0.0
whenConstraintEvaluationResult.satisfied
istrue
Checklist