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
Have you tried using the damping and spring_stiffness parameters in the <dynamics> tag of a joint axis (http://sdformat.org/spec?ver=1.11&elem=joint#axis_dynamics)? I believe those work for prismatic joints, so I don't see the value of adding a separate system to simulate this.
Desired behavior
Simulating spring-damper physics on prismatic joint. https://en.wikipedia.org/wiki/Mass-spring-damper_model. In Gazebo classic it was implemented by modifying ODE parameters https://github.com/arpg/Gazebo/blob/master/test/worlds/spring_damper_test.world, but I can't get it to work on gz-sim. A similar issue was posted in #1961, but instead of modifying the physics, I suggest adding a system plugin to simulate this.
Implementation suggestion
JointPosition
andJointVelocity
for prismatic jointJointForceCmd
to the joint entity with spring-damper equationThe text was updated successfully, but these errors were encountered: