-
Notifications
You must be signed in to change notification settings - Fork 864
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
Measuring the torque in a joint with sensor? #1095
Comments
You need to define more accurately what you mean by "torque in a joint". You could mean:
Which is it? |
Hi, by torque in joint, I’m referring to second point. I would like to measure the torque within the joint due to external force. |
What do you mean "external force"? Not including the actuator or including the actuator? Also, are you using C++ or Python? |
The joint is a position-controlled joint, like the knees' joint of OP3, and I want to monitor the variation of torque generated by the actuator when an external force is applied to the joint in the opposite direction, resisting the movement. So it should include the actuator? For example, in the paper of the OP3, inside the reward, there is a penalty, equal to the magnitude of the torque measured at the player’s knees. This discourages the player from learning gaits which cause high forces on the knees, for example during ground impacts, which can damage a physical robot. And, I'm using python. |
|
Hi i just curiosity whats the difference bewteen: data.joint("my_joint").qfrc_constraint + data.joint("my_joint").qfrc_smooth; |
Hi Ziqiao, I found a post somewhat related to your question. Have you figured out? Also, I found out qfrc_unc listed on the above forum was renamed to qfrc_smooth in 2022. So qfrc_unc + qfrc_constraint = qfrc_smooth + qfrc_constraint |
Hi,
I'm a student and I'm trying to use MuJoCo for sim2real of a gripper.
I'm looking for some help with measuring the torque in a joint.
Here is my question:
I would like to measure the joint torque for the gripper, like what you did in OP3 where you measured the joint torque as a penalty. Did you add a force-torque sensor to the joint or there is a different way of measuring it? Would you mind providing me with a short example or a guide for measuring the torque of a joint? THANKS!
The text was updated successfully, but these errors were encountered: