Service page for Oculus Diy
More informations :
http://myrobotlab.org/content/my-diy-oculus-rift
######################################### # OculusDiy.py # more info @: http://myrobotlab.org/service/OculusDiy ######################################### # start the service oculusdiy = runtime.start("oculusdiy","OculusDiy") port="COM3" #virtual=1 if ('virtual' in globals() and virtual): virtualArduino = runtime.start("virtualArduino", "VirtualArduino") virtualArduino.connect(port) oculusdiy.connect(port) oculusdiy.mpu6050.attach(oculusdiy.arduino, "0", "0x68")
!!org.myrobotlab.service.config.OculusDiyConfig arduino: autoStart: true name: arduino type: Arduino listeners: null mpu6050: autoStart: true name: mpu6050 type: Mpu6050 peers: arduino: autoStart: true name: oculusdiy.arduino type: Arduino mpu6050: autoStart: true name: oculusdiy.mpu6050 type: Mpu6050 type: OculusDiy