What are realize_ functions?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
William A
Posts: 21
Joined: Thu Feb 16, 2017 10:02 am

What are realize_ functions?

Post by William A » Mon Feb 24, 2020 10:16 pm

Hi All,

What are the differences between the following functions and when are they used?
1) realizeAcceleration()
2) realizeDynamics()
3) realizePosition()
4) realizeReport()

PS: I want to store all the states during the forward integration. Are these functions needed to do that?

Thanks,
William

Tags:

User avatar
Michael Sherman
Posts: 807
Joined: Fri Apr 01, 2005 6:05 pm

Re: What are realize_ functions?

Post by Michael Sherman » Mon Feb 24, 2020 11:18 pm

Those functions ensure that the named computations have been performed at the current state. For example,
realizePosition() ensures that body poses are available (that is, position kinematics calculations have been performed mapping the state variables to Cartesian locations and orientations). "Dynamics" here means force calculations, and "Report" means everything is calculated (so you can "report" the results).

Each of these takes the state as input so none are necessary if all you want to do is store the state.

Regards,
Sherm

POST REPLY