Page 1 of 1

Acquisition with Track IR 5

Posted: Fri May 08, 2009 2:36 pm
by simon_o
I have Track IR 4, for which I have written some code (using the OptiTrack API) that works. Now I bought the Track IR 5, and the same code that worked for Track IR 4 doesn't work for Track IR 5. The sensor's LEDs don't light up and there's no acquisition going on. The code that I use to open/start the camera is as follows:

LONG cameraCount;
CComPtr cameraCollection;
cameraCollection.CoCreateInstance(CLSID_NPCameraCollection);
cameraCollection->Enum();

cameraCollection->get_Count(&cameraCount);

if (cameraCount == 0)
{
cameraCollection.Release();
CoUninitialize();

return -1;
}

cameraCollection->Item(0, &m_camera);

m_camera->Open();
m_camera->Start();

So what must I do to make it work?

Re: Acquisition with Track IR 5

Posted: Fri May 08, 2009 3:09 pm
by beckdo
Hi, we've haven't released a new version of the OptiTrack SDK which includes support for the TIR5....yet.

Re: Acquisition with Track IR 5

Posted: Fri May 08, 2009 3:22 pm
by simon_o
I see... is that planned anytime soon?

Because if it isn't, the Track IR 5 is useless to me and I'll just return it.

Re: Acquisition with Track IR 5

Posted: Fri May 08, 2009 5:09 pm
by Birch
Yes, we plan to release a version of the OptiTrack SDK which supports the TrackIR 5, but that may take a couple weeks. If you'd like a pre-release build please send an email to support@naturalpoint.com.