mirror of https://github.com/ArduPilot/ardupilot
Rover: Parameters.h correct whitespace, remove tabs
This commit is contained in:
parent
70d0997b73
commit
0f89f6918e
|
@ -21,11 +21,11 @@ public:
|
|||
// Layout version number, always key zero.
|
||||
//
|
||||
k_param_format_version = 0,
|
||||
k_param_software_type,
|
||||
k_param_software_type,
|
||||
|
||||
// Misc
|
||||
//
|
||||
k_param_log_bitmask_old = 10, // unused
|
||||
k_param_log_bitmask_old = 10, // unused
|
||||
k_param_num_resets,
|
||||
k_param_reset_switch_chan,
|
||||
k_param_initial_mode,
|
||||
|
@ -37,7 +37,7 @@ public:
|
|||
k_param_rc_14,
|
||||
|
||||
// IO pins
|
||||
k_param_rssi_pin = 20, // unused, replaced by rssi_ library parameters
|
||||
k_param_rssi_pin = 20, // unused, replaced by rssi_ library parameters
|
||||
k_param_battery_volt_pin,
|
||||
k_param_battery_curr_pin,
|
||||
|
||||
|
@ -57,18 +57,18 @@ public:
|
|||
|
||||
// 100: Arming parameters
|
||||
k_param_arming = 100,
|
||||
|
||||
|
||||
// 110: Telemetry control
|
||||
//
|
||||
k_param_gcs0 = 110, // stream rates for uartA
|
||||
k_param_gcs1, // stream rates for uartC
|
||||
k_param_gcs0 = 110, // stream rates for uartA
|
||||
k_param_gcs1, // stream rates for uartC
|
||||
k_param_sysid_this_mav,
|
||||
k_param_sysid_my_gcs,
|
||||
k_param_serial0_baud_old,
|
||||
k_param_serial1_baud_old,
|
||||
k_param_telem_delay,
|
||||
k_param_skip_gyro_cal, // unused
|
||||
k_param_gcs2, // stream rates for uartD
|
||||
k_param_skip_gyro_cal, // unused
|
||||
k_param_gcs2, // stream rates for uartD
|
||||
k_param_serial2_baud_old,
|
||||
k_param_serial2_protocol, // deprecated, can be deleted
|
||||
k_param_serial_manager, // serial manager library
|
||||
|
@ -80,20 +80,20 @@ public:
|
|||
// 130: Sensor parameters
|
||||
//
|
||||
k_param_compass_enabled = 130,
|
||||
k_param_steering_learn, // unused
|
||||
k_param_NavEKF, // deprecated - remove
|
||||
k_param_mission, // mission library
|
||||
k_param_NavEKF2_old, // deprecated - remove
|
||||
k_param_steering_learn, // unused
|
||||
k_param_NavEKF, // deprecated - remove
|
||||
k_param_mission, // mission library
|
||||
k_param_NavEKF2_old, // deprecated - remove
|
||||
k_param_NavEKF2,
|
||||
k_param_g2, // 2nd block of parameters
|
||||
k_param_g2, // 2nd block of parameters
|
||||
k_param_NavEKF3,
|
||||
|
||||
// 140: battery controls
|
||||
k_param_battery_monitoring = 140, // deprecated, can be deleted
|
||||
k_param_volt_div_ratio, // deprecated, can be deleted
|
||||
k_param_curr_amp_per_volt, // deprecated, can be deleted
|
||||
k_param_input_voltage, // deprecated, can be deleted
|
||||
k_param_pack_capacity, // deprecated, can be deleted
|
||||
k_param_volt_div_ratio, // deprecated, can be deleted
|
||||
k_param_curr_amp_per_volt, // deprecated, can be deleted
|
||||
k_param_input_voltage, // deprecated, can be deleted
|
||||
k_param_pack_capacity, // deprecated, can be deleted
|
||||
k_param_battery,
|
||||
|
||||
//
|
||||
|
@ -107,7 +107,7 @@ public:
|
|||
k_param_ch7_option,
|
||||
k_param_auto_trigger_pin,
|
||||
k_param_auto_kickstart,
|
||||
k_param_turn_circle, // unused
|
||||
k_param_turn_circle, // unused
|
||||
k_param_turn_max_g,
|
||||
|
||||
//
|
||||
|
@ -140,15 +140,15 @@ public:
|
|||
k_param_fs_crash_check,
|
||||
|
||||
// obstacle control
|
||||
k_param_sonar_enabled = 190, // deprecated, can be removed
|
||||
k_param_sonar_old, // unused
|
||||
k_param_sonar_enabled = 190, // deprecated, can be removed
|
||||
k_param_sonar_old, // unused
|
||||
k_param_sonar_trigger_cm,
|
||||
k_param_sonar_turn_angle,
|
||||
k_param_sonar_turn_time,
|
||||
k_param_sonar2_old, // unused
|
||||
k_param_sonar2_old, // unused
|
||||
k_param_sonar_debounce,
|
||||
k_param_sonar, // sonar object
|
||||
|
||||
k_param_sonar, // sonar object
|
||||
|
||||
//
|
||||
// 210: driving modes
|
||||
//
|
||||
|
@ -178,7 +178,7 @@ public:
|
|||
//
|
||||
// 240: PID Controllers
|
||||
k_param_pidNavSteer = 230,
|
||||
k_param_pidServoSteer, // unused
|
||||
k_param_pidServoSteer, // unused
|
||||
k_param_pidSpeedThrottle,
|
||||
|
||||
// high RC channels
|
||||
|
@ -199,43 +199,43 @@ public:
|
|||
k_param_notify,
|
||||
k_param_button,
|
||||
|
||||
k_param_DataFlash = 253, // Logging Group
|
||||
k_param_DataFlash = 253, // Logging Group
|
||||
|
||||
// 254,255: reserved
|
||||
};
|
||||
|
||||
AP_Int16 format_version;
|
||||
AP_Int8 software_type;
|
||||
AP_Int8 software_type;
|
||||
|
||||
// Misc
|
||||
//
|
||||
AP_Int32 log_bitmask;
|
||||
AP_Int16 num_resets;
|
||||
AP_Int8 reset_switch_chan;
|
||||
AP_Int8 reset_switch_chan;
|
||||
AP_Int8 initial_mode;
|
||||
|
||||
// braking
|
||||
AP_Int8 braking_percent;
|
||||
AP_Float braking_speederr;
|
||||
|
||||
// Telemetry control
|
||||
//
|
||||
AP_Int16 sysid_this_mav;
|
||||
AP_Int16 sysid_my_gcs;
|
||||
// Telemetry control
|
||||
//
|
||||
AP_Int16 sysid_this_mav;
|
||||
AP_Int16 sysid_my_gcs;
|
||||
AP_Int8 telem_delay;
|
||||
#if CLI_ENABLED == ENABLED
|
||||
AP_Int8 cli_enabled;
|
||||
#endif
|
||||
|
||||
// sensor parameters
|
||||
AP_Int8 compass_enabled;
|
||||
AP_Int8 compass_enabled;
|
||||
|
||||
// navigation parameters
|
||||
//
|
||||
AP_Float speed_cruise;
|
||||
AP_Int8 speed_turn_gain;
|
||||
AP_Float speed_turn_dist;
|
||||
AP_Int8 ch7_option;
|
||||
AP_Float speed_turn_dist;
|
||||
AP_Int8 ch7_option;
|
||||
AP_Int8 auto_trigger_pin;
|
||||
AP_Float auto_kickstart;
|
||||
AP_Float turn_max_g;
|
||||
|
@ -244,13 +244,13 @@ public:
|
|||
|
||||
// RC channels
|
||||
RC_Channel rc_1;
|
||||
RC_Channel_aux rc_2;
|
||||
RC_Channel_aux rc_2;
|
||||
RC_Channel rc_3;
|
||||
RC_Channel_aux rc_4;
|
||||
RC_Channel_aux rc_5;
|
||||
RC_Channel_aux rc_6;
|
||||
RC_Channel_aux rc_7;
|
||||
RC_Channel_aux rc_8;
|
||||
RC_Channel_aux rc_5;
|
||||
RC_Channel_aux rc_6;
|
||||
RC_Channel_aux rc_7;
|
||||
RC_Channel_aux rc_8;
|
||||
RC_Channel_aux rc_9;
|
||||
RC_Channel_aux rc_10;
|
||||
RC_Channel_aux rc_11;
|
||||
|
@ -272,7 +272,7 @@ public:
|
|||
AP_Float fs_timeout;
|
||||
AP_Int8 fs_throttle_enabled;
|
||||
AP_Int16 fs_throttle_value;
|
||||
AP_Int8 fs_gcs_enabled;
|
||||
AP_Int8 fs_gcs_enabled;
|
||||
AP_Int8 fs_crash_check;
|
||||
|
||||
// obstacle control
|
||||
|
@ -280,7 +280,7 @@ public:
|
|||
AP_Float sonar_turn_angle;
|
||||
AP_Float sonar_turn_time;
|
||||
AP_Int8 sonar_debounce;
|
||||
|
||||
|
||||
|
||||
// driving modes
|
||||
//
|
||||
|
@ -292,7 +292,7 @@ public:
|
|||
AP_Int8 mode5;
|
||||
AP_Int8 mode6;
|
||||
AP_Int8 learn_channel;
|
||||
|
||||
|
||||
// Waypoints
|
||||
//
|
||||
AP_Float waypoint_radius;
|
||||
|
@ -339,8 +339,6 @@ public:
|
|||
|
||||
// whether to enforce acceptance of packets only from sysid_my_gcs
|
||||
AP_Int8 sysid_enforce;
|
||||
|
||||
};
|
||||
|
||||
|
||||
extern const AP_Param::Info var_info[];
|
||||
|
|
Loading…
Reference in New Issue