19,8 → 19,55 |
#ifndef PARAMETER_POSITIONS_H |
#define PARAMETER_POSITIONS_H |
|
#ifdef _BETA_ |
// Positionen der Navidaten im OSD-Datensatz |
//////////////////////////////////////////// |
|
static const int N_VERSION = 0; |
static const int N_CUR_LONGITUDE = 1; |
static const int N_CUR_LATITUDE = 5; |
static const int N_CUR_ALTITUDE = 9; |
static const int N_CUR_STATUS = 13; |
|
static const int N_TAR_LONGITUDE = 14; //16 |
static const int N_TAR_LATITUDE = 18; //20 |
static const int N_TAR_ALTITUDE = 22; //24 |
static const int N_TAR_STATUS = 26; //28 |
static const int N_TAR_DISTANCE = 27; //32 |
static const int N_TAR_ANGLE = 29; //34 |
|
static const int N_HOME_LONGITUDE = 31; //36 |
static const int N_HOME_LATITUDE = 35; //40 |
static const int N_HOME_ALTITUDE = 39; //44 |
static const int N_HOME_STATUS = 43; //48 |
static const int N_HOME_DISTANCE = 44; //52 |
static const int N_HOME_ANGLE = 46; //54 |
|
static const int N_WP_INDEX = 48; //56 |
static const int N_WP_NUMBER = 49; //57 |
|
static const int N_SATS_IN_USER = 50; //58 |
static const int N_ALTIMETER = 51; //59 |
static const int N_VARIOMETER = 53; //61 |
static const int N_FLYING_TIME = 55; //63 |
static const int N_UBAT = 57; //65 |
static const int N_GROUND_SPEED = 58; //66 |
static const int N_HEADING = 60; //68 |
static const int N_COMAPSS_HEADING = 62; //70 |
static const int N_ANGLE_NICK = 64; //72 |
static const int N_ANGLE_ROLL = 65; //73 |
static const int N_RC_QUALITY = 66; //74 |
static const int N_MK_FLAGS = 67; //75 |
static const int N_NC_FLAGS = 68; //76 |
static const int N_ERRORCODE = 69; //77 |
static const int N_OP_RADIUS = 70; //77 |
static const int N_TOP_SPEED = 71; //77 |
static const int N_HOLD_TIME = 73; //77 |
|
#else |
|
// Positionen der Navidaten im OSD-Datensatz |
//////////////////////////////////////////// |
static const int N_CUR_LONGITUDE = 0; |
static const int N_CUR_LATITUDE = 4; |
static const int N_CUR_ALTITUDE = 8; |
57,16 → 104,21 |
static const int N_MK_FLAGS = 66; //75 |
static const int N_NC_FLAGS = 67; //76 |
static const int N_ERRORCODE = 68; //77 |
static const int N_OP_RADIUS = 70; //77 |
static const int N_TOP_SPEED = 71; //77 |
static const int N_HOLD_TIME = 73; //77 |
#endif |
|
|
// Positionen der Setting-Parameter |
/////////////////////////////////// |
|
#ifdef _BETA_ |
static const int VERSION_SETTINGS = 75; |
static const int VERSION_OSD = 1; |
static const int VERSION_MIXER = 1; |
#else |
static const int VERSION_SETTINGS = 74; |
static const int VERSION_OSD = 0; |
static const int VERSION_MIXER = 1; |
#endif |
|