Dear All
I would like to run FD with prescribed motion for some of the DOF. Recently, the prescribed motion is defined within the .osim file, like this:
<prescribed_function>
<SimmSpline>
<x> 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15</x>
<y> 0 0.1 0.3 0.1 0 0 0 0 0 0 0 0 0 0 0 0 0 </y>
</SimmSpline>
</prescribed_function>
This works properly. However, it would be much more convenient to define the prescribed motion in an external file, like the .mot file in case of Static optimization.
I would appreciate any hints for a solution.
Best regards
Gabor
Forward dynamics with prescribed motion
- Gabor Piskoty
- Posts: 10
- Joined: Mon Nov 16, 2015 7:52 am
Re: Forward dynamics with prescribed motion
That is the way a prescribed motion has to done. There is a utility script in the OpenSim distribution (Scripts/Matlab/prescribeMotionInModel.m) that you can use to update the prescribed functions from .mot files.
- Gabor Piskoty
- Posts: 10
- Joined: Mon Nov 16, 2015 7:52 am
Re: Forward dynamics with prescribed motion
Dear James
Thank you for your valuable hint. As a consequence, the issue does not exist anymore
Best regards
Gabor
Thank you for your valuable hint. As a consequence, the issue does not exist anymore
Best regards
Gabor