CMC keeps Failing
Posted: Sun Mar 03, 2024 6:04 am
I have been trying to get CMC done on my model but it is failing again and again. I'm using the CMC xml files as it is that came with the parent model.
For the input, I'm giving the following files
1. RRAScaled osim model
2. The respective grf xml file
3. CMC actuator xml
4. CMC task xml
5. CMC constarints xml
6. RRA Kinematics q
The tool first throws a warning as following for a lot of muscles
CMC::Warning: CMC cannot compute controls for muscles with muscle controls < 0.02.
The minimum control limit for muscle 'Muscle Name' has been reset to 0.02.
For the same muscles it then throws the following warning
CMC::computeControls WARNING- small force range for muscle (constant_number to constant_number)
It then fails citing the following reasons :
SimTK Exception thrown at InteriorPointOptimizer.cpp:261:
Optimizer failed: Ipopt: Maximum iterations exceeded (status -1)
OPTIMIZATION FAILED...
CMC.computeControls: ERROR- Optimizer could not find a solution.
Unable to find a feasible solution at time = 0.
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.
I need to get the CMC working anyhow, can anyone help?
For the input, I'm giving the following files
1. RRAScaled osim model
2. The respective grf xml file
3. CMC actuator xml
4. CMC task xml
5. CMC constarints xml
6. RRA Kinematics q
The tool first throws a warning as following for a lot of muscles
CMC::Warning: CMC cannot compute controls for muscles with muscle controls < 0.02.
The minimum control limit for muscle 'Muscle Name' has been reset to 0.02.
For the same muscles it then throws the following warning
CMC::computeControls WARNING- small force range for muscle (constant_number to constant_number)
It then fails citing the following reasons :
SimTK Exception thrown at InteriorPointOptimizer.cpp:261:
Optimizer failed: Ipopt: Maximum iterations exceeded (status -1)
OPTIMIZATION FAILED...
CMC.computeControls: ERROR- Optimizer could not find a solution.
Unable to find a feasible solution at time = 0.
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.
I need to get the CMC working anyhow, can anyone help?