Commit 2caee818 authored by pixhawk's avatar pixhawk

changed short int to double

parent aef052a0
......@@ -100,7 +100,7 @@ Freenect::process(void)
//libfreenect changed some access functions in one of the new revisions
freenect_raw_device_state state;
freenect_get_mks_accel(state, &ax, &ay, &az);
freenect_get_mks_accel(&state, &ax, &ay, &az);
//tiltAngle = freenect_get_tilt_degs(&state);
//these are the old access functions
......
......@@ -60,7 +60,7 @@ private:
QMutex coloredDepthMutex;
// accelerometer data
short ax, ay, az;
double ax, ay, az;
double dx, dy, dz;
// gamma map
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment