Replies: 3 comments
-
No, we do this motor modeling outside of PyBullet. |
Beta Was this translation helpful? Give feedback.
-
Now I realize you can simulate flexible joints using PyBullet.createUserConstraint. You can create a 'fixed' constraint with a limited force, to mimic a flexible joint. In addition to the fixed constraint, you can also model 'gears', which couple joint angles between joints. As you set a small maximal torque, those connections become flexible. Please let me know if that helps or not. |
Beta Was this translation helpful? Give feedback.
-
I'd like to adjust the stiffness and damping coefficients for a project I'm working on, would it be possible to expose these using something like the p.changeConstraint()? or is this already exposed through the erp parameter? Thanks |
Beta Was this translation helpful? Give feedback.
-
Can one simulate flexible joints using Pybullet? More concretely can one simulate two joints that are coupled by a massless spring? Therefore, the torque for the coupled joint would be modelled as
\tau_{motor} = J_{motor} qdd_{motor} + K (q_{joint} - q_{motor})
\tau_{joint} = K (q_{joint} - q_{motor})
where \tau is the motor / joint torque and q, qd, qdd are the joint / motor positions, velocities and accelerations. One could simulate the motor outside of PyBullet, but this risks that the integration of qdd_{motor} and qdd_{joint} would diverge and yield "unrealistic" simulations.
Beta Was this translation helpful? Give feedback.
All reactions