Change tolerances for ellipsoid-capsule and ellipsoid-sphere collision tests in MJX.
PiperOrigin-RevId: 689301610 Change-Id: I86be65524d13a19abd0b378b0933a5fbbe0ecab8
This commit is contained in:
committed by
Copybara-Service
parent
7620aef530
commit
ca348632a9
@@ -263,7 +263,7 @@ class EllipsoidCollisionTest(parameterized.TestCase):
|
||||
self.assertLess(dx.contact.dist[0], 0)
|
||||
for field in dataclasses.fields(Contact):
|
||||
_assert_attr_eq(
|
||||
dx.contact, d.contact, field.name, 'ellipsoid-sphere', 1e-4)
|
||||
dx.contact, d.contact, field.name, 'ellipsoid-sphere', 1e-3)
|
||||
|
||||
_ELLIPSOID_CAPSULE = """
|
||||
<mujoco>
|
||||
@@ -285,7 +285,7 @@ class EllipsoidCollisionTest(parameterized.TestCase):
|
||||
self.assertLess(dx.contact.dist[0], 0)
|
||||
for field in dataclasses.fields(Contact):
|
||||
_assert_attr_eq(
|
||||
dx.contact, d.contact, field.name, 'ellipsoid-capsule', 1e-4)
|
||||
dx.contact, d.contact, field.name, 'ellipsoid-capsule', 1e-3)
|
||||
|
||||
_ELLIPSOID_CYLINDER = """
|
||||
<mujoco>
|
||||
|
||||
Reference in New Issue
Block a user