CMC Tool
Posted: Wed Feb 25, 2015 11:49 am
Hello,
I am learning to use OpenSim for my thesis project, and I have problems with the tool CMC applied to the following models of upper limb: ``Upper Extremity Dynamic model (MoBL_ARMS_Upper_Limb_Model_OpenSim)'' ``Delft Shoulder and Elbow Model (das3_0)'' ``Dynamic Arm Simulator (DAS3)''.
I would use these three models of shoulder, already implemented in OpenSim, to evaluate muscle forces, providing as input a movement simulated in laboratory.
I do not yet have the file with the experimental kinematics; so I created a file ``.mot'' simulating a simple abduction movement (no external load). The file .mot provided is a matrix all whose entries are zero, whith the exception of the ``time'' column, and of the column corresponding to the abduction degree of freedom; the entries of this last column gradually increase from 0 to 90, both extremes included.
I provided as input to the tool CMC the following three files:
- the previous file .mot simulating the simple abduction movement (to be replaced with the file containing the
experimental kinematics, once available),
- the files ``Tasks.xml'' and ``Actuators.xml'', generated by copying the respective files of lower limb example
``Gait2354_Simbody'', and entering the coordinates of the joints of the upper limb model.
I applied the Tool CMC to each of the three models of upper limb ``'MoBL_ARMS_Upper_Limb_Model_OpenSim' ``das3_0'' ``DAS3'', and got the following results:
- ``'MoBL_ARMS_Upper_Limb_Model_OpenSim': it is suggested using the ``slow optimization target'' instead of the
``fast optimization target''. After the change, the tool printed the output files with the
results;
"`CMC.computeControls: WARN- The optimizer could not find a solution at time = 0.000000.
If using the fast target, try using the slow target.
Starting at a slightly different initial time may also help."'
- ``das3_0'': only the following error messages
"`CMC.computeControls: ERROR- Optimizer could not find a solution.
Unable to find a feasible solution at time = 0.5.
Model cannot generate the forces necessary to achieve the target acceleration.
Possible issues: 1. not all model degrees-of-freedom are actuated,
2. there are tracking tasks for locked coordinates, and/or
3. there are unnecessary control constraints on reserve/residual actuators."'
- ``DAS3'': the tool does not start calculating and does not report any error in the messages window.
Can someone tell me which mistakes I am making?
Is there someone who has already successfully applied the tool CMC to one of these models of upper limb? Which files were provided as input?
Providing as input a file .mot with many zeros can be a problem?
Sorry for the long post. Hope someone can help me.
Thank You,
Dalia
I am learning to use OpenSim for my thesis project, and I have problems with the tool CMC applied to the following models of upper limb: ``Upper Extremity Dynamic model (MoBL_ARMS_Upper_Limb_Model_OpenSim)'' ``Delft Shoulder and Elbow Model (das3_0)'' ``Dynamic Arm Simulator (DAS3)''.
I would use these three models of shoulder, already implemented in OpenSim, to evaluate muscle forces, providing as input a movement simulated in laboratory.
I do not yet have the file with the experimental kinematics; so I created a file ``.mot'' simulating a simple abduction movement (no external load). The file .mot provided is a matrix all whose entries are zero, whith the exception of the ``time'' column, and of the column corresponding to the abduction degree of freedom; the entries of this last column gradually increase from 0 to 90, both extremes included.
I provided as input to the tool CMC the following three files:
- the previous file .mot simulating the simple abduction movement (to be replaced with the file containing the
experimental kinematics, once available),
- the files ``Tasks.xml'' and ``Actuators.xml'', generated by copying the respective files of lower limb example
``Gait2354_Simbody'', and entering the coordinates of the joints of the upper limb model.
I applied the Tool CMC to each of the three models of upper limb ``'MoBL_ARMS_Upper_Limb_Model_OpenSim' ``das3_0'' ``DAS3'', and got the following results:
- ``'MoBL_ARMS_Upper_Limb_Model_OpenSim': it is suggested using the ``slow optimization target'' instead of the
``fast optimization target''. After the change, the tool printed the output files with the
results;
"`CMC.computeControls: WARN- The optimizer could not find a solution at time = 0.000000.
If using the fast target, try using the slow target.
Starting at a slightly different initial time may also help."'
- ``das3_0'': only the following error messages
"`CMC.computeControls: ERROR- Optimizer could not find a solution.
Unable to find a feasible solution at time = 0.5.
Model cannot generate the forces necessary to achieve the target acceleration.
Possible issues: 1. not all model degrees-of-freedom are actuated,
2. there are tracking tasks for locked coordinates, and/or
3. there are unnecessary control constraints on reserve/residual actuators."'
- ``DAS3'': the tool does not start calculating and does not report any error in the messages window.
Can someone tell me which mistakes I am making?
Is there someone who has already successfully applied the tool CMC to one of these models of upper limb? Which files were provided as input?
Providing as input a file .mot with many zeros can be a problem?
Sorry for the long post. Hope someone can help me.
Thank You,
Dalia