-
Notifications
You must be signed in to change notification settings - Fork 344
Fix fourbarlinkage #1837
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 fourbarlinkage #1837
Conversation
Could you provide a few further references for documentation please? Wikipedia works too |
Unfortunately, I can not find any documentation other than original FourBarLinkageTransmission doxygen documentation, in which this class is the same as one in ros2-control transmission. To calculate torques, I derived velocity equations for Kinematic equations in original class are correct, only torques needs to be changed. |
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. |
Hi @bmagyar and @christophfroehlich , to this day I have not found any official derivation for Using two link system (from here) I derive jacobians for joints and actuators: Joint Jacobian: Actuator Jacobian (written using joint positions for simplicity): Using equation for calculating static torques from external forces: We get: Which is exactly what I've derived in the first comment of this pull request. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1837 +/- ##
==========================================
- Coverage 88.95% 88.93% -0.03%
==========================================
Files 143 143
Lines 16485 16484 -1
Branches 1425 1425
==========================================
- Hits 14665 14660 -5
- Misses 1270 1272 +2
- Partials 550 552 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
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.
Let's roll this out, thank you for the details on the derivation!
(cherry picked from commit f70a4c1)
(cherry picked from commit f70a4c1)
Summary:
Fixed effort mapping for FourBarLinkageTransmission, related to #1746.
New equations for effort mapping meet the principles of conservation of energy.
Actuator to joint:
Joint to actuator: