Add clamping for SO3 and SE3#96
Conversation
|
Hi @adlarkin, started an internship and am pretty slammed. Will review on the weekend! |
|
Hey @kevinzakka, just checking in - would you still be interested in giving this a look when you have the time? |
|
Hi @adlarkin, apologies for the delay! I've been at RSS demoing my work and attending the conference so got super busy. I’ll review this in the next few days. Thanks so much for your patience—and again, sorry for the wait! |
|
Thanks Kevin, no rush (it slipped my mind as well) - hope you enjoy RSS! |
|
Just two cents coming long after the initial PR 😊 but if I understand the task correctly it is the target pose that is constrained, with clamped translation and rotation? If so, maybe "ConstrainedPoseTask" or "ClampedPoseTask" could be more accurate names than "PoseConstraintTask"? One concern with the expression "constraint task" is that it combines the words constraint and task, which in this context can also be used to distinguish between enforcing a (hard) constraint (QP equality constraint) versus a soft one (task expressed in the QP cost function). |
|
Hey @stephane-caron, thanks for chiming in! Your concern makes sense, I think it would be worth renaming this to However, after taking another look at this, I think there is even a simpler approach - currently, the task proposed in this PR is the same as the
@kevinzakka thoughts on this? I can follow-up here with this change if you think it's worthwhile. |
I implemented this approach in 3976f0f. If we want to keep this new approach (it's a lot simpler!), I will update the PR title/description and mark #96 (comment) as resolved. |
kevinzakka
left a comment
There was a problem hiding this comment.
Thank you @adlarkin, new changes look wonderful.
06d9d2c to
0709d20
Compare
|
Hi @adlarkin, can you rebase to the latest |
5153b3f to
0ee2f9e
Compare
|
Done! Looks like all tests are passing now 🙂 |
|
Woohoo, nice @adlarkin ! |
* PoseConstraintTask implementation * make clamping a function for SO3 and SE3, remove PoseConstraintTask * docstring format fix, typo
Closes #91
Add clamping to SO3 and SE3, which can be used to clamp pose targets for things like a frame task to emulate constraints on the end-effector.