Subversion Repositories FlightCtrl

Rev

Rev 1612 | Rev 1775 | 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"

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