IK problems

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Gary Lu
Posts: 28
Joined: Mon Jan 14, 2019 8:02 pm

IK problems

Post by Gary Lu » Mon Sep 23, 2019 8:49 pm

Dear all:
I'm processing simulations on the arm26 model. I finished the scaling steps but then came into some unexpected mistake during IK steps.
Here are my operations so far, please tell me if i have anything go wrong:
1. To meet the sensor positions of my experiment data, I change the marker to desired positions and saved settings as markersets.
2. Generate the Setupfile for scaling. And I choose to do measurement-based scaling with the .trc file for static and moving trajectory.
3. Next, I used scaling tools to successfully generate a ideal replica since the experiment model i use is identical to the opensim one.
4. Then generate the IK setup file while other required files are generated after scaling.
5. Then I used IK tool to see if the model's movement fit the experiment movement. But it turns out to be the IK result shows that the arm is remaining still instead of swinging in the expected way.

I first thought it was because the insufficient number of markers on each body which the instructions on the website recommended to be 3.
So I tried again with 3 markers on each body segments but it came up with the same results where the error remained very big. What's more, I even used the pre to see if my .trc files work in opensim or not, fortunately it works !
I don't know where the problem is, so if anyone could help me would be very thankful.All files are attached below.

P.S. I used ansys to generate the trajectory of the arm-swinging-simulations so the marker is first arrange in the same plane.
Attachments
files u need.rar
(8.5 KiB) Downloaded 11 times
marker.png
marker.png (82.82 KiB) Viewed 316 times
error.png
error.png (37.23 KiB) Viewed 316 times

Tags:

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: IK problems

Post by Dimitar Stanev » Tue Sep 24, 2019 12:15 am

You can try visualizing the marker data (File -> Preview Experimental Data). It always helps in pinpointing the problem.

A common mistake might be that the marker trajectories are displaced from the origin and the model. This causes problems when the model is not permitted to translate and rotate with respect to the ground frame (fixed base). If this is the case, then you can add 6DoF between the ground and the thorax body so that the model can position itself near the measured marker positions and then try to better fit the data.

User avatar
Gary Lu
Posts: 28
Joined: Mon Jan 14, 2019 8:02 pm

Re: IK problems

Post by Gary Lu » Tue Sep 24, 2019 10:55 pm

Professor Dimitar Stanev, thanks you so much for answering my question. However, I eventually found out that it was because my misplacement of the markers frame so the data couldn't fit together. Now the IK tool works and can generate the trajectory as expected. Thanks again.

User avatar
Kyler Howard
Posts: 3
Joined: Sat Sep 14, 2019 1:42 pm

Re: IK problems

Post by Kyler Howard » Mon Jun 01, 2020 9:51 am

Gary, could you explain how you both figured out and fixed what your issue was? I am having a similar problem with my IK errors, but haven't heard of or considered it being an issue with the marker frame.

Thanks in advance,
Kyler Howard

POST REPLY