Currently, there's a hard-coded limit of 1000 elements in each keyframe attribute. Given that MuJoCo is easily able to simulate models with model.nq > 1000 (for example 100_humanoids.xml has model.nq == 2800), it would be convenient that the keyframes also supported larger values for qpos etc.
Alternatives
Make the model smaller, change the hard-coded values and compile MuJoCo from scratch, or set simulation states programmatically instead of through xml.
The feature, motivation and pitch
Currently, there's a hard-coded limit of 1000 elements in each keyframe attribute. Given that MuJoCo is easily able to simulate models with
model.nq > 1000
(for example100_humanoids.xml
hasmodel.nq == 2800
), it would be convenient that the keyframes also supported larger values forqpos
etc.Alternatives
Make the model smaller, change the hard-coded values and compile MuJoCo from scratch, or set simulation states programmatically instead of through xml.
Additional context
No response