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.
Loading motions from .sto files.Not working?
- Michele Vanoncini
- Posts: 10
- Joined: Tue Jan 27, 2009 4:32 am
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: Loading motions from .sto files.Not worki
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
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
- Michele Vanoncini
- Posts: 10
- Joined: Tue Jan 27, 2009 4:32 am
RE: Loading motions from .sto files.Not worki
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?!?
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?!?
- Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
RE: Loading motions from .sto files.Not worki
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
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