Open eruffaldi opened 6 years ago
Usage e.g. in OpenNI2 SimpleRead
float d; int sd = sizeof(d); rc = device.getProperty ( ONI_DEVICE_PROPERTY_PLAYBACK_SPEED, &d,&sd); printf("PLAYBACK SPEED reported %d\n",rc); if(rc == 0) { d = 1; sd = 4; // blinking red device.setProperty(ONI_DEVICE_PROPERTY_PLAYBACK_SPEED,&d,sd); }
For some application we need to expose the LED to OpenNI. We'll use some available get/set property to exposing it, plus something for activating the motor driver since starting the Kinect