Rev 2103 |
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
#define YAW 2
#define THROTTLE 3
#define NUM_CONTROL_SERVOS 4
extern int16_t controlServos[NUM_CONTROL_SERVOS];
void flight_control(void);
void flight_setNeutral(void);
void flight_updateFlightParametersToFlightMode(void);
#endif //_FLIGHT_H