Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1611 → Rev 1612

/branches/dongfang_FC_rewrite/flight.h
0,0 → 1,28
/*#######################################################################################
Flight Control
#######################################################################################*/
 
#ifndef _FLIGHT_H
#define _FLIGHT_H
 
#include <inttypes.h>
#include "analog.h"
#include "configuration.h"
 
extern uint8_t RequiredMotors;
 
// looping params
extern long TurnOver180Nick, TurnOver180Roll;
 
// external control
extern int16_t ExternStickNick, ExternStickRoll, ExternStickYaw;
 
extern int16_t naviAccPitch, naviAccRoll, naviCntAcc;
 
extern volatile uint8_t MKFlags;
 
void flight_control(void);
void sendMotorData(void);
void flight_setNeutral(void);
 
#endif //_FLIGHT_H