Incorrect Orientation for TrackClip Pro
Posted: Fri Mar 30, 2012 3:43 pm
Hello,
I'm trying to read the orientation of a TrackClip Pro, using the vector processor in the Camera SDK (the camera is TrackIR5). As a start, I've simply modified the sample in the SDK so that it uses the TrackClip Pro arrangement (the Arrangement member of both cVectorProcessingSettings and cVectorSettings). The resulting dots (retrieved by GetResult) seem to be correct in both cases (VectorClip and TrackClipPro), but the orientation (retrieved by calling GetOrientation) only seems correct for the VectorClip - for the TrackClipPro the angles DO change and are within the expected range (i.e. not garbage or anything), but do not represent the current orientation of the clip - not even close to it, actually, though consistently - that is not random, just distorted or perhaps rotated).
Since there is no documentation for the various settings, of the vector processor (and vector module) - perhaps I'm missing some parameter somewhere? (When I run the TrackIR software, it seems to work very well for both marker types). For example, should the Distance12, Distance23 etc be modified - the default values seem to be correct for VectorClip, but not for TrackClipPro - is changing the arrangement enough, or is something else needed? Is there anyone out there who can confirm it works for TrackClipPro? (actually works, with verified values). And can someone explain at least some of the parameters of cVectorSettings and cVectorProcessingSettings? (I figured out some of them, like scale, and camera parameters, but stuff like smoothing factors and so on could be interesting...).
Another question - what exactly is the meaning of the value returned by GetPosition - it's not in the same coordinate space as GetResult, and I couldn't figure it out...
Thank and bye for now,
Ido.
I'm trying to read the orientation of a TrackClip Pro, using the vector processor in the Camera SDK (the camera is TrackIR5). As a start, I've simply modified the sample in the SDK so that it uses the TrackClip Pro arrangement (the Arrangement member of both cVectorProcessingSettings and cVectorSettings). The resulting dots (retrieved by GetResult) seem to be correct in both cases (VectorClip and TrackClipPro), but the orientation (retrieved by calling GetOrientation) only seems correct for the VectorClip - for the TrackClipPro the angles DO change and are within the expected range (i.e. not garbage or anything), but do not represent the current orientation of the clip - not even close to it, actually, though consistently - that is not random, just distorted or perhaps rotated).
Since there is no documentation for the various settings, of the vector processor (and vector module) - perhaps I'm missing some parameter somewhere? (When I run the TrackIR software, it seems to work very well for both marker types). For example, should the Distance12, Distance23 etc be modified - the default values seem to be correct for VectorClip, but not for TrackClipPro - is changing the arrangement enough, or is something else needed? Is there anyone out there who can confirm it works for TrackClipPro? (actually works, with verified values). And can someone explain at least some of the parameters of cVectorSettings and cVectorProcessingSettings? (I figured out some of them, like scale, and camera parameters, but stuff like smoothing factors and so on could be interesting...).
Another question - what exactly is the meaning of the value returned by GetPosition - it's not in the same coordinate space as GetResult, and I couldn't figure it out...
Thank and bye for now,
Ido.