Loading motions from .sto files.Not working?

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Michele Vanoncini
Posts: 10
Joined: Tue Jan 27, 2009 4:32 am

Loading motions from .sto files.Not working?

Post by Michele Vanoncini » Tue Sep 08, 2009 10:36 am

Hi!
I'm using OpenSim 1.9 to compute joint angles from markers data.
The inverse kinematic seemed to work fine, and I was able to save the obtained motion as a .sto files.
However, when I tried to re-load the motion from the .sto files, it only worked in a few cases (with no apparent logic).

Is anyone having the same problem?
Is this a bug, or I'm missing something?
Thanks.

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: Loading motions from .sto files.Not worki

Post by Ayman Habib » Tue Sep 15, 2009 11:59 am

Hi Michele,

I don't know if you got around your problems, but this could be an issue with angles reported by default in "degrees" in .mot files and in "radians" in .sto files.

Hope this helps,
-Ayman

User avatar
Michele Vanoncini
Posts: 10
Joined: Tue Jan 27, 2009 4:32 am

RE: Loading motions from .sto files.Not worki

Post by Michele Vanoncini » Fri Sep 18, 2009 1:38 am

Hi,
thanks for your reply...it seems that the motions that are not working contain a value of 1.#QNAN000 for some of the angles, in some instant of time.
I guess this is a problem with the IK solver?!?

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

RE: Loading motions from .sto files.Not worki

Post by Ayman Habib » Fri Sep 18, 2009 10:09 am

Michele,

Glad you got to the bottom of that. Would appreciate if you report a bug and include the model and motion so that we can handle NANs in motion files better (e.g. give warning, or crop, or remove frames).

You'd need to investigate why IK didn't work, and if the failure was justified and reported properly.

Best,
-Ayman

POST REPLY