try to modify model Arm26

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Guanxin Jiang
Posts: 8
Joined: Fri Mar 18, 2016 5:40 am

try to modify model Arm26

Post by Guanxin Jiang » Fri Aug 19, 2016 2:59 am

Hello, I am trying to modify model Arm26 elbow axis into unfixed one.
But i met 2 problems:
1. the rotation axes of joint elbow are (0.04940001 0.03660001 0.99810825), (0 1 0), (0.99810825 0 -0.04940001), respectively. But the first two axes are not orthogonal, is this ok?
2. i try to add the code as following under the function of translation 2 and 3:
<TransformAxis name="translation2">
<coordinates>r_elbow_flex</coordinates>
<axis>0 1 0</axis>
<function>
<SimmSpline>
<x> 0.174533 0.349066 0.523599 0.698132 0.87266 1.04719 1.22173 1.39626 1.57079 1.74533 1.91986 2.0944</x>
<y> 0.0013 0.0034 0.0035 0.003 0.0008 -0.0013 -0.0031 -0.0025 -0.0021 -0.0006 0.001 0.005</y>
</SimmSpline>
</function>
</TransformAxis>
And translation 3 is similiar:
<TransformAxis name="translation3">
<coordinates>r_elbow_flex</coordinates>
<axis>1 0 0</axis>
<function>
<SimmSpline>
<x> 0.174533 0.349066 0.523599 0.698132 0.87266 1.04719 1.22173 1.39626 1.57079 1.74533 1.91986 2.0944</x>
<y> 0.0062 0.0024 -0.0047 -0.007 -0.0078 -0.0071 -0.0046 0 0.005 0.0087 0.0114 0.0137</y>
</SimmSpline>
</function>
</TransformAxis>

the other part of the model i dont edit at all, but when i try to simulate it in OpenSim, OpenSim cannot load the model. I just want to ask which part i am wrong, what should i do next?

Thank you!

POST REPLY