Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed DCM_AHRS_GY80 PID MMA8451Q
Fork of quadCommand by
Diff: quadCommand/sensorS/sensors.h
- Revision:
- 4:ce6ad16337c5
- Parent:
- 1:9b90e7de6e09
- Child:
- 9:9e0d0ba5b6b1
--- a/quadCommand/sensorS/sensors.h Sun Jun 09 22:33:11 2013 +0000
+++ b/quadCommand/sensorS/sensors.h Sun Jun 09 22:59:11 2013 +0000
@@ -15,26 +15,10 @@
{
public:
sensors();
- short getAbsoluteX();
- short getAbsoluteY();
+ float getAbsoluteX();
+ float getAbsoluteY();
private:
MMA8451Q *acc;
-
- short rxThrottle; // Throttle position: 0 -> 100.
- short rxPitch; // Pitch: -180 -> 180.
- short rxRoll; // Roll: -180 -> 180.
- short rxYaw; // Yaw: -180 -> 180.
-
- bool globalUpdate;
-
- short currentPitch; //
- bool updatedPitch;
-
- short currentRoll; //
- bool updatedRoll;
-
- short currentAlt; //
- bool updatedAlt;
};
#endif
\ No newline at end of file
