Hello,
I am trying static optimization for arm flexion of arm26 model in matlab.
The procedure through which static optimization goes through is that it first calculates the joint moment at the joint based on the motion file. Then, it does muscle force calculation based on that.
Is it possible that in every loop, I alter the calculated value of joint moment and let the static optimization calculate muscle force based on that altered value of joint moment while other parameters remains the same.
For example, say if calculated joint moment is 10Nm in a loop but I want muscle force calculation done only on the basis of 5Nm because rest 5Nm has been given by the external torque for that loop.
Please, help me in knowing its possibility and how to do that.
Thanks..
Changing torque actuator excitation in every loop of Static Optimization
- Ratna Sambhav
- Posts: 42
- Joined: Sat Jan 12, 2019 10:16 am
- Michael Asmussen
- Posts: 67
- Joined: Mon Jul 11, 2016 7:46 am
Re: Changing torque actuator excitation in every loop of Static Optimization
Hi Ratna,
Are you calling on OpenSim's static optimization routine from Matlab or are you running your own static optimization routine within Matlab?
All the best,
Mike
Are you calling on OpenSim's static optimization routine from Matlab or are you running your own static optimization routine within Matlab?
All the best,
Mike
- Ratna Sambhav
- Posts: 42
- Joined: Sat Jan 12, 2019 10:16 am
Re: Changing torque actuator excitation in every loop of Static Optimization
Hi Mike,
I am calling OpenSim static Optimization from matlab.
I am calling OpenSim static Optimization from matlab.
- Michael Asmussen
- Posts: 67
- Joined: Mon Jul 11, 2016 7:46 am
Re: Changing torque actuator excitation in every loop of Static Optimization
Hi Ratna,
I have done something like this before. Do you mind posting your current working code and I can provide some insight?
All the best,
Mike
I have done something like this before. Do you mind posting your current working code and I can provide some insight?
All the best,
Mike