Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

BartlomiejK2
Copy link

Summary:

Fixed effort mapping for FourBarLinkageTransmission, related to #1746.

New equations for effort mapping meet the principles of conservation of energy.

Actuator to joint:

$$\tau_{j_1} = n_{j_1} n_{a_1} \tau_{a_1} + n_{a_2} \tau_{a_2}$$ $$\tau_{j_2} = n_{j_2} n_{a_2} \tau_{a_2}$$

Joint to actuator:

$$\tau_{a_1} = \frac{\tau_{j_1} - \tau_{j_2}/n_{j_2}} {n_{j_1} n_{a_1}}$$ $$\tau_{a_2} = \frac{\tau_{j_2}} {n_{j_2} n_{a_2}}$$

@bmagyar bmagyar added backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. backport-iron labels Nov 2, 2024
@bmagyar
Copy link
Member

bmagyar commented Nov 2, 2024

Could you provide a few further references for documentation please? Wikipedia works too

@BartlomiejK2
Copy link
Author

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 Remote second joint actuation model, and then used energy conservtion law to calculate torques. I could not derive them by itself. If needed, I can post derivation here.

Kinematic equations in original class are correct, only torques needs to be changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants