Using getMatterSubsystem
Posted: Mon Mar 19, 2018 7:20 am
Hello all
I'm trying to use the call getTotalCentrifugalForces to attain the force contribution from Coriolis and centrifugal forces on a model through the MATLAB API.
I understand that this function and several other SimBody commands need to be called on a MatterSubsystem through getMatterSubsystem. However, any Matter Subsystem I acquire does not seem to have any corresponding methods that can be called from it such as getMatterSubsystem or getMobilizedBody for example.
The variable type also comes out to be: '1x1 SWIGTYPE_p_SimTK__SimbodyMatterSubsystem', which is suggesting to me that it's not being properly recognised by my MATLAB configuration for OpenSim.
Is it possibly I've missed a conficuration step for some of the more advanced API of SimBody? Or am I simply not accessing the Matter Subsystem in the correct way?
Cheers
I'm trying to use the call getTotalCentrifugalForces to attain the force contribution from Coriolis and centrifugal forces on a model through the MATLAB API.
I understand that this function and several other SimBody commands need to be called on a MatterSubsystem through getMatterSubsystem. However, any Matter Subsystem I acquire does not seem to have any corresponding methods that can be called from it such as getMatterSubsystem or getMobilizedBody for example.
The variable type also comes out to be: '1x1 SWIGTYPE_p_SimTK__SimbodyMatterSubsystem', which is suggesting to me that it's not being properly recognised by my MATLAB configuration for OpenSim.
Is it possibly I've missed a conficuration step for some of the more advanced API of SimBody? Or am I simply not accessing the Matter Subsystem in the correct way?
Cheers