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
[Servo] Fix Twist transformation #2311
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2311 +/- ##
==========================================
+ Coverage 50.70% 50.73% +0.04%
==========================================
Files 386 386
Lines 31922 31958 +36
==========================================
+ Hits 16183 16212 +29
- Misses 15739 15746 +7
☔ 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.
Looks reasonable.
Got an unused variable failing CI here, but other small comments on naming and ... comments.
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.
The code looks great and I agree with @sea-bass's comments. Will test it now.
Here's a video with a twist command in panda_link8 frame, planning frame is panda_link0. There is a combo of rotation and translation, so that's good. I have to say that the translation is in the opposite direction of what I expected!? I made this test by modifying a few lines in |
The transformation pulled from TF2 was the wrong one , Also restored |
11fdaf0
to
be8860c
Compare
It looks exactly correct now. Nice work @ibrahiminfinite ! |
Description
Fixes #2150
Previous discussions on #2301
The problem had boiled down to:
This PR addresses the above by adding the option for proper twist conversion while preserving the existing method of twist conversion (which is wrong).
The selection is made using the parameter
apply_twist_commands_about_ee_frame
.@sea-bass
@AndyZe