Page 1 of 1

Accessing MocoControlTrackingGoal in Matlab API

Posted: Thu Mar 12, 2020 12:02 pm
by pavlossilv
Hello all,

We are trying to track kinematics using MocoTrack whilst also tracking experimental excitations. To track the excitations we have tried to use MocoControlTrackingGoal in the Matlab API but the Class is not recognised in Matlab once the command is called.

It this class not implemented yet or am I missing something? I have tried to call the class as I have seen other MocoGoals be called in the provided examples.

Thanks in advance!

Best regards,
Pavlos

Re: Accessing MocoControlTrackingGoal in Matlab API

Posted: Thu Mar 12, 2020 12:25 pm
by nbianco
Hi Pavlos,

MocoControlTrackingGoal has been included as a goal since the preprint release. Are other Moco classes working fine? Could you also post the error message you're getting?

Thanks,
-Nick

Re: Accessing MocoControlTrackingGoal in Matlab API

Posted: Thu Mar 12, 2020 12:57 pm
by chrisdembia
We accidentally excluded this goal from Matlab/Python. This will be fixed in an upcoming pull request (https://github.com/opensim-org/opensim-moco/pull/601).

Re: Accessing MocoControlTrackingGoal in Matlab API

Posted: Fri Mar 13, 2020 10:04 am
by pavlossilv
Hey Guys,

Alright that's great thank you!

All the other MocoGoal functions were available but when trying to access MocoControlTrackingGoal the error was "Undefined function or variable "MocoControlTrackingGoal".

Cheers,
Pavlos