Skip to content

Brax vs DMC Swimmer Example #308

Answered by btaba
andrewwarrington asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @andrewwarrington, thanks for using brax!

We currently have a generalized physics engine similar to mujoco implemented in v2, example notebook.

We haven't implemented swimmer yet because we haven't added the viscosity term you mentioned. Otherwise the generalized backend would be quite similar to Mujoco if you wanted to implement swimmer. Here's an example for Ant - notice we read from a Mujoco xml.

As far as the other physics backends, spring and positional, the physics steps are very different in how they resolve constraints. You'll notice in v1 brax, there are two system configs, one for spring and one for pbd. Spring uses springs to resolve constraints (hence damping/stiffness), wh…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by andrewwarrington
Comment options

You must be logged in to vote
2 replies
@btaba
Comment options

@andrewwarrington
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants