Page 1 of 1

Loading motions from .sto files.Not working?

Posted: Tue Sep 08, 2009 10:36 am
by mvanoncini
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.

RE: Loading motions from .sto files.Not worki

Posted: Tue Sep 15, 2009 11:59 am
by aymanh
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

RE: Loading motions from .sto files.Not worki

Posted: Fri Sep 18, 2009 1:38 am
by mvanoncini
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?!?

RE: Loading motions from .sto files.Not worki

Posted: Fri Sep 18, 2009 10:09 am
by aymanh
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