Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Diff: Accelerometer.cpp
- Revision:
- 15:4488660e1a3b
- Parent:
- 12:1632d7391453
- Child:
- 31:d65576185bdf
--- a/Accelerometer.cpp Tue Mar 17 15:50:41 2015 +0000 +++ b/Accelerometer.cpp Wed Mar 18 15:34:51 2015 +0000 @@ -53,5 +53,5 @@ const float accel_resolution = 0.0009765625; - return Vector3(-x, -y, z) * accel_resolution; + return Vector3(x, y, z) * accel_resolution; }