Fix the array size of biasprm in mjsActuator specification.

Note mjNBIAS == mjNGAIN, this change is a no-op.

PiperOrigin-RevId: 954712145
Change-Id: I096246e5d060596c4025ea4c23e8e9e887c8cd50
This commit is contained in:
Yuval Tassa
2026-07-27 10:44:47 -07:00
committed by Copybara-Service
parent e4d0a88ffd
commit c7b6e0b8dd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -718,7 +718,7 @@ typedef struct mjsActuator_ { // actuator specification
mjtGain gaintype; // gain type
double gainprm[mjNGAIN]; // gain parameters
mjtBias biastype; // bias type
double biasprm[mjNGAIN]; // bias parameters
double biasprm[mjNBIAS]; // bias parameters
// activation state
mjtDyn dyntype; // dynamics type
+1 -1
View File
@@ -492,7 +492,7 @@
X ( mjtGain, gaintype, 1 ) \
XVEC( double, gainprm, mjNGAIN ) \
X ( mjtBias, biastype, 1 ) \
XVEC( double, biasprm, mjNGAIN ) \
XVEC( double, biasprm, mjNBIAS ) \
X ( mjtDyn, dyntype, 1 ) \
XVEC( double, dynprm, mjNDYN ) \
X ( int, actdim, 1 ) \