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

Effort Mapping of FourBarLinkageTransmission #1746

Open
qiayuanl opened this issue Sep 6, 2024 · 1 comment
Open

Effort Mapping of FourBarLinkageTransmission #1746

qiayuanl opened this issue Sep 6, 2024 · 1 comment
Labels

Comments

@qiayuanl
Copy link

qiayuanl commented Sep 6, 2024

Describe the bug
The effort mapping between the joint and actuator of transmission_interface::FourBarLinkageTransmission is wrong!

Velocity from actuator to joint:
image

Effort from actuator to joint:
image

Consider a simple example with all reduction ratios becoming one and zero offsets:
Actuator side:
$\dot{x_a}_1=1$, $\dot{x_a}_2=0$, and $\dot{\tau_a}_1=0$, $\dot{\tau_a}_2=1$
Joint side:
$\dot{x_j}_1=\dot{x_a}_1=1$, $\dot{x_j}_2=\dot{x_a}_2-\dot{x_a}_1=-1$, and $\dot{\tau_j}_1=0$, $\dot{\tau_j}_2=\dot{\tau_a}_2-\dot{\tau_a}_1=-1$
The energy is not conserved:
$|\dot{x_a}_1\times \dot{\tau_a}_1| + |\dot{x_a}_2\times \dot{\tau_a}_2| = 0+0 \neq = 0+1 = |\dot{x_j}_1\times \dot{\tau_j}_1| + |\dot{x_j}_2\times \dot{\tau_j}_2|$

The correct mapping derived by Jacobian is:
$\dot{\tau_j}_1= \dot{\tau_a}_1 + \dot{\tau_a}_2$ and $\dot{\tau_j}_2= \dot{\tau_a}_2$

Environment (please complete the following information):

  • OS: Any
  • Version Any
@christophfroehlich
Copy link
Contributor

Could you please open a PR fixing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants