Page 1 of 1

Controller stepsize in Forward dynamics

Posted: Mon Aug 01, 2022 5:45 am
by yuichiro1929729
Hi,
In the forward dynamics of OpenSim, I understand that an integrator integrates with variable stepsize based on parameters (e.g., maximum step size, minimum step size, and accuracy) in simulations.
Is the controller step size the same as the integrator step size, which means the controller outputs muscle activation in each step?
If so, is the frequency of the controller's control not constant?

Best regards,
Yuichiro

Re: Controller stepsize in Forward dynamics

Posted: Mon Aug 01, 2022 9:47 am
by tkuchida
If you're using a controller implemented as a plug-in, the plug-in developer may have included a delay, zero-order hold, etc. However, by default, the control signals will be computed at each integration time step.