path points for a muscle using GetPointForceDirections

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
David Monteverde
Posts: 1
Joined: Thu Feb 13, 2020 12:15 pm

path points for a muscle using GetPointForceDirections

Post by David Monteverde » Thu Oct 01, 2020 3:59 pm

Hello,

I am trying to obtain the path points for a muscle using GetPointForceDirections in Matlab. This method takes two arguments, the first one being state. I am not sure what the second one is.

For example, using the sample script KneeReflex_answers.m (supplied with the Opensim 4.1 release) I can obtain some basic muscle parameters based on the state, such as:
vastus.getLength(state)
vastus.appliesForce(state)
vastus.getFiberForce(state)

How could I get to a list of path points (including wrapping points) for the muscle?

Thanks so much,
David M

Tags:

POST REPLY