hello everyone,
I am a beginner user of opensim. I need to add an external torque at the hip joint. I have added a CoordinateActuator to the XML file and set the optimal_force. when I am writing the ControllerSet, is it possible to use a spline function for the FunctionSet in the ControllerSet?
Because the torque I need to add is not a constant but a variable quantity. Maybe you can give me some suggestions.Thank you very much.
Looking forward your reply.
About functionset in controllerset
- Carmichael Ong
- Posts: 401
- Joined: Fri Feb 24, 2012 11:50 am
Re: About functionset in controllerset
Yes this should be possible. You can see the different Function options in our API guide here under the Function entry. If you click on the second line "Inheritance diagram ..." you'll see a bunch of options.
Sounds like you're adding to the model file itself, so you'll need another resource for what that will look like. In the GUI, if you go to Help -> XML Browser, you can look up these Function class names under Class name (e.g., SimmSpline) and see what the XML tags look like.
Sounds like you're adding to the model file itself, so you'll need another resource for what that will look like. In the GUI, if you go to Help -> XML Browser, you can look up these Function class names under Class name (e.g., SimmSpline) and see what the XML tags look like.