Static Optimization API
Posted: Wed Aug 05, 2020 8:50 am
Hello,
I am trying to use Static Optimization to solve for muscle forces in a model given a kinematic path. I am using the API. I read through the Doxygen documentation about the StaticOptimization class, but I still have a few questions.
I am unsure how to apply an external force to a model. I tried to find a function within the Joint, Body, and PhysicalFrame classes that would let me specify an external force applied to some part of the model, but I had no success. Do you know how to do this?
I understand that in order to solve a Static Optimization problem, the system needs to have a model, kinematic state variables, and external forces. When using this in the API, if I construct a Static Optimization object using a model, and if I have already defined a state with coordinate values, what other functions do I need to call in order to complete the Static Optimization? Do I use the begin and end functions?
Are there any examples of c++ code that specifically use the StaticOptimization class?
Thank you,
Joel Quarnstrom
I am trying to use Static Optimization to solve for muscle forces in a model given a kinematic path. I am using the API. I read through the Doxygen documentation about the StaticOptimization class, but I still have a few questions.
I am unsure how to apply an external force to a model. I tried to find a function within the Joint, Body, and PhysicalFrame classes that would let me specify an external force applied to some part of the model, but I had no success. Do you know how to do this?
I understand that in order to solve a Static Optimization problem, the system needs to have a model, kinematic state variables, and external forces. When using this in the API, if I construct a Static Optimization object using a model, and if I have already defined a state with coordinate values, what other functions do I need to call in order to complete the Static Optimization? Do I use the begin and end functions?
Are there any examples of c++ code that specifically use the StaticOptimization class?
Thank you,
Joel Quarnstrom