Scaling fails in Matlab
Posted: Fri Jul 31, 2020 5:27 am
Dear OpenSim users,
I am trying to use the thoracoscapular model. However, when I scale the model in the GUI, the humerus and radius are not attached anymore in my scaled model. Does anybody know how to fix this? I have unlocked all coordinates of the original model. Also, when I scale this model through Matlab I get the following error after initializing the system or using the scaling tool:
It also says that the model is not recognized:Object::newInstanceOfType(): object type 'ScapulothoracicJoint' is not a registered Object!
Object type ScapulothoracicJoint not recognized
Thank you in advance for any advice.
Kind regards,
Maud
I am trying to use the thoracoscapular model. However, when I scale the model in the GUI, the humerus and radius are not attached anymore in my scaled model. Does anybody know how to fix this? I have unlocked all coordinates of the original model. Also, when I scale this model through Matlab I get the following error after initializing the system or using the scaling tool:
Is there a way to fix this in the model?Body 'scapula' not connected by a Joint.
A FreeJoint will be added to connect it to ground.
Java exception occurred:
java.io.IOException: Attempting to assign an invalid SimTK::MobilizedBodyIndex
In Object 'cp_in_clavicle' of type PhysicalOffsetFrame.
Thrown at PhysicalFrame.cpp:73 in setMobilizedBodyIndex().
at org.opensim.modeling.opensimSimulationJNI.Model_initSystem(Native Method)
at org.opensim.modeling.Model.initSystem(Model.java:848)
It also says that the model is not recognized:Object::newInstanceOfType(): object type 'ScapulothoracicJoint' is not a registered Object!
Object type ScapulothoracicJoint not recognized
Thank you in advance for any advice.
Kind regards,
Maud