You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a model with a few revolute joints and links.
At the last link, add another (payload) link with a fixed joint.
Place an F/T sensor at the fixed joint.
Add a joint position controller system to control the position of one of the revolute joints using joint force commands (PID).
Start the simulation and wait for the model to reach steady state.
Check published F/T sensor value.
Expected value of force: weight of the attached payload link in the sensor frame.
Actual value of force: different from above, and magnitude is larger than the weight of the payload link.
You can test this with this sdf file: fixed_joint_ft_sensor_bullet.sdf.txt. Run gz sim and wait for steady state. Then check /ft_sensor/wrench topic for F/T values. Expected force is [0 0 -9.8], but the published value is [0 -0.34 -13.85].
Note that the bug only occurs when using bullet-featherstone and not for dartsim. Also, if a joint velocity command is used instead of joint force command to control the joint position (uncomment the second joint position controller plugin in the sdf), then the bug does not occur.
The text was updated successfully, but these errors were encountered:
Is this related to bulletphysics/bullet3#4451? Perhaps we can use the python file there to test without gz-physics to see if it's an issue in Bullet or gz-physics.
Is this related to bulletphysics/bullet3#4451? Perhaps we can use the python file there to test without gz-physics to see if it's an issue in Bullet or gz-physics.
Its possible that this is a related issue in bullet. I'll try to test with the python file this week before I am OOO.
looks like the bug could be related to bulletphysics/bullet3#2966. I tested bullet (master branch) with the patch posted in bulletphysics/bullet3#2966 (comment) and I now get reasonable values ([0 0 -9.8]) in the fixed_joint_ft_sensor_bullet.sdf world
Repro steps:
Expected value of force: weight of the attached payload link in the sensor frame.
Actual value of force: different from above, and magnitude is larger than the weight of the payload link.
You can test this with this sdf file:
fixed_joint_ft_sensor_bullet.sdf.txt. Run gz sim and wait for steady state. Then check
/ft_sensor/wrench
topic for F/T values. Expected force is[0 0 -9.8]
, but the published value is[0 -0.34 -13.85]
.Note that the bug only occurs when using bullet-featherstone and not for dartsim. Also, if a joint velocity command is used instead of joint force command to control the joint position (uncomment the second joint position controller plugin in the sdf), then the bug does not occur.
The text was updated successfully, but these errors were encountered: