mirror of https://github.com/ArduPilot/ardupilot
231 lines
6.1 KiB
C
231 lines
6.1 KiB
C
|
//
|
||
|
// THIS FILE WAS AUTOMATICALLY GENERATED - DO NOT EDIT
|
||
|
//
|
||
|
/// @file param_table.c
|
||
|
|
||
|
#pragma pack(push)
|
||
|
#pragma pack(1)
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <avr/pgmspace.h>
|
||
|
#include "global_data.h"
|
||
|
|
||
|
#define PARAM_NAME(_name) static const char _param_ ## _name [] PROGMEM = #_name;
|
||
|
#define PARAM_INDEX(_name) [PARAM_ ## _name] = _param_ ## _name
|
||
|
|
||
|
PARAM_NAME(THR_FS_VALUE);
|
||
|
PARAM_NAME(XTRACK_GAIN);
|
||
|
PARAM_NAME(GND_TEMP);
|
||
|
PARAM_NAME(AP_OFFSET);
|
||
|
PARAM_NAME(TRIM_PITCH);
|
||
|
PARAM_NAME(GND_ABS_PRESS);
|
||
|
PARAM_NAME(PTCH2SRV_D);
|
||
|
PARAM_NAME(PTCH2SRV_IMAX);
|
||
|
PARAM_NAME(ARSPD2PTCH_P);
|
||
|
PARAM_NAME(ALT2THR_P);
|
||
|
PARAM_NAME(ARSPD2PTCH_I);
|
||
|
PARAM_NAME(ALT2THR_I);
|
||
|
PARAM_NAME(ARSPD2PTCH_D);
|
||
|
PARAM_NAME(ALT2THR_D);
|
||
|
PARAM_NAME(ARSPD2PTCH_IMAX);
|
||
|
PARAM_NAME(ALT2PTCH_D);
|
||
|
PARAM_NAME(ALT2THR_IMAX);
|
||
|
PARAM_NAME(YW2SRV_P);
|
||
|
PARAM_NAME(ALT2PTCH_IMAX);
|
||
|
PARAM_NAME(ENRGY2THR_P);
|
||
|
PARAM_NAME(YW2SRV_I);
|
||
|
PARAM_NAME(KFF_PTCHCOMP);
|
||
|
PARAM_NAME(ENRGY2THR_I);
|
||
|
PARAM_NAME(YW2SRV_D);
|
||
|
PARAM_NAME(LIM_PITCH_MIN);
|
||
|
PARAM_NAME(KFF_RDDRMIX);
|
||
|
PARAM_NAME(ENRGY2THR_D);
|
||
|
PARAM_NAME(YW2SRV_IMAX);
|
||
|
PARAM_NAME(ALT_MIX);
|
||
|
PARAM_NAME(KFF_PTCH2THR);
|
||
|
PARAM_NAME(ENRGY2THR_IMAX);
|
||
|
PARAM_NAME(ALT_HOLD_HOME);
|
||
|
PARAM_NAME(GND_ALT);
|
||
|
PARAM_NAME(ALT2PTCH_P);
|
||
|
PARAM_NAME(YAW_MODE);
|
||
|
PARAM_NAME(ARSPD_RATIO);
|
||
|
PARAM_NAME(TRIM_AIRSPEED);
|
||
|
PARAM_NAME(ALT2PTCH_I);
|
||
|
PARAM_NAME(WP_MODE);
|
||
|
PARAM_NAME(IMU_OFFSET_0);
|
||
|
PARAM_NAME(XTRACK_ANGLE);
|
||
|
PARAM_NAME(WP_TOTAL);
|
||
|
PARAM_NAME(IMU_OFFSET_1);
|
||
|
PARAM_NAME(LIM_ROLL);
|
||
|
PARAM_NAME(THR_FAILSAFE);
|
||
|
PARAM_NAME(WP_INDEX);
|
||
|
PARAM_NAME(IMU_OFFSET_2);
|
||
|
PARAM_NAME(LIM_PITCH_MAX);
|
||
|
PARAM_NAME(THR_FS_ACTION);
|
||
|
PARAM_NAME(WP_RADIUS);
|
||
|
PARAM_NAME(IMU_OFFSET_3);
|
||
|
PARAM_NAME(TRIM_THROTTLE);
|
||
|
PARAM_NAME(LOITER_RADIUS);
|
||
|
PARAM_NAME(IMU_OFFSET_4);
|
||
|
PARAM_NAME(CONFIG);
|
||
|
PARAM_NAME(ARSPD_FBW_MIN);
|
||
|
PARAM_NAME(IMU_OFFSET_5);
|
||
|
PARAM_NAME(FLIGHT_MODE_4);
|
||
|
PARAM_NAME(ARSPD_FBW_MAX);
|
||
|
PARAM_NAME(FLIGHT_MODE_5);
|
||
|
PARAM_NAME(TRIM_AUTO);
|
||
|
PARAM_NAME(THR_MIN);
|
||
|
PARAM_NAME(FLIGHT_MODE_6);
|
||
|
PARAM_NAME(SWITCH_ENABLE);
|
||
|
PARAM_NAME(THR_MAX);
|
||
|
PARAM_NAME(RADIOTRIM_CH7);
|
||
|
PARAM_NAME(FIRMWARE_VER);
|
||
|
PARAM_NAME(FLIGHT_MODE_CH);
|
||
|
PARAM_NAME(RADIOTRIM_CH8);
|
||
|
PARAM_NAME(RADIOTRIM_CH1);
|
||
|
PARAM_NAME(FLIGHT_MODE_1);
|
||
|
PARAM_NAME(RADIOMIN_CH1);
|
||
|
PARAM_NAME(RADIOTRIM_CH2);
|
||
|
PARAM_NAME(FLIGHT_MODE_2);
|
||
|
PARAM_NAME(RADIOMAX_CH1);
|
||
|
PARAM_NAME(RADIOMIN_CH2);
|
||
|
PARAM_NAME(RADIOTRIM_CH3);
|
||
|
PARAM_NAME(FLIGHT_MODE_3);
|
||
|
PARAM_NAME(RADIOMAX_CH2);
|
||
|
PARAM_NAME(RADIOMIN_CH3);
|
||
|
PARAM_NAME(RADIOTRIM_CH4);
|
||
|
PARAM_NAME(RADIOMAX_CH3);
|
||
|
PARAM_NAME(RADIOMIN_CH4);
|
||
|
PARAM_NAME(RADIOTRIM_CH5);
|
||
|
PARAM_NAME(RADIOMAX_CH4);
|
||
|
PARAM_NAME(RADIOMIN_CH5);
|
||
|
PARAM_NAME(RADIOTRIM_CH6);
|
||
|
PARAM_NAME(RADIOMAX_CH5);
|
||
|
PARAM_NAME(RADIOMIN_CH6);
|
||
|
PARAM_NAME(RADIOMAX_CH6);
|
||
|
PARAM_NAME(RADIOMIN_CH7);
|
||
|
PARAM_NAME(RADIOMAX_CH7);
|
||
|
PARAM_NAME(RADIOMIN_CH8);
|
||
|
PARAM_NAME(RADIOMAX_CH8);
|
||
|
PARAM_NAME(LOG_BITMASK);
|
||
|
PARAM_NAME(TRIM_ELEVON);
|
||
|
PARAM_NAME(HDNG2RLL_P);
|
||
|
PARAM_NAME(HDNG2RLL_I);
|
||
|
PARAM_NAME(HDNG2RLL_D);
|
||
|
PARAM_NAME(HDNG2RLL_IMAX);
|
||
|
PARAM_NAME(RLL2SRV_P);
|
||
|
PARAM_NAME(RLL2SRV_I);
|
||
|
PARAM_NAME(RLL2SRV_D);
|
||
|
PARAM_NAME(RLL2SRV_IMAX);
|
||
|
PARAM_NAME(PTCH2SRV_P);
|
||
|
PARAM_NAME(PTCH2SRV_I);
|
||
|
|
||
|
const char *param_nametab[] PROGMEM = {
|
||
|
PARAM_INDEX(THR_FS_VALUE),
|
||
|
PARAM_INDEX(XTRACK_GAIN),
|
||
|
PARAM_INDEX(GND_TEMP),
|
||
|
PARAM_INDEX(AP_OFFSET),
|
||
|
PARAM_INDEX(TRIM_PITCH),
|
||
|
PARAM_INDEX(GND_ABS_PRESS),
|
||
|
PARAM_INDEX(PTCH2SRV_D),
|
||
|
PARAM_INDEX(PTCH2SRV_IMAX),
|
||
|
PARAM_INDEX(ARSPD2PTCH_P),
|
||
|
PARAM_INDEX(ARSPD2PTCH_I),
|
||
|
PARAM_INDEX(ALT2THR_P),
|
||
|
PARAM_INDEX(ARSPD2PTCH_D),
|
||
|
PARAM_INDEX(ALT2THR_I),
|
||
|
PARAM_INDEX(ARSPD2PTCH_IMAX),
|
||
|
PARAM_INDEX(ALT2THR_D),
|
||
|
PARAM_INDEX(YW2SRV_P),
|
||
|
PARAM_INDEX(ALT2THR_IMAX),
|
||
|
PARAM_INDEX(ALT2PTCH_D),
|
||
|
PARAM_INDEX(YW2SRV_I),
|
||
|
PARAM_INDEX(ENRGY2THR_P),
|
||
|
PARAM_INDEX(ALT2PTCH_IMAX),
|
||
|
PARAM_INDEX(YW2SRV_D),
|
||
|
PARAM_INDEX(ENRGY2THR_I),
|
||
|
PARAM_INDEX(KFF_PTCHCOMP),
|
||
|
PARAM_INDEX(YW2SRV_IMAX),
|
||
|
PARAM_INDEX(ENRGY2THR_D),
|
||
|
PARAM_INDEX(KFF_RDDRMIX),
|
||
|
PARAM_INDEX(LIM_PITCH_MIN),
|
||
|
PARAM_INDEX(ENRGY2THR_IMAX),
|
||
|
PARAM_INDEX(KFF_PTCH2THR),
|
||
|
PARAM_INDEX(ALT_MIX),
|
||
|
PARAM_INDEX(ALT2PTCH_P),
|
||
|
PARAM_INDEX(GND_ALT),
|
||
|
PARAM_INDEX(ALT_HOLD_HOME),
|
||
|
PARAM_INDEX(ALT2PTCH_I),
|
||
|
PARAM_INDEX(TRIM_AIRSPEED),
|
||
|
PARAM_INDEX(ARSPD_RATIO),
|
||
|
PARAM_INDEX(YAW_MODE),
|
||
|
PARAM_INDEX(XTRACK_ANGLE),
|
||
|
PARAM_INDEX(IMU_OFFSET_0),
|
||
|
PARAM_INDEX(WP_MODE),
|
||
|
PARAM_INDEX(LIM_ROLL),
|
||
|
PARAM_INDEX(IMU_OFFSET_1),
|
||
|
PARAM_INDEX(WP_TOTAL),
|
||
|
PARAM_INDEX(LIM_PITCH_MAX),
|
||
|
PARAM_INDEX(IMU_OFFSET_2),
|
||
|
PARAM_INDEX(WP_INDEX),
|
||
|
PARAM_INDEX(THR_FAILSAFE),
|
||
|
PARAM_INDEX(IMU_OFFSET_3),
|
||
|
PARAM_INDEX(WP_RADIUS),
|
||
|
PARAM_INDEX(THR_FS_ACTION),
|
||
|
PARAM_INDEX(IMU_OFFSET_4),
|
||
|
PARAM_INDEX(LOITER_RADIUS),
|
||
|
PARAM_INDEX(TRIM_THROTTLE),
|
||
|
PARAM_INDEX(FLIGHT_MODE_4),
|
||
|
PARAM_INDEX(IMU_OFFSET_5),
|
||
|
PARAM_INDEX(ARSPD_FBW_MIN),
|
||
|
PARAM_INDEX(CONFIG),
|
||
|
PARAM_INDEX(TRIM_AUTO),
|
||
|
PARAM_INDEX(FLIGHT_MODE_5),
|
||
|
PARAM_INDEX(ARSPD_FBW_MAX),
|
||
|
PARAM_INDEX(SWITCH_ENABLE),
|
||
|
PARAM_INDEX(FLIGHT_MODE_6),
|
||
|
PARAM_INDEX(THR_MIN),
|
||
|
PARAM_INDEX(FLIGHT_MODE_CH),
|
||
|
PARAM_INDEX(FIRMWARE_VER),
|
||
|
PARAM_INDEX(RADIOTRIM_CH7),
|
||
|
PARAM_INDEX(THR_MAX),
|
||
|
PARAM_INDEX(FLIGHT_MODE_1),
|
||
|
PARAM_INDEX(RADIOTRIM_CH1),
|
||
|
PARAM_INDEX(RADIOTRIM_CH8),
|
||
|
PARAM_INDEX(FLIGHT_MODE_2),
|
||
|
PARAM_INDEX(RADIOTRIM_CH2),
|
||
|
PARAM_INDEX(RADIOMIN_CH1),
|
||
|
PARAM_INDEX(FLIGHT_MODE_3),
|
||
|
PARAM_INDEX(RADIOTRIM_CH3),
|
||
|
PARAM_INDEX(RADIOMIN_CH2),
|
||
|
PARAM_INDEX(RADIOMAX_CH1),
|
||
|
PARAM_INDEX(RADIOTRIM_CH4),
|
||
|
PARAM_INDEX(RADIOMIN_CH3),
|
||
|
PARAM_INDEX(RADIOMAX_CH2),
|
||
|
PARAM_INDEX(RADIOTRIM_CH5),
|
||
|
PARAM_INDEX(RADIOMIN_CH4),
|
||
|
PARAM_INDEX(RADIOMAX_CH3),
|
||
|
PARAM_INDEX(RADIOTRIM_CH6),
|
||
|
PARAM_INDEX(RADIOMIN_CH5),
|
||
|
PARAM_INDEX(RADIOMAX_CH4),
|
||
|
PARAM_INDEX(RADIOMIN_CH6),
|
||
|
PARAM_INDEX(RADIOMAX_CH5),
|
||
|
PARAM_INDEX(RADIOMIN_CH7),
|
||
|
PARAM_INDEX(RADIOMAX_CH6),
|
||
|
PARAM_INDEX(RADIOMIN_CH8),
|
||
|
PARAM_INDEX(RADIOMAX_CH7),
|
||
|
PARAM_INDEX(RADIOMAX_CH8),
|
||
|
PARAM_INDEX(LOG_BITMASK),
|
||
|
PARAM_INDEX(TRIM_ELEVON),
|
||
|
PARAM_INDEX(HDNG2RLL_P),
|
||
|
PARAM_INDEX(HDNG2RLL_I),
|
||
|
PARAM_INDEX(HDNG2RLL_D),
|
||
|
PARAM_INDEX(HDNG2RLL_IMAX),
|
||
|
PARAM_INDEX(RLL2SRV_P),
|
||
|
PARAM_INDEX(RLL2SRV_I),
|
||
|
PARAM_INDEX(RLL2SRV_D),
|
||
|
PARAM_INDEX(RLL2SRV_IMAX),
|
||
|
PARAM_INDEX(PTCH2SRV_P),
|
||
|
PARAM_INDEX(PTCH2SRV_I),
|
||
|
};
|