erwincoumans / tiny-differentiable-simulator

Tiny Differentiable Simulator is a header-only C++ and CUDA physics library for reinforcement learning and robotics with zero dependencies.
Apache License 2.0
1.2k stars 129 forks source link

Support for prismatic series elastic actuator? #61

Closed nyxaria closed 3 years ago

nyxaria commented 3 years ago

Hi, is it possible to model a prismatic joint which has a spring and can be supplied force via a linear elastic actuator?

Thank you!

erwincoumans commented 3 years ago

You can add a prismatic joint (supported in urdf) and use a PD controller on it.