Increase mjNSENS to 3
PiperOrigin-RevId: 788468705 Change-Id: Id22f131bebb6accc9a29c9aa285efa75fa8b2c16
This commit is contained in:
committed by
Copybara-Service
parent
4575089f48
commit
a771fc6c09
@@ -10408,7 +10408,7 @@ STRUCTS: Mapping[str, StructDecl] = dict([
|
||||
name='intprm',
|
||||
type=ArrayType(
|
||||
inner_type=ValueType(name='int'),
|
||||
extents=(2,),
|
||||
extents=(3,),
|
||||
),
|
||||
doc='integer parameters',
|
||||
),
|
||||
|
||||
@@ -1338,7 +1338,7 @@ class SpecsTest(absltest.TestCase):
|
||||
objtype=mujoco.mjtObj.mjOBJ_GEOM,
|
||||
objname='sphere1',
|
||||
dim=1,
|
||||
intprm=[0, 0],
|
||||
intprm=[0, 0, 0],
|
||||
),
|
||||
),
|
||||
dict(
|
||||
@@ -1351,7 +1351,7 @@ class SpecsTest(absltest.TestCase):
|
||||
objtype=mujoco.mjtObj.mjOBJ_GEOM,
|
||||
objname='sphere1',
|
||||
dim=1,
|
||||
intprm=[1 << 10, 0],
|
||||
intprm=[1 << 10, 0, 0],
|
||||
),
|
||||
),
|
||||
dict(
|
||||
@@ -1364,7 +1364,7 @@ class SpecsTest(absltest.TestCase):
|
||||
objtype=mujoco.mjtObj.mjOBJ_GEOM,
|
||||
objname='sphere1',
|
||||
dim=1,
|
||||
intprm=[(1 << 10) | 1, 0],
|
||||
intprm=[(1 << 10) | 1, 0, 0],
|
||||
),
|
||||
),
|
||||
dict(
|
||||
@@ -1376,7 +1376,7 @@ class SpecsTest(absltest.TestCase):
|
||||
objtype=mujoco.mjtObj.mjOBJ_GEOM,
|
||||
objname='sphere1',
|
||||
dim=2,
|
||||
intprm=[2, 0], # force (size 3)
|
||||
intprm=[2, 0, 0], # force (size 3)
|
||||
),
|
||||
),
|
||||
dict(
|
||||
@@ -1386,7 +1386,7 @@ class SpecsTest(absltest.TestCase):
|
||||
objtype=mujoco.mjtObj.mjOBJ_GEOM,
|
||||
objname='sphere1',
|
||||
dim=1,
|
||||
intprm=[1, 4],
|
||||
intprm=[1, 4, 0],
|
||||
),
|
||||
),
|
||||
dict(
|
||||
|
||||
Reference in New Issue
Block a user