sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
MultiWii.h File Reference
#include "types.h"
#include "Alarms.h"

Go to the source code of this file.

Macros

#define VERSION   240
 
#define NAVI_VERSION   7
 
#define MINCHECK   1100
 
#define MAXCHECK   1900
 
#define POSHOLD_P   .15
 
#define POSHOLD_I   0.0
 
#define POSHOLD_IMAX   20
 
#define POSHOLD_RATE_P   3.4
 
#define POSHOLD_RATE_I   0.14
 
#define POSHOLD_RATE_D   0.053
 
#define POSHOLD_RATE_IMAX   20
 
#define NAV_P   2.5
 
#define NAV_I   0.33
 
#define NAV_D   0.083
 
#define NAV_IMAX   20
 

Functions

void annexCode ()
 
void go_disarm ()
 

Variables

volatile unsigned long timer0_overflow_count
 
const char pidnames []
 
const char boxnames []
 
const uint8_t boxids []
 
uint32_t currentTime
 
uint16_t previousTime
 
uint16_t cycleTime
 
uint16_t calibratingA
 
uint16_t calibratingB
 
uint16_t calibratingG
 
int16_t magHold
 
int16_t headFreeModeHold
 
uint8_t vbatMin
 
uint8_t rcOptions [CHECKBOXITEMS]
 
int32_t AltHold
 
int16_t sonarAlt
 
int16_t BaroPID
 
int16_t errorAltitudeI
 
int16_t i2c_errors_count
 
uint8_t alarmArray [ALRM_FAC_SIZE]
 
global_conf_t global_conf
 
imu_t imu
 
analog_t analog
 
alt_t alt
 
att_t att
 
int16_t debug [4]
 
conf_t conf
 
int16_t annex650_overrun_count
 
flags_struct_t f
 
uint16_t intPowerTrigger1
 
int16_t gyroZero [3]
 
int16_t angle [2]
 
int16_t axisPID [3]
 
int16_t motor [8]
 
int16_t servo [8]
 
int16_t failsafeEvents
 
volatile int16_t failsafeCnt
 
int16_t rcData [RC_CHANS]
 
int16_t rcSerial [8]
 
int16_t rcCommand [4]
 
uint8_t rcSerialCount
 
int16_t lookupPitchRollRC [5]
 
uint16_t lookupThrottleRC [11]
 
volatile uint8_t spekFrameFlags
 
volatile uint32_t spekTimeLast
 
uint8_t spekFrameDone
 

Macro Definition Documentation

#define MAXCHECK   1900
#define MINCHECK   1100
#define NAV_D   0.083
#define NAV_I   0.33
#define NAV_IMAX   20
#define NAV_P   2.5
#define NAVI_VERSION   7
#define POSHOLD_I   0.0
#define POSHOLD_IMAX   20
#define POSHOLD_P   .15
#define POSHOLD_RATE_D   0.053
#define POSHOLD_RATE_I   0.14
#define POSHOLD_RATE_IMAX   20
#define POSHOLD_RATE_P   3.4
#define VERSION   240

Function Documentation

void annexCode ( )
void go_disarm ( )

Variable Documentation

uint8_t alarmArray[ALRM_FAC_SIZE]
alt_t alt
int32_t AltHold
analog_t analog
int16_t angle[2]
int16_t annex650_overrun_count
att_t att
int16_t axisPID[3]
int16_t BaroPID
const uint8_t boxids[]
const char boxnames[]
uint16_t calibratingA
uint16_t calibratingB
uint16_t calibratingG
conf_t conf
uint32_t currentTime
uint16_t cycleTime
int16_t debug[4]
int16_t errorAltitudeI
volatile int16_t failsafeCnt
int16_t failsafeEvents
global_conf_t global_conf
int16_t gyroZero[3]
int16_t headFreeModeHold
int16_t i2c_errors_count
imu_t imu
uint16_t intPowerTrigger1
int16_t lookupPitchRollRC[5]
uint16_t lookupThrottleRC[11]
int16_t magHold
int16_t motor[8]
const char pidnames[]
uint16_t previousTime
int16_t rcCommand[4]
int16_t rcData[RC_CHANS]
uint8_t rcOptions[CHECKBOXITEMS]
int16_t rcSerial[8]
uint8_t rcSerialCount
int16_t servo[8]
int16_t sonarAlt
uint8_t spekFrameDone
volatile uint8_t spekFrameFlags
volatile uint32_t spekTimeLast
volatile unsigned long timer0_overflow_count
uint8_t vbatMin