Increase mjNSENS to 3

PiperOrigin-RevId: 788468705
Change-Id: Id22f131bebb6accc9a29c9aa285efa75fa8b2c16
This commit is contained in:
Yuval Tassa
2025-07-29 08:37:08 -07:00
committed by Copybara-Service
parent 4575089f48
commit a771fc6c09
7 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -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',
),
+5 -5
View File
@@ -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(