Replies: 1 comment
-
I'm still getting NaN when my robot contacts the ground after falling from 4m, even with dt=0.001. However, it wasn't an issue with rigidoptions.dt because I just had a bug where I wasn't doing enough sim steps to let the robot touch the floor at the lower dt setting. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the difference between
SimOptions.dt
andRigidOptions.dt
whenSimOptions.substeps
is not 1? My simulation was crashing (all state variables like .get_pos() become NaN) when my robot contacted the ground at higher velocities (5m/s) withSimOptions(dt=0.02, substeps=20)
andRigidOptions(dt=0.02)
but no crashes withSimOptions(dt=0.001, substeps=1)
andRigidOptions(dt=0.001)
. Surely this is a bug? ShouldRigidOptions.dt == SimOptions.dt/substeps
?Beta Was this translation helpful? Give feedback.
All reactions