I had issues getting my simulated robot to actuate with more than ~1-5 Nm on actuators that had torque limits (described in the MJCF via the forcerange parameter) on the order of ~70 Nm. Turned out that tuning the sigma_max argument when calling CrossEntropyMethodConfig() fixed the issue. I had assumed Judo would automatically scale its control signal ranges to match actuator limits, but it looks like this is not the case.
It might be good to have such an option, based on actuator limits from the MJCF, or at least make it clearer in the documentation that this needs to be tuned.
I had issues getting my simulated robot to actuate with more than ~1-5 Nm on actuators that had torque limits (described in the MJCF via the
forcerangeparameter) on the order of ~70 Nm. Turned out that tuning thesigma_maxargument when callingCrossEntropyMethodConfig()fixed the issue. I had assumed Judo would automatically scale its control signal ranges to match actuator limits, but it looks like this is not the case.It might be good to have such an option, based on actuator limits from the MJCF, or at least make it clearer in the documentation that this needs to be tuned.