Page 1 of 1

IK problem during inputing the .trc data

Posted: Mon Jan 09, 2017 5:27 pm
by hzq9142
Hi there,

When doing IK, I have encountered a problem showing bellow.

InverseKinematicsTool Failed: SimTK Exception thrown at AssemblyCondition_Markers.h:390:
Error detected by Simbody method Markers::moveAllObservations(): Number of observations provided (49) differs from the number of observations (50) last defined with defineObservationOrder().
(Required condition '(int)observations.size() == (int)observation2marker.size()' was not met.)


Is this error caused by the .trc file? And what should I do to fix it?

Cheers.
Zheqi

Re: IK problem during inputing the .trc data

Posted: Tue Jan 10, 2017 1:37 am
by mitkof6
Is this error caused by the .trc file? And what should I do to fix it?
The .trc file is probably not correctly formated. Please check if the header is correctly specifying the number of markers.

Re: IK problem during inputing the .trc data

Posted: Tue Jan 10, 2017 10:39 am
by hzq9142
mitkof6 wrote:
Is this error caused by the .trc file? And what should I do to fix it?
The .trc file is probably not correctly formated. Please check if the header is correctly specifying the number of markers.
Thanks for your reply.
I've checked the header. I'm sure it specifies the number of markers correctly. The number of markers are all the same in header, the marker data, and the model.