2016-03-17 15:02:55 -03:00
|
|
|
#pragma once
|
2015-12-30 18:57:56 -04:00
|
|
|
|
2023-01-03 21:39:14 -04:00
|
|
|
#define AP_PARAM_VEHICLE_NAME sub
|
|
|
|
|
2015-12-30 18:57:56 -04:00
|
|
|
#include <AP_Common/AP_Common.h>
|
|
|
|
|
2018-04-20 09:41:04 -03:00
|
|
|
#include <AP_Gripper/AP_Gripper.h>
|
2023-02-20 16:12:17 -04:00
|
|
|
#include <AP_Stats/AP_Stats.h>
|
2023-07-27 11:07:27 -03:00
|
|
|
#include <AP_Arming/AP_Arming.h>
|
2018-04-20 09:41:04 -03:00
|
|
|
|
2021-11-15 01:08:34 -04:00
|
|
|
#if AP_SCRIPTING_ENABLED
|
2019-03-01 02:41:05 -04:00
|
|
|
#include <AP_Scripting/AP_Scripting.h>
|
|
|
|
#endif
|
|
|
|
|
2015-12-30 18:57:56 -04:00
|
|
|
// Global parameter class.
|
|
|
|
//
|
|
|
|
class Parameters {
|
|
|
|
public:
|
|
|
|
// 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.
|
|
|
|
//
|
2016-12-02 22:17:47 -04:00
|
|
|
static const uint16_t k_format_version = 1;
|
2015-12-30 18:57:56 -04:00
|
|
|
|
|
|
|
// Parameter identities.
|
|
|
|
//
|
|
|
|
// The enumeration defined here is used to ensure that every parameter
|
2017-02-03 17:33:27 -04:00
|
|
|
// or parameter group has a unique ID number. This number is used by
|
2015-12-30 18:57:56 -04:00
|
|
|
// AP_Param to store and locate parameters in EEPROM.
|
|
|
|
//
|
|
|
|
// Note that entries without a number are assigned the next number after
|
2017-02-03 17:33:27 -04:00
|
|
|
// the entry preceding them. When adding new entries, ensure that they
|
2015-12-30 18:57:56 -04:00
|
|
|
// don't overlap.
|
|
|
|
//
|
|
|
|
// Try to group related variables together, and assign them a set
|
2017-02-03 17:33:27 -04:00
|
|
|
// range in the enumeration. Place these groups in numerical order
|
2015-12-30 18:57:56 -04:00
|
|
|
// at the end of the enumeration.
|
|
|
|
//
|
|
|
|
// WARNING: Care should be taken when editing this enumeration as the
|
2017-02-03 17:33:27 -04:00
|
|
|
// AP_Param load/save code depends on the values here to identify
|
|
|
|
// variables saved in EEPROM.
|
2015-12-30 18:57:56 -04:00
|
|
|
//
|
|
|
|
//
|
|
|
|
enum {
|
|
|
|
// Layout version number, always key zero.
|
|
|
|
//
|
|
|
|
k_param_format_version = 0,
|
2023-10-11 04:41:54 -03:00
|
|
|
k_param_software_type, // unused
|
2015-12-30 18:57:56 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_g2, // 2nd block of parameters
|
2015-12-30 18:57:56 -04:00
|
|
|
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_sitl, // Simulation
|
2015-12-30 18:57:56 -04:00
|
|
|
|
2016-11-30 18:07:10 -04:00
|
|
|
// Telemetry
|
|
|
|
k_param_gcs0 = 10,
|
2015-12-30 18:57:56 -04:00
|
|
|
k_param_gcs1,
|
|
|
|
k_param_gcs2,
|
|
|
|
k_param_gcs3,
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_sysid_this_mav,
|
|
|
|
k_param_sysid_my_gcs,
|
2015-12-30 18:57:56 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// Hardware/Software configuration
|
2019-10-17 03:04:11 -03:00
|
|
|
k_param_BoardConfig = 20, // Board configuration (Pixhawk/Linux/etc)
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_scheduler, // Scheduler (for debugging/perf_info)
|
2019-01-18 00:23:42 -04:00
|
|
|
k_param_logger, // AP_Logger Logging
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_serial_manager, // Serial ports, AP_SerialManager
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_notify, // Notify Library, AP_Notify
|
2017-03-28 19:23:05 -03:00
|
|
|
k_param_arming = 26, // Arming checks
|
2020-05-31 08:49:45 -03:00
|
|
|
k_param_can_mgr,
|
2016-11-30 18:07:10 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// Sensor objects
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_ins = 30, // AP_InertialSensor
|
|
|
|
k_param_compass, // Compass
|
|
|
|
k_param_barometer, // Barometer/Depth Sensor
|
|
|
|
k_param_battery, // AP_BattMonitor
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_leak_detector, // Leak Detector
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_rangefinder, // Rangefinder
|
|
|
|
k_param_gps, // GPS
|
|
|
|
k_param_optflow, // Optical Flow
|
|
|
|
|
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// Navigation libraries
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_ahrs = 50, // AHRS
|
2017-01-31 13:06:55 -04:00
|
|
|
k_param_NavEKF, // Extended Kalman Filter Inertial Navigation // remove
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_NavEKF2, // EKF2
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_attitude_control, // Attitude Control
|
|
|
|
k_param_pos_control, // Position Control
|
|
|
|
k_param_wp_nav, // Waypoint navigation
|
|
|
|
k_param_mission, // Mission library
|
2022-03-04 12:36:54 -04:00
|
|
|
k_param_fence_old, // only used for conversion
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_terrain, // Terrain database
|
|
|
|
k_param_rally, // Disabled
|
|
|
|
k_param_circle_nav, // Disabled
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_avoid, // Relies on proximity and fence
|
|
|
|
k_param_NavEKF3,
|
2018-03-28 01:54:24 -03:00
|
|
|
k_param_loiter_nav,
|
2015-12-30 18:57:56 -04:00
|
|
|
|
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// Other external hardware interfaces
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_motors = 65, // Motors
|
|
|
|
k_param_relay, // Relay
|
|
|
|
k_param_camera, // Camera
|
|
|
|
k_param_camera_mount, // Camera gimbal
|
|
|
|
|
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// RC_Channel settings (deprecated)
|
2017-01-31 13:06:55 -04:00
|
|
|
k_param_rc_1_old = 75,
|
|
|
|
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_9_old,
|
|
|
|
k_param_rc_10_old,
|
|
|
|
k_param_rc_11_old,
|
|
|
|
k_param_rc_12_old,
|
|
|
|
k_param_rc_13_old,
|
|
|
|
k_param_rc_14_old,
|
2016-03-12 11:15:18 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// Joystick gain parameters
|
|
|
|
k_param_gain_default,
|
|
|
|
k_param_maxGain,
|
|
|
|
k_param_minGain,
|
|
|
|
k_param_numGainSettings,
|
2017-10-26 16:42:56 -03:00
|
|
|
k_param_cam_tilt_step, // deprecated
|
|
|
|
k_param_lights_step, // deprecated
|
2017-02-03 17:33:27 -04:00
|
|
|
|
|
|
|
// Joystick button mapping parameters
|
|
|
|
k_param_jbtn_0 = 95,
|
|
|
|
k_param_jbtn_1,
|
|
|
|
k_param_jbtn_2,
|
|
|
|
k_param_jbtn_3,
|
|
|
|
k_param_jbtn_4,
|
|
|
|
k_param_jbtn_5,
|
|
|
|
k_param_jbtn_6,
|
|
|
|
k_param_jbtn_7,
|
|
|
|
k_param_jbtn_8,
|
|
|
|
k_param_jbtn_9,
|
|
|
|
k_param_jbtn_10,
|
|
|
|
k_param_jbtn_11,
|
|
|
|
k_param_jbtn_12,
|
|
|
|
k_param_jbtn_13,
|
|
|
|
k_param_jbtn_14,
|
|
|
|
k_param_jbtn_15,
|
|
|
|
|
|
|
|
|
|
|
|
// PID Controllers
|
2018-01-15 07:58:57 -04:00
|
|
|
k_param_p_pos_xy = 126, // deprecated
|
|
|
|
k_param_p_alt_hold, // deprecated
|
2017-11-20 08:36:46 -04:00
|
|
|
k_param_pi_vel_xy, // deprecated
|
2018-01-15 07:58:57 -04:00
|
|
|
k_param_p_vel_z, // deprecated
|
|
|
|
k_param_pid_accel_z, // deprecated
|
2016-11-30 18:07:10 -04:00
|
|
|
|
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// Failsafes
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_failsafe_gcs = 140,
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_failsafe_leak, // leak failsafe behavior
|
|
|
|
k_param_failsafe_pressure, // internal pressure failsafe behavior
|
|
|
|
k_param_failsafe_pressure_max, // maximum internal pressure in pascal before failsafe is triggered
|
|
|
|
k_param_failsafe_temperature, // internal temperature failsafe behavior
|
|
|
|
k_param_failsafe_temperature_max, // maximum internal temperature in degrees C before failsafe is triggered
|
|
|
|
k_param_failsafe_terrain, // terrain failsafe behavior
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_fs_ekf_thresh,
|
|
|
|
k_param_fs_ekf_action,
|
|
|
|
k_param_fs_crash_check,
|
2018-03-01 14:44:02 -04:00
|
|
|
k_param_failsafe_battery_enabled, // unused - moved to AP_BattMonitor
|
|
|
|
k_param_fs_batt_mah, // unused - moved to AP_BattMonitor
|
|
|
|
k_param_fs_batt_voltage, // unused - moved to AP_BattMonitor
|
2017-04-14 18:23:59 -03:00
|
|
|
k_param_failsafe_pilot_input,
|
|
|
|
k_param_failsafe_pilot_input_timeout,
|
2017-02-07 20:42:28 -04:00
|
|
|
|
2016-11-23 20:59:09 -04:00
|
|
|
|
2016-11-30 18:07:10 -04:00
|
|
|
// Misc Sub settings
|
|
|
|
k_param_log_bitmask = 165,
|
2017-03-28 17:39:24 -03:00
|
|
|
k_param_angle_max = 167,
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_rangefinder_gain,
|
2017-03-23 14:16:09 -03:00
|
|
|
k_param_wp_yaw_behavior = 170,
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_xtrack_angle_limit, // Angle limit for crosstrack correction in Auto modes (degrees)
|
2017-11-19 08:29:09 -04:00
|
|
|
k_param_pilot_speed_up, // renamed from k_param_pilot_velocity_z_max
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_pilot_accel_z,
|
2019-03-24 00:27:18 -03:00
|
|
|
k_param_compass_enabled_deprecated,
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_surface_depth,
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_rc_speed, // Main output pwm frequency
|
2017-03-23 01:37:45 -03:00
|
|
|
k_param_gcs_pid_mask = 178,
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_throttle_filt,
|
|
|
|
k_param_throttle_deadzone, // Used in auto-throttle modes
|
2019-12-12 01:49:34 -04:00
|
|
|
k_param_terrain_follow = 182, // deprecated
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_rc_feel_rp,
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_throttle_gain,
|
2017-10-26 16:42:56 -03:00
|
|
|
k_param_cam_tilt_center, // deprecated
|
2017-02-03 17:33:27 -04:00
|
|
|
k_param_frame_configuration,
|
2016-11-30 18:07:10 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// Acro Mode parameters
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_acro_yaw_p = 220, // Used in all modes for get_pilot_desired_yaw_rate
|
|
|
|
k_param_acro_trainer,
|
|
|
|
k_param_acro_expo,
|
|
|
|
k_param_acro_rp_p,
|
|
|
|
k_param_acro_balance_roll,
|
|
|
|
k_param_acro_balance_pitch,
|
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// RPM Sensor
|
2017-03-09 16:53:32 -04:00
|
|
|
k_param_rpm_sensor = 232, // Disabled
|
2016-11-30 18:07:10 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
// RC_Mapper Library
|
2016-11-30 18:07:10 -04:00
|
|
|
k_param_rcmap, // Disabled
|
|
|
|
|
2020-12-22 15:43:53 -04:00
|
|
|
k_param_gcs4,
|
|
|
|
k_param_gcs5,
|
|
|
|
k_param_gcs6,
|
|
|
|
|
2017-10-26 16:42:56 -03:00
|
|
|
k_param_cam_slew_limit = 237, // deprecated
|
|
|
|
k_param_lights_steps,
|
2017-11-19 08:29:09 -04:00
|
|
|
k_param_pilot_speed_dn,
|
2017-03-21 16:40:59 -03:00
|
|
|
|
2019-12-19 18:59:38 -04:00
|
|
|
k_param_vehicle = 257, // vehicle common block of parameters
|
2015-12-30 18:57:56 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
AP_Int16 format_version;
|
|
|
|
|
|
|
|
// Telemetry control
|
|
|
|
//
|
|
|
|
AP_Int16 sysid_this_mav;
|
|
|
|
AP_Int16 sysid_my_gcs;
|
|
|
|
|
|
|
|
AP_Float throttle_filt;
|
|
|
|
|
2018-03-14 14:37:12 -03:00
|
|
|
#if RANGEFINDER_ENABLED == ENABLED
|
2016-05-22 21:50:44 -03:00
|
|
|
AP_Float rangefinder_gain;
|
2018-03-14 14:37:12 -03:00
|
|
|
#endif
|
2015-12-30 18:57:56 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
AP_Int8 failsafe_leak; // leak detection failsafe behavior
|
2015-12-30 18:57:56 -04:00
|
|
|
AP_Int8 failsafe_gcs; // ground station failsafe behavior
|
2017-02-03 17:33:27 -04:00
|
|
|
AP_Int8 failsafe_pressure;
|
|
|
|
AP_Int8 failsafe_temperature;
|
|
|
|
AP_Int32 failsafe_pressure_max;
|
|
|
|
AP_Int8 failsafe_temperature_max;
|
|
|
|
AP_Int8 failsafe_terrain;
|
2017-04-14 18:23:59 -03:00
|
|
|
AP_Int8 failsafe_pilot_input; // pilot input failsafe behavior
|
|
|
|
AP_Float failsafe_pilot_input_timeout;
|
2017-02-07 20:42:28 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
AP_Int8 xtrack_angle_limit;
|
2016-09-11 18:49:19 -03:00
|
|
|
|
2015-12-30 18:57:56 -04:00
|
|
|
AP_Int8 wp_yaw_behavior; // controls how the autopilot controls yaw during missions
|
|
|
|
AP_Int8 rc_feel_rp; // controls vehicle response to user input with 0 being extremely soft and 100 begin extremely crisp
|
2017-02-03 17:33:27 -04:00
|
|
|
|
2015-12-30 18:57:56 -04:00
|
|
|
// Waypoints
|
|
|
|
//
|
2017-11-19 08:29:09 -04:00
|
|
|
AP_Int16 pilot_speed_up; // maximum vertical ascending velocity the pilot may request
|
|
|
|
AP_Int16 pilot_speed_dn; // maximum vertical descending velocity the pilot may request
|
2015-12-30 18:57:56 -04:00
|
|
|
AP_Int16 pilot_accel_z; // vertical acceleration the pilot may request
|
|
|
|
|
|
|
|
// Throttle
|
|
|
|
//
|
|
|
|
AP_Int16 throttle_deadzone;
|
|
|
|
|
|
|
|
// Misc
|
|
|
|
//
|
|
|
|
AP_Int32 log_bitmask;
|
2017-03-09 16:53:32 -04:00
|
|
|
|
2015-12-30 18:57:56 -04:00
|
|
|
AP_Int8 fs_ekf_action;
|
|
|
|
AP_Int8 fs_crash_check;
|
|
|
|
AP_Float fs_ekf_thresh;
|
2017-02-03 17:33:27 -04:00
|
|
|
AP_Int16 gcs_pid_mask;
|
2017-01-31 13:06:55 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
AP_Int16 rc_speed; // speed of fast RC Channels in Hz
|
2017-01-31 13:06:55 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
AP_Float gain_default;
|
|
|
|
AP_Float maxGain;
|
|
|
|
AP_Float minGain;
|
|
|
|
AP_Int8 numGainSettings;
|
|
|
|
AP_Float throttle_gain;
|
2017-01-31 13:06:55 -04:00
|
|
|
|
2017-10-26 16:42:56 -03:00
|
|
|
AP_Int16 lights_steps;
|
2016-11-23 20:59:09 -04:00
|
|
|
|
2016-03-12 11:15:18 -04:00
|
|
|
// Joystick button parameters
|
2017-02-03 17:33:27 -04:00
|
|
|
JSButton jbtn_0;
|
|
|
|
JSButton jbtn_1;
|
|
|
|
JSButton jbtn_2;
|
|
|
|
JSButton jbtn_3;
|
|
|
|
JSButton jbtn_4;
|
|
|
|
JSButton jbtn_5;
|
|
|
|
JSButton jbtn_6;
|
|
|
|
JSButton jbtn_7;
|
|
|
|
JSButton jbtn_8;
|
|
|
|
JSButton jbtn_9;
|
|
|
|
JSButton jbtn_10;
|
|
|
|
JSButton jbtn_11;
|
|
|
|
JSButton jbtn_12;
|
|
|
|
JSButton jbtn_13;
|
|
|
|
JSButton jbtn_14;
|
|
|
|
JSButton jbtn_15;
|
2016-03-12 11:15:18 -04:00
|
|
|
|
2015-12-30 18:57:56 -04:00
|
|
|
// Acro parameters
|
2017-01-31 13:06:55 -04:00
|
|
|
AP_Float acro_rp_p;
|
|
|
|
AP_Float acro_yaw_p;
|
|
|
|
AP_Float acro_balance_roll;
|
|
|
|
AP_Float acro_balance_pitch;
|
|
|
|
AP_Int8 acro_trainer;
|
|
|
|
AP_Float acro_expo;
|
2015-12-30 18:57:56 -04:00
|
|
|
|
2017-02-03 17:33:27 -04:00
|
|
|
AP_Float surface_depth;
|
|
|
|
AP_Int8 frame_configuration;
|
2016-03-01 21:39:23 -04:00
|
|
|
|
2015-12-30 18:57:56 -04:00
|
|
|
// Note: keep initializers here in the same order as they are declared
|
|
|
|
// above.
|
2018-01-15 07:58:57 -04:00
|
|
|
Parameters()
|
2015-12-30 18:57:56 -04:00
|
|
|
{
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2016-07-23 02:50:24 -03:00
|
|
|
/*
|
|
|
|
2nd block of parameters, to avoid going past 256 top level keys
|
|
|
|
*/
|
|
|
|
class ParametersG2 {
|
|
|
|
public:
|
2016-11-17 01:12:06 -04:00
|
|
|
ParametersG2(void);
|
2023-02-20 16:12:17 -04:00
|
|
|
#if STATS_ENABLED == ENABLED
|
|
|
|
// vehicle statistics
|
|
|
|
AP_Stats stats;
|
|
|
|
#endif
|
2016-07-23 02:50:24 -03:00
|
|
|
|
|
|
|
// var_info for holding Parameter information
|
|
|
|
static const struct AP_Param::GroupInfo var_info[];
|
|
|
|
|
2022-09-20 04:37:48 -03:00
|
|
|
#if AP_GRIPPER_ENABLED
|
2016-11-17 01:12:06 -04:00
|
|
|
AP_Gripper gripper;
|
|
|
|
#endif
|
|
|
|
|
2021-03-25 05:09:38 -03:00
|
|
|
#if HAL_PROXIMITY_ENABLED
|
2016-11-17 01:12:06 -04:00
|
|
|
// proximity (aka object avoidance) library
|
|
|
|
AP_Proximity proximity;
|
|
|
|
#endif
|
|
|
|
|
2017-01-31 13:06:55 -04:00
|
|
|
// RC input channels
|
2018-04-26 23:26:38 -03:00
|
|
|
RC_Channels_Sub rc_channels;
|
2017-01-31 13:06:55 -04:00
|
|
|
|
|
|
|
// control over servo output ranges
|
|
|
|
SRV_Channels servo_channels;
|
2019-03-01 02:41:05 -04:00
|
|
|
|
2021-11-15 01:08:34 -04:00
|
|
|
#if AP_SCRIPTING_ENABLED
|
2019-03-01 02:41:05 -04:00
|
|
|
AP_Scripting scripting;
|
2021-11-15 01:08:34 -04:00
|
|
|
#endif // AP_SCRIPTING_ENABLED
|
2016-07-23 02:50:24 -03:00
|
|
|
};
|
|
|
|
|
2015-12-30 18:57:56 -04:00
|
|
|
extern const AP_Param::Info var_info[];
|
|
|
|
|
2023-07-27 11:07:27 -03:00
|
|
|
// Sub-specific default parameters
|
|
|
|
static const struct AP_Param::defaults_table_struct defaults_table[] = {
|
|
|
|
{ "BRD_SAFETY_DEFLT", 0 },
|
|
|
|
{ "ARMING_CHECK", AP_Arming::ARMING_CHECK_RC |
|
|
|
|
AP_Arming::ARMING_CHECK_VOLTAGE |
|
|
|
|
AP_Arming::ARMING_CHECK_BATTERY},
|
|
|
|
{ "CIRCLE_RATE", 2.0f},
|
|
|
|
{ "ATC_ACCEL_Y_MAX", 110000.0f},
|
|
|
|
{ "RC3_TRIM", 1100},
|
|
|
|
{ "COMPASS_OFFS_MAX", 1000},
|
|
|
|
{ "INS_GYR_CAL", 0},
|
|
|
|
{ "MNT1_TYPE", 1},
|
|
|
|
{ "MNT1_DEFLT_MODE", MAV_MOUNT_MODE_RC_TARGETING},
|
|
|
|
{ "MNT1_RC_RATE", 30},
|
|
|
|
{ "RC7_OPTION", 214}, // MOUNT1_YAW
|
|
|
|
{ "RC8_OPTION", 213}, // MOUNT1_PITCH
|
|
|
|
{ "MOT_PWM_MIN", 1100},
|
|
|
|
{ "MOT_PWM_MAX", 1900},
|
|
|
|
};
|