casVector error thrown in exampleMocoTrack.py
Posted: Mon Sep 27, 2021 8:17 am
Hi there,
When trying to run the Moco example script, exampleMocoTrack.py included in the OpenSim docker container (https://hub.docker.com/r/stanfordnmbl/o ... st_updated) it seems to throw an error stating:
```std::exception in 'OpenSim::MocoSolution OpenSim::MocoTrack::solveAndVisualize()': casVector should be 1-dimensional, but has size 0 x 0.
Thrown at MocoCasOCProblem.h:108 in convertToSimTKVector().```
I am unsure why this is being thrown and/or how to correct it, especially since this is in an example script. I would appreciate any feedback on the issue.
Cheers,
Riley
When trying to run the Moco example script, exampleMocoTrack.py included in the OpenSim docker container (https://hub.docker.com/r/stanfordnmbl/o ... st_updated) it seems to throw an error stating:
```std::exception in 'OpenSim::MocoSolution OpenSim::MocoTrack::solveAndVisualize()': casVector should be 1-dimensional, but has size 0 x 0.
Thrown at MocoCasOCProblem.h:108 in convertToSimTKVector().```
I am unsure why this is being thrown and/or how to correct it, especially since this is in an example script. I would appreciate any feedback on the issue.
Cheers,
Riley