Prevent division by zero in Ornstein–Uhlenbeck control noise.

PiperOrigin-RevId: 498753494
Change-Id: Ib43e165a4da524c12fab4ea05848b084b2e7713c
This commit is contained in:
Kevin Zakka
2022-12-31 10:28:11 -08:00
committed by Copybara-Service
parent eb8389fead
commit a173e01f42
4 changed files with 7 additions and 2 deletions
+1
View File
@@ -737,6 +737,7 @@ Euler integrator, semi-implicit in velocity.
def test_float_constant(self):
self.assertEqual(mujoco.mjMAXVAL, 1e10)
self.assertEqual(mujoco.mjMINVAL, 1e-15)
def test_string_constants(self):
self.assertLen(mujoco.mjDISABLESTRING, mujoco.mjtDisableBit.mjNDISABLE)