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:
committed by
Copybara-Service
parent
e4d0a88ffd
commit
c7b6e0b8dd
@@ -2240,7 +2240,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 ) \
|
||||
|
||||
Reference in New Issue
Block a user