Subversion Repositories FlightCtrl

Rev

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

Rev Author Line No. Line
1612 dongfang 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
extern uint8_t RequiredMotors;
13
 
14
// looping params
1616 dongfang 15
// extern long TurnOver180Nick, TurnOver180Roll;
1612 dongfang 16
 
17
// external control
18
extern int16_t ExternStickNick, ExternStickRoll, ExternStickYaw;
19
 
20
extern int16_t naviAccPitch, naviAccRoll, naviCntAcc;
21
 
22
extern volatile uint8_t MKFlags;
23
 
24
void flight_control(void);
25
void sendMotorData(void);
26
void flight_setNeutral(void);
27
 
28
#endif //_FLIGHT_H