|
|
|
@ -95,6 +95,9 @@ public:
@@ -95,6 +95,9 @@ public:
|
|
|
|
|
k_param_compass_enabled, |
|
|
|
|
k_param_compass, |
|
|
|
|
k_param_battery_monitoring, |
|
|
|
|
k_param_volt_div_ratio, |
|
|
|
|
k_param_curr_amp_per_volt, |
|
|
|
|
k_param_input_voltage, |
|
|
|
|
k_param_pack_capacity, |
|
|
|
|
k_param_airspeed_offset, |
|
|
|
|
k_param_sonar_enabled, |
|
|
|
@ -308,6 +311,9 @@ public:
@@ -308,6 +311,9 @@ public:
|
|
|
|
|
AP_Int8 compass_enabled; |
|
|
|
|
AP_Int16 angle_of_attack; |
|
|
|
|
AP_Int8 battery_monitoring; // 0=disabled, 1=3 cell lipo, 2=4 cell lipo, 3=total voltage only, 4=total voltage and current
|
|
|
|
|
AP_Float volt_div_ratio; |
|
|
|
|
AP_Float curr_amp_per_volt; |
|
|
|
|
AP_Float input_voltage; |
|
|
|
|
AP_Int16 pack_capacity; // Battery pack capacity less reserve
|
|
|
|
|
AP_Int8 inverted_flight_ch; // 0=disabled, 1-8 is channel for inverted flight trigger
|
|
|
|
|
AP_Int8 sonar_enabled; |
|
|
|
@ -415,6 +421,9 @@ public:
@@ -415,6 +421,9 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
battery_monitoring (DISABLED, k_param_battery_monitoring, PSTR("BATT_MONITOR")), |
|
|
|
|
volt_div_ratio (VOLT_DIV_RATIO, k_param_volt_div_ratio, PSTR("VOLT_DIVIDER")), |
|
|
|
|
curr_amp_per_volt (CURR_AMP_PER_VOLT, k_param_curr_amp_per_volt, PSTR("AMP_PER_VOLT")), |
|
|
|
|
input_voltage (INPUT_VOLTAGE, k_param_input_voltage, PSTR("INPUT_VOLTS")), |
|
|
|
|
pack_capacity (HIGH_DISCHARGE, k_param_pack_capacity, PSTR("BATT_CAPACITY")), |
|
|
|
|
inverted_flight_ch (0, k_param_inverted_flight_ch, PSTR("INVERTEDFLT_CH")), |
|
|
|
|
sonar_enabled (SONAR_ENABLED, k_param_sonar_enabled, PSTR("SONAR_ENABLE")), |
|
|
|
|