Trouble running MocoTrack in implicit mode?
Posted: Thu Sep 09, 2021 7:42 am
Hello,
I'm trying to run the MocoTrack tool for a problem in implicit mode using Matlab, but am running in to this error:
To enter implicit mode, I've been using the following:
Has anyone else run in to this problem, or is anyone a bit more familiar with the error message to point me in the right direction?
Cheers
I'm trying to run the MocoTrack tool for a problem in implicit mode using Matlab, but am running in to this error:
The same code when run in explicit mode seems to work fine and produces a solution in 70-100 iterations or so.java.lang.RuntimeException: casVector should be 1-dimensional, but has size 0 x 0.
Thrown at MocoCasOCProblem.h:108 in convertToSimTKVector().
To enter implicit mode, I've been using the following:
Code: Select all
solver = MocoCasADiSolver.safeDownCast(study.updSolver());
solver.set_multibody_dynamics_mode('implicit');
Cheers