Forward dynamics with prescribed motion
Posted: Mon Jul 24, 2017 4:47 am
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
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