New version of quadcopter software written to OO principles
Dependencies: mbed MODSERIAL filter mbed-rtos ConfigFile PID PPM FreeIMU_external_magnetometer TinyGPS
Diff: Sensors/Imu/Imu.h
- Revision:
- 4:9ffbf9101992
- Parent:
- 3:4823d6750629
--- a/Sensors/Imu/Imu.h Fri Apr 24 16:50:20 2015 +0000
+++ b/Sensors/Imu/Imu.h Fri May 08 09:07:38 2015 +0000
@@ -35,12 +35,20 @@
double z;
};
+ struct Acceleration
+ {
+ double x;
+ double y;
+ double z;
+ };
+
void enable(bool enable);
Rate getRate();
Angle getAngle(bool bias = true);
Velocity getVelocity(float time);
Velocity getVelocity();
+ Acceleration getAcceleration();
double getAltitude();
void zeroGyro();
Joseph Roberts