google / brax

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

Load v1 configs in v2 for spring/positional backends #430

Closed benjamin-macadam closed 7 months ago

benjamin-macadam commented 7 months ago

Hi there,

Related to my question in [https://github.com/google/brax/discussions/396](the discussion section), is there any way to load a config from the v1 format for the spring/positional backends? A way to translate that format to mujoco would be equally good.

btaba commented 7 months ago

You can use brax.v1

For MJ format, use the current brax version