path points for a muscle using GetPointForceDirections
Posted: 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
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