Discussion and Support for the OptiTrack, SmartNav and TrackIR brands by NaturalPoint


by Mark Scopes » Mon Nov 17, 2008 11:39 am

Once the start line returns 0 rather than -2147467259 on -2147467261 then the four red LEDs and the green LED come on the TrackIR. when the hr = INPCamera_GetFrame(camera,waittime,&frame); comand is sent all the LEDs go out and I only get a NULL return.
Mark Scopes
Posts: 5
Joined: Tue Nov 04, 2008 7:50 am

by Mark Scopes » Tue Nov 18, 2008 10:10 am

I am only get NULL return from the line
hr = INPCamera_GetFrame(pCamera,waittime,&pFrame);

The TrackIR V4 works fine so is there a sererate set of commands I should be using for comunicating with the TrackIR.

I can believe the code behind the TrackIR V4 has to cope with this flakey responce so what controll comands shhould I be using.
Mark Scopes
Posts: 5
Joined: Tue Nov 04, 2008 7:50 am

by Birch » Tue Nov 18, 2008 2:19 pm


I'd recommend getting one of our sample apps up and running, then using it as a reference for your own work.
Posts: 1139
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon


Return to OptiTrack SDK