Subversion Repositories FlightCtrl

Rev

Rev 2099 | Rev 2103 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1910 - 1
/*********************************************************************************/
2
/* Flight Control                                                                */
3
/*********************************************************************************/
4
 
5
#ifndef _FLIGHT_H
6
#define _FLIGHT_H
7
 
8
#include <inttypes.h>
9
#include "analog.h"
10
#include "configuration.h"
11
 
12
#define PITCH 0
13
#define ROLL 1
2099 - 14
#define YAW 2
1910 - 15
 
2102 - 16
#define MAX_CONTROL_SERVOS 4
1910 - 17
 
2102 - 18
extern int16_t controlServos[MAX_CONTROL_SERVOS];
1910 - 19
 
20
void flight_control(void);
21
void transmitMotorThrottleData(void);
22
void flight_setNeutral(void);
23
 
24
#endif //_FLIGHT_H