Replies: 1 comment
-
Hi @jariasn [1] I loaded a stripped down version of your example in brax with
Not that I lowered the timestep since the simulation was unstable at 0.01. [2] Which endpoint are you using with the visualizer? The Note that mesh collisions are not performant in Brax as per this README. We are actively working to speed these collisions up. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I was trying to simulate the collision between a teapot and a can. I run the simulation for about 30 time-steps but the objects don't collide with each other. However, the can and the teapot do collide with the plane. I checked the conaffinity and contype parameters, which should be correctly set.
https://github.com/google/brax/assets/64325659/2d27afea-670c-4d2e-b865-1403590943c7
The relevant XML file is:
To load this model, I use this script.
Another problem that I encountered when trying to load two bodies with
<geom type="mesh">
is that the simulation freezes and it starts consuming a lot of resources. It freezes at:This happens only when I try to simulate these bodies using the visualizer.py script. In order for me to visualize more than one body with
<geom type="mesh">
I need to use the HTML tool provided. Why can't I load them using the visualizer.py script? The XML I used is:If I comment out any of the two bodies, the simulation works without any problems.
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions