52 unsigned sleep(
unsigned seconds)
86 printf(
"Error: Kinect not connected?\n");
90 int main(
int argc,
char *argv[])
97 int tilt = (rand() % 30)-15;
113 printf(
"led[%d] tilt[%d] accel[%lf,%lf,%lf]\n", led, tilt, dx,dy,dz);
void freenect_get_mks_accel(freenect_raw_tilt_state *state, double *x, double *y, double *z)
int freenect_sync_set_tilt_degs(int angle, int index)
int freenect_sync_get_tilt_state(freenect_raw_tilt_state **state, int index)
int main(int argc, char *argv[])
Data from the tilt motor and accelerometer.
int freenect_sync_set_led(freenect_led_options led, int index)
void no_kinect_quit(void)