how can I control status LEDs with the SmartNav 4?
Posted: Thu Aug 02, 2012 5:10 pm
When I try to control the LEDs using a SmartNav 4 camera and the OptiTrack Camera SDK 1.1.3 (and the corresponding drivers, Win7 x64, 32-bit app), nothing happens. The physical LEDs seem to be working, because I see them cycle when I plug in the device. The same code works fine with a TrackIR 5.
Am I missing something? (Also, I'm sorry if this is already answered somewhere, I did try searching but didn't find anything.)
What I'm currently doing is simply this:
camera->SetLED(GreenStatusLED, true);
Sleep(900);
camera->SetLED(GreenStatusLED, false);
Sleep(100);
then repeat for RedStatusLED, CaseStatusLED, LeftGreenStatusLED, RightGreenStatusLED, LeftRedStatusLED, RightRedStatusLED. I can make a stand-alone example if that would help.
Am I missing something? (Also, I'm sorry if this is already answered somewhere, I did try searching but didn't find anything.)
What I'm currently doing is simply this:
camera->SetLED(GreenStatusLED, true);
Sleep(900);
camera->SetLED(GreenStatusLED, false);
Sleep(100);
then repeat for RedStatusLED, CaseStatusLED, LeftGreenStatusLED, RightGreenStatusLED, LeftRedStatusLED, RightRedStatusLED. I can make a stand-alone example if that would help.