google / brax

Massively parallel rigidbody physics simulation on accelerator hardware.
Apache License 2.0
2.14k stars 234 forks source link

Equality Constraints #419

Closed brn-dev closed 7 months ago

brn-dev commented 8 months ago

Does Brax have something similar to MuJoCos equality constraints (https://mujoco.readthedocs.io/en/latest/computation/index.html#equality) where two bodies can be welded together to suppress all relative degrees of freedom between them? If so, how would setting up such a constraint look?

btaba commented 7 months ago

Hi @brn-dev , Brax physics backends do not have equality constraints implemented, but they are implemented in https://github.com/google-deepmind/mujoco/tree/main/mjx currently