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

Defining fext in Inverse Dynamics #67

Open
KareemSedky opened this issue Aug 26, 2022 · 0 comments
Open

Defining fext in Inverse Dynamics #67

KareemSedky opened this issue Aug 26, 2022 · 0 comments

Comments

@KareemSedky
Copy link

KareemSedky commented Aug 26, 2022

Hi,
I am trying to define the fext that is applied on the robot by taking in the readings from the ft_sensors and passing it directly to the Inverse Dynamics function.
It seems like there is an issue with defining it this way, as the result of the Inverse dynamics looks so high.
In the documentation it states forces in base coordinate, how can I transform them.

 fext[left_foot_sole][0] = left_ft_sensor.wrench.torque.x;
fext[left_foot_sole][1] = left_ft_sensor.wrench.torque.y;
fext[left_foot_sole][2] = left_ft_sensor.wrench.torque.z;
fext[left_foot_sole][3] = left_ft_sensor.wrench.force.x;
fext[left_foot_sole][4] = left_ft_sensor.wrench.force.y;
fext[left_foot_sole][5] = left_ft_sensor.wrench.force.z;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant