Commit 2caee818 authored by pixhawk's avatar pixhawk

changed short int to double

parent aef052a0
...@@ -100,7 +100,7 @@ Freenect::process(void) ...@@ -100,7 +100,7 @@ Freenect::process(void)
//libfreenect changed some access functions in one of the new revisions //libfreenect changed some access functions in one of the new revisions
freenect_raw_device_state state; 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); //tiltAngle = freenect_get_tilt_degs(&state);
//these are the old access functions //these are the old access functions
......
...@@ -60,7 +60,7 @@ private: ...@@ -60,7 +60,7 @@ private:
QMutex coloredDepthMutex; QMutex coloredDepthMutex;
// accelerometer data // accelerometer data
short ax, ay, az; double ax, ay, az;
double dx, dy, dz; double dx, dy, dz;
// gamma map // 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