Skip to content

Commit e537a6a

Browse files
nimrod-gileadicopybara-github
authored andcommitted
Explicitly specify actdim on PID plugin actuators, to allow them to be used with keyframes.
Support actdim attribute on plugin actuators. Remove the actuator_actdim callback. This callback leads to crashes when loading keyframes for models that have a stateful plugin. PiperOrigin-RevId: 650649505 Change-Id: I0171a75927a895b5f1a19f69244a17f2da801bcd
1 parent f4ecec8 commit e537a6a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dm_control/mjcf/schema.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,6 +2167,7 @@
21672167
<attribute name="forcerange" type="array" array_type="float" array_size="2"/>
21682168
<attribute name="actrange" type="array" array_type="float" array_size="2"/>
21692169
<attribute name="lengthrange" type="array" array_type="float" array_size="2"/>
2170+
<attribute name="actdim" type="int"/>
21702171
<attribute name="dyntype" type="keyword" valid_values="none integrator filter filterexact muscle user"/>
21712172
<attribute name="dynprm" type="array" array_type="float" array_size="10"/>
21722173
<attribute name="gear" type="array" array_type="float" array_size="6"/>

0 commit comments

Comments
 (0)