Forward dynamics using ID/RRA
Posted: Thu Nov 10, 2016 5:15 am
Hello,
I was wondering if it's possible to compute forward dynamics using joint torques rather than muscle activations, using either the output from the inverse dynamics tool or the RRA tool (substituting the RRA actuators/controls/states file in place of the usual CMC files). I had assumed this would be possible but am unable to produce a stable simulation using these inputs, while inputs from CMC work fine. I'll describe what I've tried to do below so that the problem is clear.
I'm using the 23 dof 54 muscle model and I have walking data and ground reaction forces. I scale the model and compute an IK solution, then perform RRA. The RRA residuals look reasonable. I then compute CMC from the RRA results. Then, I feed both the RRA and the CMC in to a forward dynamic simulation (separately).
Using the CMC controls/states as input results in a stable forward simulation of 1.5s. Using the RRA controls/states etc the simulation 'goes crazy' after just a few time steps. This doesn't really make sense to me, since the CMC is calculated from the RRA, so they should result in the same effect when simulated forward?
Also, just to note, I've tried changing the integrator settings but to no avail. Even at the finest of settings the forward simulation using RRA becomes unstable almost immediately.
Any help you could provide would be much appreciated.
Cheers,
Daniel
I was wondering if it's possible to compute forward dynamics using joint torques rather than muscle activations, using either the output from the inverse dynamics tool or the RRA tool (substituting the RRA actuators/controls/states file in place of the usual CMC files). I had assumed this would be possible but am unable to produce a stable simulation using these inputs, while inputs from CMC work fine. I'll describe what I've tried to do below so that the problem is clear.
I'm using the 23 dof 54 muscle model and I have walking data and ground reaction forces. I scale the model and compute an IK solution, then perform RRA. The RRA residuals look reasonable. I then compute CMC from the RRA results. Then, I feed both the RRA and the CMC in to a forward dynamic simulation (separately).
Using the CMC controls/states as input results in a stable forward simulation of 1.5s. Using the RRA controls/states etc the simulation 'goes crazy' after just a few time steps. This doesn't really make sense to me, since the CMC is calculated from the RRA, so they should result in the same effect when simulated forward?
Also, just to note, I've tried changing the integrator settings but to no avail. Even at the finest of settings the forward simulation using RRA becomes unstable almost immediately.
Any help you could provide would be much appreciated.
Cheers,
Daniel