2016-02-17 21:26:00 -04:00
|
|
|
#pragma once
|
2011-02-17 03:09:13 -04:00
|
|
|
|
2023-01-03 21:39:14 -04:00
|
|
|
#define AP_PARAM_VEHICLE_NAME copter
|
|
|
|
|
2015-08-11 03:28:40 -03:00
|
|
|
#include <AP_Common/AP_Common.h>
|
2019-09-07 20:33:56 -03:00
|
|
|
#include "RC_Channel.h"
|
2021-03-25 05:08:44 -03:00
|
|
|
#include <AP_Proximity/AP_Proximity.h>
|
2011-02-17 03:09:13 -04:00
|
|
|
|
2019-05-09 23:18:49 -03:00
|
|
|
#if MODE_FOLLOW_ENABLED == ENABLED
|
|
|
|
# include <AP_Follow/AP_Follow.h>
|
|
|
|
#endif
|
2022-04-14 06:58:27 -03:00
|
|
|
#if WEATHERVANE_ENABLED == ENABLED
|
|
|
|
#include <AC_AttitudeControl/AC_WeatherVane.h>
|
|
|
|
#endif
|
2019-05-09 23:18:49 -03:00
|
|
|
|
2011-02-17 03:09:13 -04:00
|
|
|
// Global parameter class.
|
|
|
|
//
|
|
|
|
class Parameters {
|
|
|
|
public:
|
2012-08-16 21:50:03 -03:00
|
|
|
// The version of the layout as described by the parameter enum.
|
|
|
|
//
|
|
|
|
// When changing the parameter enum in an incompatible fashion, this
|
|
|
|
// value should be incremented by one.
|
|
|
|
//
|
|
|
|
// The increment will prevent old parameters from being used incorrectly
|
|
|
|
// by newer code.
|
|
|
|
//
|
2012-10-19 04:14:51 -03:00
|
|
|
static const uint16_t k_format_version = 120;
|
2012-07-14 23:26:17 -03:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
// Parameter identities.
|
|
|
|
//
|
|
|
|
// The enumeration defined here is used to ensure that every parameter
|
2020-04-23 01:14:18 -03:00
|
|
|
// or parameter group has a unique ID number. This number is used by
|
2012-12-03 17:26:36 -04:00
|
|
|
// AP_Param to store and locate parameters in EEPROM.
|
2012-08-16 21:50:03 -03:00
|
|
|
//
|
|
|
|
// Note that entries without a number are assigned the next number after
|
2020-04-23 01:14:18 -03:00
|
|
|
// the entry preceding them. When adding new entries, ensure that they
|
2012-08-16 21:50:03 -03:00
|
|
|
// don't overlap.
|
|
|
|
//
|
|
|
|
// Try to group related variables together, and assign them a set
|
2020-04-23 01:14:18 -03:00
|
|
|
// range in the enumeration. Place these groups in numerical order
|
2012-08-16 21:50:03 -03:00
|
|
|
// at the end of the enumeration.
|
|
|
|
//
|
|
|
|
// WARNING: Care should be taken when editing this enumeration as the
|
2020-04-23 01:14:18 -03:00
|
|
|
// AP_Param load/save code depends on the values here to identify
|
|
|
|
// variables saved in EEPROM.
|
2011-07-17 07:30:53 -03:00
|
|
|
//
|
|
|
|
//
|
2012-08-16 21:50:03 -03:00
|
|
|
enum {
|
|
|
|
// Layout version number, always key zero.
|
|
|
|
//
|
|
|
|
k_param_format_version = 0,
|
2018-06-01 22:21:32 -03:00
|
|
|
k_param_software_type, // deprecated
|
2012-11-07 02:20:22 -04:00
|
|
|
k_param_ins_old, // *** Deprecated, remove with next eeprom number change
|
|
|
|
k_param_ins, // libraries/AP_InertialSensor variables
|
2016-07-14 02:08:43 -03:00
|
|
|
k_param_NavEKF2_old, // deprecated - remove
|
2015-09-21 02:28:04 -03:00
|
|
|
k_param_NavEKF2,
|
2016-06-04 23:37:55 -03:00
|
|
|
k_param_g2, // 2nd block of parameters
|
2016-07-14 02:08:43 -03:00
|
|
|
k_param_NavEKF3,
|
2020-05-31 08:47:48 -03:00
|
|
|
k_param_can_mgr,
|
2018-06-23 04:34:25 -03:00
|
|
|
k_param_osd,
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
// simulation
|
|
|
|
k_param_sitl = 10,
|
|
|
|
|
2012-12-18 06:15:11 -04:00
|
|
|
// barometer object (needed for SITL)
|
|
|
|
k_param_barometer,
|
|
|
|
|
2013-01-11 21:01:10 -04:00
|
|
|
// scheduler object (for debugging)
|
|
|
|
k_param_scheduler,
|
|
|
|
|
2013-06-24 23:46:53 -03:00
|
|
|
// relay object
|
|
|
|
k_param_relay,
|
|
|
|
|
2016-10-29 08:01:29 -03:00
|
|
|
// (old) EPM object
|
|
|
|
k_param_epm_unused,
|
2013-12-17 00:58:11 -04:00
|
|
|
|
2014-01-19 21:58:12 -04:00
|
|
|
// BoardConfig object
|
|
|
|
k_param_BoardConfig,
|
|
|
|
|
2014-03-31 16:18:16 -03:00
|
|
|
// GPS object
|
|
|
|
k_param_gps,
|
|
|
|
|
2014-04-02 12:19:54 -03:00
|
|
|
// Parachute object
|
2015-06-13 15:37:07 -03:00
|
|
|
k_param_parachute,
|
2015-01-06 22:53:21 -04:00
|
|
|
|
|
|
|
// Landing gear object
|
|
|
|
k_param_landinggear, // 18
|
2014-04-02 12:19:54 -03:00
|
|
|
|
2015-10-12 11:27:26 -03:00
|
|
|
// Input Management object
|
|
|
|
k_param_input_manager, // 19
|
2015-02-16 00:39:18 -04:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
// Misc
|
|
|
|
//
|
2014-10-16 21:37:49 -03:00
|
|
|
k_param_log_bitmask_old = 20, // Deprecated
|
2012-08-16 21:50:03 -03:00
|
|
|
k_param_log_last_filenumber, // *** Deprecated - remove
|
|
|
|
// with next eeprom number
|
|
|
|
// change
|
2013-10-29 01:30:56 -03:00
|
|
|
k_param_toy_yaw_rate, // deprecated - remove
|
2020-04-23 01:14:18 -03:00
|
|
|
k_param_crosstrack_min_distance, // deprecated - remove with next eeprom number change
|
2015-08-28 03:00:55 -03:00
|
|
|
k_param_rssi_pin, // unused, replaced by rssi_ library parameters
|
2013-07-12 10:57:30 -03:00
|
|
|
k_param_throttle_accel_enabled, // deprecated - remove
|
2013-04-18 03:30:18 -03:00
|
|
|
k_param_wp_yaw_behavior,
|
2013-08-04 06:14:07 -03:00
|
|
|
k_param_acro_trainer,
|
2021-09-03 20:44:25 -03:00
|
|
|
k_param_pilot_speed_up, // renamed from k_param_pilot_velocity_z_max
|
|
|
|
k_param_circle_rate, // deprecated - remove
|
|
|
|
k_param_rangefinder_gain, // deprecated - remove
|
|
|
|
k_param_ch8_option_old, // deprecated
|
2017-01-09 03:45:48 -04:00
|
|
|
k_param_arming_check_old, // deprecated - remove
|
2013-08-11 00:51:08 -03:00
|
|
|
k_param_sprayer,
|
2013-08-15 01:04:43 -03:00
|
|
|
k_param_angle_max,
|
2013-10-01 10:34:44 -03:00
|
|
|
k_param_gps_hdop_good,
|
|
|
|
k_param_battery,
|
2018-02-28 19:32:16 -04:00
|
|
|
k_param_fs_batt_mah, // unused - moved to AP_BattMonitor
|
2014-02-03 03:39:43 -04:00
|
|
|
k_param_angle_rate_max, // remove
|
2015-08-28 03:00:55 -03:00
|
|
|
k_param_rssi_range, // unused, replaced by rssi_ library parameters
|
2017-06-26 05:48:04 -03:00
|
|
|
k_param_rc_feel_rp, // deprecated
|
2016-07-14 02:08:43 -03:00
|
|
|
k_param_NavEKF, // deprecated - remove
|
2014-02-27 21:15:40 -04:00
|
|
|
k_param_mission, // mission library
|
2017-01-06 21:06:40 -04:00
|
|
|
k_param_rc_13_old,
|
|
|
|
k_param_rc_14_old,
|
2014-04-11 05:15:09 -03:00
|
|
|
k_param_rally,
|
2014-07-11 02:08:09 -03:00
|
|
|
k_param_poshold_brake_rate,
|
|
|
|
k_param_poshold_brake_angle_max,
|
2014-07-06 06:05:43 -03:00
|
|
|
k_param_pilot_accel_z,
|
2015-01-19 09:52:54 -04:00
|
|
|
k_param_serial0_baud, // deprecated - remove
|
|
|
|
k_param_serial1_baud, // deprecated - remove
|
|
|
|
k_param_serial2_baud, // deprecated - remove
|
2014-07-21 07:07:15 -03:00
|
|
|
k_param_land_repositioning,
|
2016-04-27 08:37:04 -03:00
|
|
|
k_param_rangefinder, // rangefinder object
|
2015-06-09 22:16:52 -03:00
|
|
|
k_param_fs_ekf_thresh,
|
2014-07-22 05:22:36 -03:00
|
|
|
k_param_terrain,
|
2022-06-15 00:08:53 -03:00
|
|
|
k_param_acro_rp_expo, // deprecated - remove
|
2014-10-16 04:18:06 -03:00
|
|
|
k_param_throttle_deadzone,
|
|
|
|
k_param_optflow,
|
2015-03-27 03:23:17 -03:00
|
|
|
k_param_dcmcheck_thresh, // deprecated - remove
|
2014-10-16 21:37:49 -03:00
|
|
|
k_param_log_bitmask,
|
2017-08-11 01:08:41 -03:00
|
|
|
k_param_cli_enabled_old, // deprecated - remove
|
2015-04-30 03:04:17 -03:00
|
|
|
k_param_throttle_filt,
|
|
|
|
k_param_throttle_behavior,
|
2015-04-30 03:06:55 -03:00
|
|
|
k_param_pilot_takeoff_alt, // 64
|
2012-11-10 01:55:51 -04:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
// 65: AP_Limits Library
|
2013-04-26 10:57:05 -03:00
|
|
|
k_param_limits = 65, // deprecated - remove
|
|
|
|
k_param_gpslock_limit, // deprecated - remove
|
|
|
|
k_param_geofence_limit, // deprecated - remove
|
|
|
|
k_param_altitude_limit, // deprecated - remove
|
2022-03-04 12:36:07 -04:00
|
|
|
k_param_fence_old, // only used for conversion
|
2015-03-12 23:05:30 -03:00
|
|
|
k_param_gps_glitch, // deprecated
|
2015-03-12 08:09:23 -03:00
|
|
|
k_param_baro_glitch, // 71 - deprecated
|
2012-08-16 21:50:03 -03:00
|
|
|
|
2015-11-25 19:22:21 -04:00
|
|
|
// AP_ADSB Library
|
|
|
|
k_param_adsb, // 72
|
2015-12-03 16:48:03 -04:00
|
|
|
k_param_notify, // 73
|
2015-11-25 19:22:21 -04:00
|
|
|
|
2015-10-12 11:27:26 -03:00
|
|
|
// 74: precision landing object
|
|
|
|
k_param_precland = 74,
|
|
|
|
|
2013-11-12 09:52:41 -04:00
|
|
|
//
|
2014-02-06 10:41:13 -04:00
|
|
|
// 75: Singlecopter, CoaxCopter
|
2013-11-12 09:52:41 -04:00
|
|
|
//
|
2016-01-20 08:12:31 -04:00
|
|
|
k_param_single_servo_1 = 75, // remove
|
|
|
|
k_param_single_servo_2, // remove
|
|
|
|
k_param_single_servo_3, // remove
|
|
|
|
k_param_single_servo_4, // 78 - remove
|
2013-11-12 09:52:41 -04:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
//
|
|
|
|
// 80: Heli
|
|
|
|
//
|
2016-02-08 07:15:48 -04:00
|
|
|
k_param_heli_servo_1 = 80, // remove
|
|
|
|
k_param_heli_servo_2, // remove
|
|
|
|
k_param_heli_servo_3, // remove
|
|
|
|
k_param_heli_servo_4, // remove
|
2014-02-03 03:39:43 -04:00
|
|
|
k_param_heli_pitch_ff, // remove
|
|
|
|
k_param_heli_roll_ff, // remove
|
|
|
|
k_param_heli_yaw_ff, // remove
|
2015-10-12 22:05:49 -03:00
|
|
|
k_param_heli_stab_col_min, // remove
|
|
|
|
k_param_heli_stab_col_max, // remove
|
2016-02-08 07:15:48 -04:00
|
|
|
k_param_heli_servo_rsc, // 89 = full! - remove
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
//
|
2015-08-30 23:15:46 -03:00
|
|
|
// 90: misc2
|
2012-08-16 21:50:03 -03:00
|
|
|
//
|
|
|
|
k_param_motors = 90,
|
2015-08-30 22:44:08 -03:00
|
|
|
k_param_disarm_delay,
|
2015-08-30 23:15:46 -03:00
|
|
|
k_param_fs_crash_check,
|
2015-12-18 05:46:56 -04:00
|
|
|
k_param_throw_motor_start,
|
2019-12-11 23:36:49 -04:00
|
|
|
k_param_rtl_alt_type,
|
2016-06-20 05:27:14 -03:00
|
|
|
k_param_avoid,
|
2016-07-21 09:44:09 -03:00
|
|
|
k_param_avoidance_adsb,
|
2012-08-16 21:50:03 -03:00
|
|
|
|
2015-08-28 03:00:55 -03:00
|
|
|
// 97: RSSI
|
|
|
|
k_param_rssi = 97,
|
|
|
|
|
2012-11-07 06:03:30 -04:00
|
|
|
//
|
|
|
|
// 100: Inertial Nav
|
|
|
|
//
|
2015-03-12 10:24:40 -03:00
|
|
|
k_param_inertial_nav = 100, // deprecated
|
2014-01-10 10:29:55 -04:00
|
|
|
k_param_wp_nav,
|
|
|
|
k_param_attitude_control,
|
|
|
|
k_param_pos_control,
|
2018-03-27 23:13:37 -03:00
|
|
|
k_param_circle_nav,
|
|
|
|
k_param_loiter_nav, // 105
|
2022-07-16 22:49:47 -03:00
|
|
|
k_param_custom_control,
|
2012-11-07 06:03:30 -04:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
// 110: Telemetry control
|
|
|
|
//
|
|
|
|
k_param_gcs0 = 110,
|
2013-11-23 06:45:42 -04:00
|
|
|
k_param_gcs1,
|
2012-08-16 21:50:03 -03:00
|
|
|
k_param_sysid_this_mav,
|
|
|
|
k_param_sysid_my_gcs,
|
2014-05-20 23:39:34 -03:00
|
|
|
k_param_serial1_baud_old, // deprecated
|
2012-08-29 20:03:01 -03:00
|
|
|
k_param_telem_delay,
|
2013-11-23 06:45:42 -04:00
|
|
|
k_param_gcs2,
|
2014-05-20 23:39:34 -03:00
|
|
|
k_param_serial2_baud_old, // deprecated
|
2015-01-19 09:52:54 -04:00
|
|
|
k_param_serial2_protocol, // deprecated
|
2024-02-27 19:03:43 -04:00
|
|
|
k_param_serial_manager_old,
|
2018-06-04 00:06:32 -03:00
|
|
|
k_param_ch9_option_old,
|
|
|
|
k_param_ch10_option_old,
|
|
|
|
k_param_ch11_option_old,
|
|
|
|
k_param_ch12_option_old,
|
2018-12-31 00:18:14 -04:00
|
|
|
k_param_takeoff_trigger_dz_old,
|
2015-06-13 15:37:07 -03:00
|
|
|
k_param_gcs3,
|
|
|
|
k_param_gcs_pid_mask, // 126
|
2020-12-22 15:43:42 -04:00
|
|
|
k_param_gcs4,
|
|
|
|
k_param_gcs5,
|
|
|
|
k_param_gcs6,
|
2012-08-16 21:50:03 -03:00
|
|
|
|
2015-06-14 02:47:02 -03:00
|
|
|
//
|
|
|
|
// 135 : reserved for Solo until features merged with master
|
|
|
|
//
|
|
|
|
k_param_rtl_speed_cms = 135,
|
2016-01-06 03:00:29 -04:00
|
|
|
k_param_fs_batt_curr_rtl,
|
|
|
|
k_param_rtl_cone_slope, // 137
|
2015-06-13 15:33:35 -03:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
//
|
|
|
|
// 140: Sensor parameters
|
|
|
|
//
|
2012-11-05 00:32:38 -04:00
|
|
|
k_param_imu = 140, // deprecated - can be deleted
|
2013-10-01 10:34:44 -03:00
|
|
|
k_param_battery_monitoring = 141, // deprecated - can be deleted
|
|
|
|
k_param_volt_div_ratio, // deprecated - can be deleted
|
|
|
|
k_param_curr_amp_per_volt, // deprecated - can be deleted
|
2013-03-03 10:23:54 -04:00
|
|
|
k_param_input_voltage, // deprecated - can be deleted
|
2013-10-01 10:34:44 -03:00
|
|
|
k_param_pack_capacity, // deprecated - can be deleted
|
2019-03-24 00:26:33 -03:00
|
|
|
k_param_compass_enabled_deprecated,
|
2012-08-16 21:50:03 -03:00
|
|
|
k_param_compass,
|
2016-04-27 08:37:04 -03:00
|
|
|
k_param_rangefinder_enabled_old, // deprecated
|
2016-12-14 21:26:36 -04:00
|
|
|
k_param_frame_type,
|
2014-07-11 23:32:00 -03:00
|
|
|
k_param_optflow_enabled, // deprecated
|
2018-02-28 19:32:16 -04:00
|
|
|
k_param_fs_batt_voltage, // unused - moved to AP_BattMonitor
|
2018-06-04 00:06:32 -03:00
|
|
|
k_param_ch7_option_old,
|
2013-05-17 04:09:17 -03:00
|
|
|
k_param_auto_slew_rate, // deprecated - can be deleted
|
2016-04-27 08:37:04 -03:00
|
|
|
k_param_rangefinder_type_old, // deprecated
|
2012-10-13 06:40:46 -03:00
|
|
|
k_param_super_simple = 155,
|
2013-08-04 08:06:55 -03:00
|
|
|
k_param_axis_enabled = 157, // deprecated - remove with next eeprom number change
|
2013-11-27 23:59:05 -04:00
|
|
|
k_param_copter_leds_mode, // deprecated - remove with next eeprom number change
|
2013-10-01 10:34:44 -03:00
|
|
|
k_param_ahrs, // AHRS group // 159
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
//
|
|
|
|
// 160: Navigation parameters
|
|
|
|
//
|
2012-11-29 08:08:19 -04:00
|
|
|
k_param_rtl_altitude = 160,
|
2020-04-23 01:14:18 -03:00
|
|
|
k_param_crosstrack_gain, // deprecated - remove with next eeprom number change
|
2012-11-29 08:08:19 -04:00
|
|
|
k_param_rtl_loiter_time,
|
|
|
|
k_param_rtl_alt_final,
|
2020-04-23 01:14:18 -03:00
|
|
|
k_param_tilt_comp, // 164 deprecated - remove with next eeprom number change
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Camera and mount parameters
|
|
|
|
//
|
|
|
|
k_param_camera = 165,
|
|
|
|
k_param_camera_mount,
|
2014-12-16 08:23:33 -04:00
|
|
|
k_param_camera_mount2, // deprecated
|
2012-08-16 21:50:03 -03:00
|
|
|
|
2012-10-13 06:40:46 -03:00
|
|
|
//
|
2019-03-25 20:57:55 -03:00
|
|
|
// Battery monitoring parameters
|
2012-10-13 06:40:46 -03:00
|
|
|
//
|
2013-10-01 10:34:44 -03:00
|
|
|
k_param_battery_volt_pin = 168, // deprecated - can be deleted
|
|
|
|
k_param_battery_curr_pin, // 169 deprecated - can be deleted
|
2012-10-13 06:40:46 -03:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
//
|
|
|
|
// 170: Radio settings
|
|
|
|
//
|
2017-01-06 21:06:40 -04:00
|
|
|
k_param_rc_1_old = 170,
|
|
|
|
k_param_rc_2_old,
|
|
|
|
k_param_rc_3_old,
|
|
|
|
k_param_rc_4_old,
|
|
|
|
k_param_rc_5_old,
|
|
|
|
k_param_rc_6_old,
|
|
|
|
k_param_rc_7_old,
|
|
|
|
k_param_rc_8_old,
|
|
|
|
k_param_rc_10_old,
|
|
|
|
k_param_rc_11_old,
|
2016-06-09 09:48:21 -03:00
|
|
|
k_param_throttle_min, // remove
|
2015-03-16 01:35:57 -03:00
|
|
|
k_param_throttle_max, // remove
|
2012-12-10 10:38:43 -04:00
|
|
|
k_param_failsafe_throttle,
|
|
|
|
k_param_throttle_fs_action, // remove
|
|
|
|
k_param_failsafe_throttle_value,
|
2015-01-31 03:04:54 -04:00
|
|
|
k_param_throttle_trim, // remove
|
2012-08-16 21:50:03 -03:00
|
|
|
k_param_esc_calibrate,
|
|
|
|
k_param_radio_tuning,
|
2019-04-03 09:32:26 -03:00
|
|
|
k_param_radio_tuning_high_old, // unused
|
|
|
|
k_param_radio_tuning_low_old, // unused
|
2012-08-16 21:50:03 -03:00
|
|
|
k_param_rc_speed = 192,
|
2018-02-28 19:32:16 -04:00
|
|
|
k_param_failsafe_battery_enabled, // unused - moved to AP_BattMonitor
|
2016-06-09 10:09:55 -03:00
|
|
|
k_param_throttle_mid, // remove
|
2015-03-12 23:05:30 -03:00
|
|
|
k_param_failsafe_gps_enabled, // remove
|
2017-01-06 21:06:40 -04:00
|
|
|
k_param_rc_9_old,
|
|
|
|
k_param_rc_12_old,
|
2015-06-13 15:37:07 -03:00
|
|
|
k_param_failsafe_gcs,
|
2015-04-16 01:54:29 -03:00
|
|
|
k_param_rcmap, // 199
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
//
|
|
|
|
// 200: flight modes
|
|
|
|
//
|
|
|
|
k_param_flight_mode1 = 200,
|
|
|
|
k_param_flight_mode2,
|
|
|
|
k_param_flight_mode3,
|
|
|
|
k_param_flight_mode4,
|
|
|
|
k_param_flight_mode5,
|
|
|
|
k_param_flight_mode6,
|
|
|
|
k_param_simple_modes,
|
2017-04-10 05:39:10 -03:00
|
|
|
k_param_flight_mode_chan,
|
2020-11-02 13:46:01 -04:00
|
|
|
k_param_initial_mode,
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
//
|
|
|
|
// 210: Waypoint data
|
|
|
|
//
|
|
|
|
k_param_waypoint_mode = 210, // remove
|
2014-02-27 21:15:40 -04:00
|
|
|
k_param_command_total, // remove
|
|
|
|
k_param_command_index, // remove
|
2012-12-10 08:45:57 -04:00
|
|
|
k_param_command_nav_index, // remove
|
2013-04-14 01:27:37 -03:00
|
|
|
k_param_waypoint_radius, // remove
|
2014-02-03 03:39:43 -04:00
|
|
|
k_param_circle_radius, // remove
|
2013-04-14 01:27:37 -03:00
|
|
|
k_param_waypoint_speed_max, // remove
|
2012-12-21 23:52:49 -04:00
|
|
|
k_param_land_speed,
|
2013-04-18 02:52:21 -03:00
|
|
|
k_param_auto_velocity_z_min, // remove
|
|
|
|
k_param_auto_velocity_z_max, // remove - 219
|
2016-03-29 22:03:41 -03:00
|
|
|
k_param_land_speed_high,
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
//
|
|
|
|
// 220: PI/D Controllers
|
|
|
|
//
|
2021-09-17 02:54:19 -03:00
|
|
|
k_param_acro_rp_p = 221, // remove
|
|
|
|
k_param_axis_lock_p, // remove
|
2016-02-12 20:08:14 -04:00
|
|
|
k_param_pid_rate_roll, // remove
|
|
|
|
k_param_pid_rate_pitch, // remove
|
|
|
|
k_param_pid_rate_yaw, // remove
|
|
|
|
k_param_p_stabilize_roll, // remove
|
|
|
|
k_param_p_stabilize_pitch, // remove
|
|
|
|
k_param_p_stabilize_yaw, // remove
|
2017-11-20 21:49:11 -04:00
|
|
|
k_param_p_pos_xy, // remove
|
2014-02-14 03:08:59 -04:00
|
|
|
k_param_p_loiter_lon, // remove
|
2015-01-29 02:51:21 -04:00
|
|
|
k_param_pid_loiter_rate_lat, // remove
|
|
|
|
k_param_pid_loiter_rate_lon, // remove
|
2015-06-13 15:37:07 -03:00
|
|
|
k_param_pid_nav_lat, // remove
|
|
|
|
k_param_pid_nav_lon, // remove
|
2017-11-20 21:49:11 -04:00
|
|
|
k_param_p_alt_hold, // remove
|
|
|
|
k_param_p_vel_z, // remove
|
2015-06-13 15:37:07 -03:00
|
|
|
k_param_pid_optflow_roll, // remove
|
|
|
|
k_param_pid_optflow_pitch, // remove
|
|
|
|
k_param_acro_balance_roll_old, // remove
|
|
|
|
k_param_acro_balance_pitch_old, // remove
|
2017-11-20 21:49:11 -04:00
|
|
|
k_param_pid_accel_z, // remove
|
2013-08-04 06:14:07 -03:00
|
|
|
k_param_acro_balance_roll,
|
2013-08-04 08:22:12 -03:00
|
|
|
k_param_acro_balance_pitch,
|
2022-06-15 14:14:31 -03:00
|
|
|
k_param_acro_yaw_p, // remove
|
2018-12-12 23:53:56 -04:00
|
|
|
k_param_autotune_axis_bitmask, // remove
|
|
|
|
k_param_autotune_aggressiveness, // remove
|
2017-11-20 07:26:32 -04:00
|
|
|
k_param_pi_vel_xy, // remove
|
2015-07-12 22:39:54 -03:00
|
|
|
k_param_fs_ekf_action,
|
2015-08-23 02:44:45 -03:00
|
|
|
k_param_rtl_climb_min,
|
2015-08-07 02:34:56 -03:00
|
|
|
k_param_rpm_sensor,
|
2018-12-12 23:53:56 -04:00
|
|
|
k_param_autotune_min_d, // remove
|
2017-01-09 03:45:48 -04:00
|
|
|
k_param_arming, // 252 - AP_Arming
|
2019-01-18 00:23:42 -04:00
|
|
|
k_param_logger = 253, // 253 - Logging Group
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
// 254,255: reserved
|
2016-07-21 09:44:09 -03:00
|
|
|
|
2019-11-10 16:13:17 -04:00
|
|
|
k_param_vehicle = 257, // vehicle common block of parameters
|
2024-01-02 18:49:18 -04:00
|
|
|
k_param_throw_altitude_min,
|
|
|
|
k_param_throw_altitude_max,
|
2019-11-10 16:13:17 -04:00
|
|
|
|
2016-07-21 09:44:09 -03:00
|
|
|
// the k_param_* space is 9-bits in size
|
|
|
|
// 511: reserved
|
2012-08-16 21:50:03 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
AP_Int16 format_version;
|
|
|
|
|
|
|
|
// Telemetry control
|
|
|
|
//
|
|
|
|
AP_Int16 sysid_this_mav;
|
|
|
|
AP_Int16 sysid_my_gcs;
|
2012-08-29 20:03:01 -03:00
|
|
|
AP_Int8 telem_delay;
|
2012-08-16 21:50:03 -03:00
|
|
|
|
2015-04-16 01:54:29 -03:00
|
|
|
AP_Float throttle_filt;
|
2015-04-30 03:04:17 -03:00
|
|
|
AP_Int16 throttle_behavior;
|
2015-04-30 03:06:55 -03:00
|
|
|
AP_Float pilot_takeoff_alt;
|
2015-04-16 01:54:29 -03:00
|
|
|
|
2021-01-07 08:18:31 -04:00
|
|
|
#if MODE_RTL_ENABLED == ENABLED
|
2021-09-15 01:00:54 -03:00
|
|
|
AP_Int32 rtl_altitude;
|
2015-10-19 21:19:37 -03:00
|
|
|
AP_Int16 rtl_speed_cms;
|
2016-01-06 03:00:29 -04:00
|
|
|
AP_Float rtl_cone_slope;
|
2021-01-07 08:18:31 -04:00
|
|
|
AP_Int16 rtl_alt_final;
|
|
|
|
AP_Int16 rtl_climb_min; // rtl minimum climb in cm
|
|
|
|
AP_Int32 rtl_loiter_time;
|
2022-07-16 11:11:58 -03:00
|
|
|
AP_Enum<ModeRTL::RTLAltType> rtl_alt_type;
|
2021-01-07 08:18:31 -04:00
|
|
|
#endif
|
|
|
|
|
2013-04-29 09:30:22 -03:00
|
|
|
AP_Int8 failsafe_gcs; // ground station failsafe behavior
|
2013-10-13 01:53:26 -03:00
|
|
|
AP_Int16 gps_hdop_good; // GPS Hdop value at or below this value represent a good position
|
2012-11-13 10:43:54 -04:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
AP_Int8 super_simple;
|
|
|
|
|
2013-04-18 03:30:18 -03:00
|
|
|
AP_Int8 wp_yaw_behavior; // controls how the autopilot controls yaw during missions
|
2014-04-11 05:15:09 -03:00
|
|
|
|
2021-01-06 09:00:44 -04:00
|
|
|
#if MODE_POSHOLD_ENABLED == ENABLED
|
2014-07-11 02:08:09 -03:00
|
|
|
AP_Int16 poshold_brake_rate; // PosHold flight mode's rotation rate during braking in deg/sec
|
|
|
|
AP_Int16 poshold_brake_angle_max; // PosHold flight mode's max lean angle during braking in centi-degrees
|
2021-01-06 09:00:44 -04:00
|
|
|
#endif
|
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
// Waypoints
|
|
|
|
//
|
2012-11-24 09:50:09 -04:00
|
|
|
AP_Int16 land_speed;
|
2016-03-29 22:03:41 -03:00
|
|
|
AP_Int16 land_speed_high;
|
2017-11-08 09:25:53 -04:00
|
|
|
AP_Int16 pilot_speed_up; // maximum vertical ascending velocity the pilot may request
|
2014-04-30 00:05:02 -03:00
|
|
|
AP_Int16 pilot_accel_z; // vertical acceleration the pilot may request
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
// Throttle
|
|
|
|
//
|
2012-12-10 10:38:43 -04:00
|
|
|
AP_Int8 failsafe_throttle;
|
|
|
|
AP_Int16 failsafe_throttle_value;
|
2013-10-27 10:13:42 -03:00
|
|
|
AP_Int16 throttle_deadzone;
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
// Flight modes
|
|
|
|
//
|
|
|
|
AP_Int8 flight_mode1;
|
|
|
|
AP_Int8 flight_mode2;
|
|
|
|
AP_Int8 flight_mode3;
|
|
|
|
AP_Int8 flight_mode4;
|
|
|
|
AP_Int8 flight_mode5;
|
|
|
|
AP_Int8 flight_mode6;
|
|
|
|
AP_Int8 simple_modes;
|
2017-04-10 05:39:10 -03:00
|
|
|
AP_Int8 flight_mode_chan;
|
2020-11-02 13:46:01 -04:00
|
|
|
AP_Int8 initial_mode;
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
// Misc
|
|
|
|
//
|
2014-10-16 21:37:49 -03:00
|
|
|
AP_Int32 log_bitmask;
|
2012-08-16 21:50:03 -03:00
|
|
|
AP_Int8 esc_calibrate;
|
|
|
|
AP_Int8 radio_tuning;
|
2016-12-14 21:26:36 -04:00
|
|
|
AP_Int8 frame_type;
|
2015-08-30 22:44:08 -03:00
|
|
|
AP_Int8 disarm_delay;
|
2012-08-16 21:50:03 -03:00
|
|
|
|
2014-07-06 06:05:43 -03:00
|
|
|
AP_Int8 land_repositioning;
|
2015-06-09 23:39:06 -03:00
|
|
|
AP_Int8 fs_ekf_action;
|
2015-08-30 23:15:46 -03:00
|
|
|
AP_Int8 fs_crash_check;
|
2015-06-09 22:16:52 -03:00
|
|
|
AP_Float fs_ekf_thresh;
|
2015-05-27 01:32:05 -03:00
|
|
|
AP_Int16 gcs_pid_mask;
|
2014-07-06 06:05:43 -03:00
|
|
|
|
2018-03-14 17:16:16 -03:00
|
|
|
#if MODE_THROW_ENABLED == ENABLED
|
2020-12-05 03:18:28 -04:00
|
|
|
AP_Enum<ModeThrow::PreThrowMotorState> throw_motor_start;
|
2024-01-02 18:49:18 -04:00
|
|
|
AP_Int16 throw_altitude_min; // minimum altitude in m above which a throw can be detected
|
|
|
|
AP_Int16 throw_altitude_max; // maximum altitude in m below which a throw can be detected
|
2018-03-14 17:16:16 -03:00
|
|
|
#endif
|
2018-03-15 09:39:26 -03:00
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
AP_Int16 rc_speed; // speed of fast RC Channels in Hz
|
|
|
|
|
2021-09-17 02:54:19 -03:00
|
|
|
#if MODE_ACRO_ENABLED == ENABLED || MODE_SPORT_ENABLED == ENABLED
|
2012-10-23 09:30:50 -03:00
|
|
|
// Acro parameters
|
2013-08-04 06:14:07 -03:00
|
|
|
AP_Float acro_balance_roll;
|
|
|
|
AP_Float acro_balance_pitch;
|
2021-09-17 02:54:19 -03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if MODE_ACRO_ENABLED == ENABLED
|
|
|
|
// Acro parameters
|
2013-08-04 06:14:07 -03:00
|
|
|
AP_Int8 acro_trainer;
|
2021-09-17 02:54:19 -03:00
|
|
|
#endif
|
2012-08-16 21:50:03 -03:00
|
|
|
|
|
|
|
// Note: keep initializers here in the same order as they are declared
|
|
|
|
// above.
|
2017-11-20 21:49:11 -04:00
|
|
|
Parameters()
|
2012-08-16 21:50:03 -03:00
|
|
|
{
|
|
|
|
}
|
2011-02-17 03:09:13 -04:00
|
|
|
};
|
|
|
|
|
2016-06-04 23:37:55 -03:00
|
|
|
/*
|
|
|
|
2nd block of parameters, to avoid going past 256 top level keys
|
|
|
|
*/
|
|
|
|
class ParametersG2 {
|
|
|
|
public:
|
2016-08-16 07:23:27 -03:00
|
|
|
ParametersG2(void);
|
2016-06-04 23:37:55 -03:00
|
|
|
|
|
|
|
// var_info for holding Parameter information
|
|
|
|
static const struct AP_Param::GroupInfo var_info[];
|
2022-12-30 22:11:31 -04:00
|
|
|
static const struct AP_Param::GroupInfo var_info2[];
|
2016-06-04 23:37:55 -03:00
|
|
|
|
|
|
|
// altitude at which nav control can start in takeoff
|
2016-08-15 00:57:38 -03:00
|
|
|
AP_Float wp_navalt_min;
|
2016-07-21 22:24:13 -03:00
|
|
|
|
|
|
|
// button checking
|
2021-08-12 00:38:21 -03:00
|
|
|
#if HAL_BUTTON_ENABLED
|
2019-11-27 18:34:07 -04:00
|
|
|
AP_Button *button_ptr;
|
2021-08-12 00:38:21 -03:00
|
|
|
#endif
|
2016-10-28 19:08:22 -03:00
|
|
|
|
2018-03-14 17:16:16 -03:00
|
|
|
#if MODE_THROW_ENABLED == ENABLED
|
2016-08-01 23:26:48 -03:00
|
|
|
// Throw mode parameters
|
2016-08-01 09:42:09 -03:00
|
|
|
AP_Int8 throw_nextmode;
|
2020-12-05 03:10:00 -04:00
|
|
|
AP_Enum<ModeThrow::ThrowType> throw_type;
|
2018-03-14 17:16:16 -03:00
|
|
|
#endif
|
2016-08-08 05:16:36 -03:00
|
|
|
|
|
|
|
// ground effect compensation enable/disable
|
|
|
|
AP_Int8 gndeffect_comp_enabled;
|
2016-08-16 07:23:27 -03:00
|
|
|
|
2023-11-02 22:06:20 -03:00
|
|
|
#if AP_TEMPCALIBRATION_ENABLED
|
2018-04-10 23:31:17 -03:00
|
|
|
// temperature calibration handling
|
|
|
|
AP_TempCalibration temp_calibration;
|
2023-11-02 22:06:20 -03:00
|
|
|
#endif
|
2018-04-10 23:31:17 -03:00
|
|
|
|
2023-04-09 04:39:19 -03:00
|
|
|
#if AP_BEACON_ENABLED
|
2017-01-04 06:58:53 -04:00
|
|
|
// beacon (non-GPS positioning) library
|
|
|
|
AP_Beacon beacon;
|
2018-02-22 00:53:20 -04:00
|
|
|
#endif
|
2017-01-04 06:58:53 -04:00
|
|
|
|
2021-03-25 05:08:44 -03:00
|
|
|
#if HAL_PROXIMITY_ENABLED
|
2016-10-14 02:02:29 -03:00
|
|
|
// proximity (aka object avoidance) library
|
|
|
|
AP_Proximity proximity;
|
|
|
|
#endif
|
|
|
|
|
2016-08-19 01:36:47 -03:00
|
|
|
// whether to enforce acceptance of packets only from sysid_my_gcs
|
|
|
|
AP_Int8 sysid_enforce;
|
|
|
|
|
2016-08-16 07:23:27 -03:00
|
|
|
#if ADVANCED_FAILSAFE == ENABLED
|
|
|
|
// advanced failsafe library
|
|
|
|
AP_AdvancedFailsafe_Copter afs;
|
|
|
|
#endif
|
2016-09-12 03:23:53 -03:00
|
|
|
|
|
|
|
// developer options
|
|
|
|
AP_Int32 dev_options;
|
2016-06-22 01:16:28 -03:00
|
|
|
|
2018-03-22 15:39:26 -03:00
|
|
|
#if MODE_ACRO_ENABLED == ENABLED
|
2016-06-22 01:16:28 -03:00
|
|
|
AP_Float acro_thr_mid;
|
2018-03-22 15:39:26 -03:00
|
|
|
#endif
|
2016-12-12 06:22:56 -04:00
|
|
|
|
|
|
|
// frame class
|
|
|
|
AP_Int8 frame_class;
|
2017-01-06 21:06:40 -04:00
|
|
|
|
|
|
|
// RC input channels
|
2018-06-04 00:06:32 -03:00
|
|
|
RC_Channels_Copter rc_channels;
|
2017-01-06 21:06:40 -04:00
|
|
|
|
|
|
|
// control over servo output ranges
|
|
|
|
SRV_Channels servo_channels;
|
2017-07-26 14:14:40 -03:00
|
|
|
|
2018-02-21 23:58:28 -04:00
|
|
|
#if MODE_SMARTRTL_ENABLED == ENABLED
|
2017-07-26 14:14:40 -03:00
|
|
|
// Safe RTL library
|
2017-09-08 23:45:31 -03:00
|
|
|
AP_SmartRTL smart_rtl;
|
2018-02-21 23:58:28 -04:00
|
|
|
#endif
|
2017-10-04 23:21:23 -03:00
|
|
|
|
|
|
|
// wheel encoder and winch
|
2023-03-03 00:13:14 -04:00
|
|
|
#if AP_WINCH_ENABLED
|
2017-10-04 23:21:23 -03:00
|
|
|
AP_Winch winch;
|
2018-02-10 10:23:06 -04:00
|
|
|
#endif
|
2017-11-08 09:25:53 -04:00
|
|
|
|
|
|
|
// Additional pilot velocity items
|
|
|
|
AP_Int16 pilot_speed_dn;
|
2018-01-23 08:33:24 -04:00
|
|
|
|
|
|
|
// Land alt final stage
|
|
|
|
AP_Int16 land_alt_low;
|
2017-04-13 00:20:12 -03:00
|
|
|
|
2018-01-18 02:49:20 -04:00
|
|
|
#if TOY_MODE_ENABLED == ENABLED
|
|
|
|
ToyMode toy_mode;
|
|
|
|
#endif
|
2018-02-07 22:21:09 -04:00
|
|
|
|
2022-10-19 00:39:45 -03:00
|
|
|
#if MODE_FLOWHOLD_ENABLED
|
2018-02-07 22:21:09 -04:00
|
|
|
// we need a pointer to the mode for the G2 table
|
|
|
|
void *mode_flowhold_ptr;
|
|
|
|
#endif
|
2018-03-22 15:40:32 -03:00
|
|
|
|
2018-02-06 02:16:09 -04:00
|
|
|
#if MODE_FOLLOW_ENABLED == ENABLED
|
2018-01-25 08:36:03 -04:00
|
|
|
// follow
|
|
|
|
AP_Follow follow;
|
2018-02-06 02:16:09 -04:00
|
|
|
#endif
|
2018-06-23 04:11:05 -03:00
|
|
|
|
2023-11-16 06:49:58 -04:00
|
|
|
#if USER_PARAMS_ENABLED == ENABLED
|
2018-08-21 10:02:40 -03:00
|
|
|
// User custom parameters
|
|
|
|
UserParameters user_parameters;
|
|
|
|
#endif
|
|
|
|
|
2018-12-12 23:53:56 -04:00
|
|
|
#if AUTOTUNE_ENABLED == ENABLED
|
|
|
|
// we need a pointer to autotune for the G2 table
|
|
|
|
void *autotune_ptr;
|
|
|
|
#endif
|
2019-03-01 02:40:53 -04:00
|
|
|
|
2019-04-03 09:32:26 -03:00
|
|
|
AP_Float tuning_min;
|
|
|
|
AP_Float tuning_max;
|
2019-06-05 07:47:32 -03:00
|
|
|
|
2024-03-08 22:35:26 -04:00
|
|
|
#if AP_OAPATHPLANNER_ENABLED
|
2019-06-05 07:47:32 -03:00
|
|
|
// object avoidance path planning
|
|
|
|
AP_OAPathPlanner oa;
|
|
|
|
#endif
|
2019-07-29 04:55:40 -03:00
|
|
|
|
|
|
|
#if MODE_SYSTEMID_ENABLED == ENABLED
|
|
|
|
// we need a pointer to the mode for the G2 table
|
|
|
|
void *mode_systemid_ptr;
|
|
|
|
#endif
|
2019-03-21 06:51:35 -03:00
|
|
|
|
|
|
|
// vibration failsafe enable/disable
|
|
|
|
AP_Int8 fs_vibe_enabled;
|
2019-09-21 21:09:18 -03:00
|
|
|
|
|
|
|
// Failsafe options bitmask #36
|
|
|
|
AP_Int32 fs_options;
|
2019-11-28 16:21:07 -04:00
|
|
|
|
|
|
|
#if MODE_AUTOROTATE_ENABLED == ENABLED
|
|
|
|
// Autonmous autorotation
|
|
|
|
AC_Autorotation arot;
|
|
|
|
#endif
|
2019-12-11 23:36:49 -04:00
|
|
|
|
2020-04-02 05:25:39 -03:00
|
|
|
#if MODE_ZIGZAG_ENABLED == ENABLED
|
2020-05-11 23:17:21 -03:00
|
|
|
// we need a pointer to the mode for the G2 table
|
|
|
|
void *mode_zigzag_ptr;
|
2020-04-02 05:25:39 -03:00
|
|
|
#endif
|
2020-02-02 09:07:21 -04:00
|
|
|
|
2022-06-15 00:08:53 -03:00
|
|
|
// command model parameters
|
|
|
|
#if MODE_ACRO_ENABLED == ENABLED || MODE_SPORT_ENABLED == ENABLED
|
|
|
|
AC_CommandModel command_model_acro_rp;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if MODE_ACRO_ENABLED == ENABLED || MODE_DRIFT_ENABLED == ENABLED
|
|
|
|
AC_CommandModel command_model_acro_y;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
AC_CommandModel command_model_pilot;
|
|
|
|
|
2020-06-16 17:01:19 -03:00
|
|
|
#if MODE_ACRO_ENABLED == ENABLED
|
|
|
|
AP_Int8 acro_options;
|
|
|
|
#endif
|
|
|
|
|
2020-09-24 20:42:34 -03:00
|
|
|
#if MODE_AUTO_ENABLED == ENABLED
|
|
|
|
AP_Int32 auto_options;
|
|
|
|
#endif
|
|
|
|
|
2020-10-14 02:25:41 -03:00
|
|
|
#if MODE_GUIDED_ENABLED == ENABLED
|
|
|
|
AP_Int32 guided_options;
|
|
|
|
#endif
|
|
|
|
|
2020-11-11 20:46:06 -04:00
|
|
|
AP_Float fs_gcs_timeout;
|
|
|
|
|
2020-11-12 20:15:53 -04:00
|
|
|
#if MODE_RTL_ENABLED == ENABLED
|
|
|
|
AP_Int32 rtl_options;
|
|
|
|
#endif
|
|
|
|
|
2021-02-17 07:19:22 -04:00
|
|
|
AP_Int32 flight_options;
|
|
|
|
|
2023-11-07 18:23:41 -04:00
|
|
|
#if AP_RANGEFINDER_ENABLED
|
2021-06-14 00:38:37 -03:00
|
|
|
AP_Float rangefinder_filt;
|
|
|
|
#endif
|
|
|
|
|
2021-07-09 02:02:07 -03:00
|
|
|
#if MODE_GUIDED_ENABLED == ENABLED
|
|
|
|
AP_Float guided_timeout;
|
|
|
|
#endif
|
2021-09-16 01:34:34 -03:00
|
|
|
|
2021-10-13 02:11:06 -03:00
|
|
|
AP_Int8 surftrak_mode;
|
2022-05-10 23:17:13 -03:00
|
|
|
AP_Int8 failsafe_dr_enable;
|
|
|
|
AP_Int16 failsafe_dr_timeout;
|
2023-03-03 21:01:34 -04:00
|
|
|
AP_Float surftrak_tc;
|
2022-08-26 22:09:22 -03:00
|
|
|
|
|
|
|
// ramp time of throttle during take-off
|
|
|
|
AP_Float takeoff_throttle_slew_time;
|
2023-03-20 21:31:39 -03:00
|
|
|
AP_Float takeoff_throttle_max;
|
2022-09-06 11:00:07 -03:00
|
|
|
#if HAL_WITH_ESC_TELEM && FRAME_CONFIG != HELI_FRAME
|
|
|
|
AP_Int16 takeoff_rpm_min;
|
2023-04-28 17:03:54 -03:00
|
|
|
AP_Int16 takeoff_rpm_max;
|
2022-09-06 11:00:07 -03:00
|
|
|
#endif
|
2022-04-14 06:58:27 -03:00
|
|
|
|
2023-11-23 14:03:38 -04:00
|
|
|
// EKF variance filter cutoff
|
|
|
|
AP_Float fs_ekf_filt_hz;
|
|
|
|
|
2022-04-14 06:58:27 -03:00
|
|
|
#if WEATHERVANE_ENABLED == ENABLED
|
|
|
|
AC_WeatherVane weathervane;
|
|
|
|
#endif
|
2022-12-30 22:11:31 -04:00
|
|
|
|
|
|
|
// payload place parameters
|
|
|
|
AP_Float pldp_thrust_placed_fraction;
|
2024-03-05 00:11:52 -04:00
|
|
|
AP_Float pldp_range_finder_maximum_m;
|
2022-12-30 22:11:31 -04:00
|
|
|
AP_Float pldp_delay_s;
|
|
|
|
AP_Float pldp_descent_speed_ms;
|
2016-06-04 23:37:55 -03:00
|
|
|
};
|
|
|
|
|
2012-08-16 21:50:03 -03:00
|
|
|
extern const AP_Param::Info var_info[];
|