I have designed and constructed a hang glider exhibit for a children's museum that uses a wiimote and a single IR led (using Osculator of course) to process raw IR data and convert them to HID joystick output. In Google Earth I have enabled the controller button so that the Earth can be rotated using joystick inputs. The problem that I am having is that Google Earth seems to have calibration issues where .5 is not the neutral point, and unfortunately the neutral point seems to be constantly changing so the exhibit needs to be recalibrated every time the power is shut off.
Since others have used the space navigator to control Google Earth without these problems I have to assume it has something to do with using Osculator as the joystick emulator. Does anyone have a solution to this problem? I should also note that I thought of trying to just send arrow key signals, but the way OSC is set up it only sends a key code when the IR data passes .5. When you split the X and Y you could change the scaling to send the key code at less than 45 degrees, but sometimes the program misses the .5 impulse as it goes by too fast and sends nothing. (It make for a really clunky control system)
Since others have used the space navigator to control Google Earth without these problems I have to assume it has something to do with using Osculator as the joystick emulator. Does anyone have a solution to this problem? I should also note that I thought of trying to just send arrow key signals, but the way OSC is set up it only sends a key code when the IR data passes .5. When you split the X and Y you could change the scaling to send the key code at less than 45 degrees, but sometimes the program misses the .5 impulse as it goes by too fast and sends nothing. (It make for a really clunky control system)
Comment