1,5 → 1,5 |
/**************************************************************************** |
* Copyright (C) 2009-2016 by Claas Anders "CaScAdE" Rathje * |
* Copyright (C) 2009-2015 by Claas Anders "CaScAdE" Rathje * |
* admiralcascade@gmail.com * |
* Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
* * |
104,7 → 104,7 |
u8 WaypointIndex; // index of current waypoints running from 0 to WaypointNumber-1 |
u8 WaypointNumber; // number of stored waypoints |
u8 SatsInUse; // number of satellites used for position solution |
s16 Altimeter_5cm; // hight according to air pressure |
s16 Altimeter; // hight according to air pressure |
s16 Variometer; // climb(+) and sink(-) rate |
u16 FlyingTime; // in seconds |
u8 UBat; // Battery Voltage in 0.1 Volts |
159,16 → 159,13 |
#define FC_STATUS2_OUT1_ACTIVE 0x08 |
#define FC_STATUS2_OUT2_ACTIVE 0x10 |
#define FC_STATUS2_WAIT_FOR_TAKEOFF 0x20 // Motor Running, but still on the ground |
#define FC_STATUS2_AUTO_STARTING 0x40 |
#define FC_STATUS2_AUTO_LANDING 0x80 |
|
|
// FC.StatusFlags3 |
#define FC_STATUS3_REDUNDANCE_AKTIVE 0x01 |
#define FC_STATUS3_BOAT 0x02 |
#define FC_STATUS3_REDUNDANCE_ERROR 0x04 |
#define FC_STATUS3_REDUNDANCE_TEST 0x08 |
#define FC_STATUS3_NOT_CALIBRATED 0x10 |
#define FC_STATUS3_MOTORS_STOPPED_BY_RC 0x20 |
|
// FC ERRORS FLAGS |
#define FC_ERROR0_GYRO_NICK 0x01 |
195,7 → 192,7 |
* http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V2.12a/eeprom.h |
*/ |
|
#define EEPARAM_REVISION 108 // is count up, if paramater stucture has changed (compatibility) |
#define EEPARAM_REVISION 106 // is count up, if paramater stucture has changed (compatibility) |
#define EEMIXER_REVISION 1 // is count up, if mixer stucture has changed (compatibility) |
|
typedef struct |
320,9 → 317,6 |
unsigned char LandingPulse; |
unsigned char SingleWpControlChannel; |
unsigned char MenuKeyChannel; |
unsigned char CamCtrlModeChannel; |
unsigned char CamCtrlZoomChannel; |
unsigned char reserved[32]; // for later use |
//------------------------------------------------ |
unsigned char BitConfig; // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt |
unsigned char ServoCompInvert; // // 0x01 = Nick, 0x02 = Roll, 0x04 = relative moving // WICHTIG!!! am Ende lassen |
330,7 → 324,7 |
unsigned char GlobalConfig3; // bitcodiert |
char Name[12]; |
unsigned char crc; // must be the last byte! |
} paramset_t; // since 2.14 -> size is always 179 Bytes |
} paramset_t; // 134 bytes (V1.06) |
|
|
typedef struct { |