And like I mentioned previously, it connects. It just doesn't read any data. After connecting it seems to lock the device up. I have to unplug it and plug it back into the computer to get any of the Inertial Labs sample programs to run with it. When using "Inertial Labs Simple.py" shown below.
import viz
import vizact
viz.go()
InertialLabs = viz.add('InertialLabs.dle')
sensor = InertialLabs.addOSv3(2)
print sensor
def printData():
print sensor.getEuler()
vizact.ontimer(1, printData)
I get this response:
************************************************** ****************************
** Loading Inertial Labs simple.py
************************************************** ****************************
InertialLabs.dle InertialLabs Extension
viz.VizExtensionSensor(0)
** Load Time: 1.18 seconds
[0.0, -0.0, 0.0]
[0.0, -0.0, 0.0]
[0.0, -0.0, 0.0]
[0.0, -0.0, 0.0]
[0.0, -0.0, 0.0]
[0.0, -0.0, 0.0]
[0.0, -0.0, 0.0]
[0.0, -0.0, 0.0]
[0.0, -0.0, 0.0]
|