20,6 → 20,48 |
#define PARAMETER_POSITIONS_H |
|
#ifdef _BETA_ |
// 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; |
static const int N_CUR_STATUS = 12; |
|
static const int N_TAR_LONGITUDE = 13; //16 |
static const int N_TAR_LATITUDE = 17; //20 |
static const int N_TAR_ALTITUDE = 21; //24 |
static const int N_TAR_STATUS = 25; //28 |
static const int N_TAR_DISTANCE = 26; //32 |
static const int N_TAR_ANGLE = 28; //34 |
|
static const int N_HOME_LONGITUDE = 30; //36 |
static const int N_HOME_LATITUDE = 34; //40 |
static const int N_HOME_ALTITUDE = 38; //44 |
static const int N_HOME_STATUS = 42; //48 |
static const int N_HOME_DISTANCE = 43; //52 |
static const int N_HOME_ANGLE = 45; //54 |
|
static const int N_WP_INDEX = 47; //56 |
static const int N_WP_NUMBER = 48; //57 |
|
static const int N_SATS_IN_USER = 49; //58 |
static const int N_ALTIMETER = 50; //59 |
static const int N_VARIOMETER = 52; //61 |
static const int N_FLYING_TIME = 54; //63 |
static const int N_UBAT = 56; //65 |
static const int N_GROUND_SPEED = 57; //66 |
static const int N_HEADING = 59; //68 |
static const int N_COMAPSS_HEADING = 61; //70 |
static const int N_ANGLE_NICK = 63; //72 |
static const int N_ANGLE_ROLL = 64; //73 |
static const int N_RC_QUALITY = 65; //74 |
static const int N_MK_FLAGS = 66; //75 |
static const int N_NC_FLAGS = 67; //76 |
static const int N_ERRORCODE = 68; //77 |
|
|
// Positionen der Setting-Parameter |
/////////////////////////////////// |
static const int VERSION_SETTINGS = 74; |
|
static const int MaxParameter = 93; |
111,6 → 153,50 |
static const int P_RESERVED = 77; |
static const int P_NAME = 81; |
#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; |
static const int N_CUR_STATUS = 12; |
|
static const int N_TAR_LONGITUDE = 16; |
static const int N_TAR_LATITUDE = 20; |
static const int N_TAR_ALTITUDE = 24; |
static const int N_TAR_STATUS = 28; |
static const int N_TAR_DISTANCE = 32; |
static const int N_TAR_ANGLE = 34; |
|
static const int N_HOME_LONGITUDE = 36; |
static const int N_HOME_LATITUDE = 40; |
static const int N_HOME_ALTITUDE = 44; |
static const int N_HOME_STATUS = 48; |
static const int N_HOME_DISTANCE = 52; |
static const int N_HOME_ANGLE = 54; |
|
static const int N_WP_INDEX = 56; |
static const int N_WP_NUMBER = 57; |
|
static const int N_SATS_IN_USER = 58; |
static const int N_ALTIMETER = 59; |
static const int N_VARIOMETER = 61; |
static const int N_FLYING_TIME = 63; |
static const int N_UBAT = 65; |
static const int N_GROUND_SPEED = 66; |
static const int N_HEADING = 68; |
static const int N_COMAPSS_HEADING = 70; |
static const int N_ANGLE_NICK = 72; |
static const int N_ANGLE_ROLL = 73; |
static const int N_RC_QUALITY = 74; |
static const int N_MK_FLAGS = 75; |
static const int N_NC_FLAGS = 76; |
static const int N_ERRORCODE = 77; |
|
|
// Positionen der Setting-Parameter |
/////////////////////////////////// |
|
|
static const int P_GYRO_D = 0; |
static const int P_ACHS_KOPPLUNG2 = 0; |
static const int P_NAV_GPS_P_LIMIT = 0; |
118,7 → 204,6 |
static const int P_NAV_GPS_D_LIMIT = 0; |
static const int P_NAV_PH_LOGINTIME = 0; |
|
|
static const int VERSION_SETTINGS = 73; |
|
static const int MaxParameter = 87; |