Page 1 of 1

Where can I find the muscle activity calculated by exampleMocoTrack

Posted: Mon Dec 11, 2023 11:50 pm
by zhibo
Hi:

I'm a new Moco user and I want to compare the estimated muscle activity with and without GRF. I run the exampleMocoTrack twice,1stwith GRF added, and then toggled the line loading GRF into comment. But I'm wondering where can I find the estimated muscle activity? The output sto file seems only contains values with regard to joints.

Thanks for your time to read this and looking forward to your reply!

Best regards
Zhibo

Re: Where can I find the muscle activity calculated by exampleMocoTrack

Posted: Wed Dec 13, 2023 10:38 pm
by nbianco
Hi Zhibo,

Muscle excitations and activations will be stored in the MocoSolution returned from the solver as controls and states, respectively. You can use the MocoTrajectory API to get these values directly or, if you printed the solution to a STO file, you can load the file into a TimeSeriesTable and get the data that way.

Best,
Nick

Re: Where can I find the muscle activity calculated by exampleMocoTrack

Posted: Thu Dec 14, 2023 8:21 pm
by zhibo
Thanks for your reply! I'll work on that.