Rev 2048 |
Rev 2112 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
/*********************************************************************************/
/* Flight Control */
/*********************************************************************************/
#ifndef _FLIGHT_H
#define _FLIGHT_H
#include <inttypes.h>
#include "analog.h"
#include "configuration.h"
#define PITCH 0
#define ROLL 1
void flight_setParameters(uint8_t _invKi, uint8_t _gyroPFactor, uint8_t _gyroIFactor, uint8_t _yawPFactor, uint8_t _yawIFactor);
void flight_setGround(void);
void flight_takeOff(void);
void flight_control(void);
void transmitMotorThrottleData(void);
// void flight_setNeutral(void);
#endif //_FLIGHT_H