by heath789 » Tue Aug 16, 2011 7:08 am
Thanks for the quick responses, Mike.
I am trying to use the TT_TrackableLocation function. In the header file, this is listed as a void function so I don't understand how its outputs should be handled. In the sample code for MATLAB posted in this thread, it is called like so:
[X,Y,Z,qx,qy,qz,qw,yaw,pitch,roll] =
calllib('NPTrackingTools','TT_TrackableLocation',TrackableNum,X,Y,Z,qx,qy,qz,qw,yaw,pitch,roll);
The error I get in MATLAB when trying to run this is:
Caught unexpected char* Exception message is: index out of range
From the header file, I can't fully understand this function; can you provide more info as to how it works with inputs and outputs?
Thanks!