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
FlightController/RateController/RateController.h
- Committer:
- joe4465
- Date:
- 2015-03-04
- Revision:
- 0:c6a85bb2a827
- Child:
- 2:969dfa4f2436
File content as of revision 0:c6a85bb2a827:
#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