We used several methods of SimBody APIs to control our OpenSim model.
The functions we used in C++ programming were like followings:
- _model->getMultibodySystem().realize
_model->getMatterSubsystem().calcResidualForceIgnoringConstraints
_model->getMatterSubsystem().multiplyBySystemJacobianTranspose
_model->getMatterSubsystem().calcM
_model->getForceSet
MobilizedBody& findFrameTransforminGround
MobilizedBody& findFrameVelocityInGround
_model->getMatterSubsystem().calcStationJacobian
_model->getMatterSubsystem().calcFrameJacobian
_model->getMatterSubsystem().multiplyByMInv
_model->getMatterSubsystem().calcBiasForStationJacobian
_model->getMatterSubsystem().calcBiasForFrameJacobian
Unfortunately, we have not succeeded in MEX programing until today.
Thank you
Hide