Remove gainprm trailing dimension in test_actuator_shortname.
PiperOrigin-RevId: 853243753 Change-Id: Ia46df64a2308ef0bbc94a396f0732e221e174ea0
This commit is contained in:
committed by
Copybara-Service
parent
5be6f262b2
commit
5febca9eeb
@@ -1323,7 +1323,7 @@ class SpecsTest(absltest.TestCase):
|
||||
def test_actuator_shortname(self):
|
||||
spec = mujoco.MjSpec()
|
||||
actuator = spec.add_actuator(
|
||||
gainprm=np.zeros((10, 1)),
|
||||
gainprm=np.zeros((10,)),
|
||||
dyntype=mujoco.mjtDyn.mjDYN_FILTER,
|
||||
gaintype=mujoco.mjtGain.mjGAIN_AFFINE,
|
||||
biastype=mujoco.mjtBias.mjBIAS_AFFINE,
|
||||
|
||||
Reference in New Issue
Block a user