opensim-org / opensim-moco

Solve optimal control problems for musculoskeletal models using OpenSim and direct collocation.
https://opensim.stanford.edu/moco
Apache License 2.0
58 stars 16 forks source link

AnalyzeTool Muscle Analysis Moment Flag #671

Closed cclancy8 closed 2 years ago

cclancy8 commented 2 years ago

When requesting a MuscleAnalysis with the AnalyzeTool, the tool does not toggle the MuscleAnalysis to compute moments (and moment arms) even when setComputeMoments(true) is specified for the MuscleAnalysis. A check was done with getComputeMoments(), which indicates that the option to compute moments was set to true. However, the printed .xml file of the AnalyzeTool does not have the flag indicated to compute moments and thus they are not calculated.

cclancy8 commented 2 years ago

Issue closed, posted to /opensim-org/opensim-core repo