I've just started using the Camera SDK, and I've got a few questions about some of the classes/functions I'm seeing.
I'm using a TrackIR 5 camera with this SDK, and following the included VectorTracking sample.
Rather than draw anything as in the example, I'm trying to get the orientation of the user, so after the
Code: Select all
vec->Calculate();
vecprocessor->PushData(vec);
Code: Select all
vecprocessor->GetOrientation(&yaw, &pitch, &roll);
I'm curious, though. In the ModuleVectorProcessing class there's a smooth function. I'm not sure what values that function smooths out. Can you please explain to me how to use that function?
Also - in the VectorProcessingSettings class, there are a bunch of variables for smoothing/scaling, etc. Can I just set those before resetting the settings to the ModuleVectorProcessing instance? What are the units used for the SmoothingX, SmoothingY and SmoothingZ parameters?
Thanks,
david