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 MODSERIAL filter mbed-rtos ConfigFile PID PPM FreeIMU_external_magnetometer TinyGPS
Diff: FlightController/RateController/RateController.h
- Revision:
- 0:c6a85bb2a827
- Child:
- 2:969dfa4f2436
diff -r 000000000000 -r c6a85bb2a827 FlightController/RateController/RateController.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/FlightController/RateController/RateController.h Wed Mar 04 18:50:37 2015 +0000
@@ -0,0 +1,26 @@
+#include "mbed.h"
+#include "Global.h"
+#include "PidWrapper.h"
+#include "ConfigFileWrapper.h"
+
+#ifndef RateController_H
+#define RateController_H
+
+class RateController
+{
+ public:
+ RateController();
+ ~RateController();
+
+ bool initialise(Sensors& sensors, NavigationController& navigationController);
+ PidWrapper::PidOutputs compute();
+
+ private:
+ Sensors _sensors;
+ NavigationController _navigationController;
+ PidWrapper _yawRatePIDController;
+ PidWrapper _pitchRatePIDController;
+ PidWrapper _rollRatePIDController;
+};
+
+#endif
\ No newline at end of file