Question in tutorial

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Masaya Hayashikawa
Posts: 3
Joined: Fri Feb 21, 2025 10:21 pm

Question in tutorial

Post by Masaya Hayashikawa » Thu Mar 06, 2025 12:38 am

Dear Forum,

I have issues regarding the questions in the tutorial "https://opensimconfluence.atlassian.net ... ntoOpenSim":

a. "Use the Coordinates panel to view the degrees of freedom of the model. How many degrees of freedom, in total, does the model have? List the degrees of freedom of the right leg."
--- is there a way of counting the DOF instead of counting each joint motion manually?

b. "All models are approximations. Compare the degrees of freedom in the model to the degrees of freedom in your lower limbs. Give an example of a joint motion in the model that has been simplified. Give an example of a motion that is not included in this model"
--- Is there a more smart way of identifying which joint motion has been simplified rather than searching for it with my eyes?

a. "How many muscles are in the model?"
--- Is there a way of counting muscles instead of counting them one by one?

I thank you very much in advance for your assistance.
Kind regards,
Masaya Hayashikawa

Tags:

User avatar
Thomas Uchida
Posts: 1808
Joined: Wed May 16, 2012 11:40 am

Re: Question in tutorial

Post by Thomas Uchida » Sun Mar 09, 2025 1:04 pm

(a) "Use the Coordinates panel" implies that they should be counted by looking at the Coordinates panel. You could also use the "getNumCoordinates()" method (https://simtk.org/api_docs/opensim/api_ ... af2c43be6d) in the GUI's scripting shell (https://opensimconfluence.atlassian.net ... g+Commands) to ask the model for the total number of coordinates.
(b) This is a comprehension question.
(c) The muscles can be counted in the Navigator window (https://opensimconfluence.atlassian.net ... atorWindow) or using the scripting shell to report the size of the model's set of muscles.

POST REPLY