mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
Rover: removed INPUT_VOLTS parameter
no longer needed
This commit is contained in:
parent
e0e22b63a7
commit
2294de85ac
@ -57,7 +57,7 @@ public:
|
|||||||
k_param_battery_monitoring = 140,
|
k_param_battery_monitoring = 140,
|
||||||
k_param_volt_div_ratio,
|
k_param_volt_div_ratio,
|
||||||
k_param_curr_amp_per_volt,
|
k_param_curr_amp_per_volt,
|
||||||
k_param_input_voltage,
|
k_param_input_voltage, // deprecated, can be deleted
|
||||||
k_param_pack_capacity,
|
k_param_pack_capacity,
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -165,7 +165,6 @@ public:
|
|||||||
AP_Int8 battery_monitoring; // 0=disabled, 3=voltage only, 4=voltage and current
|
AP_Int8 battery_monitoring; // 0=disabled, 3=voltage only, 4=voltage and current
|
||||||
AP_Float volt_div_ratio;
|
AP_Float volt_div_ratio;
|
||||||
AP_Float curr_amp_per_volt;
|
AP_Float curr_amp_per_volt;
|
||||||
AP_Float input_voltage;
|
|
||||||
AP_Int16 pack_capacity; // Battery pack capacity less reserve
|
AP_Int16 pack_capacity; // Battery pack capacity less reserve
|
||||||
|
|
||||||
// navigation parameters
|
// navigation parameters
|
||||||
|
@ -106,12 +106,6 @@ const AP_Param::Info var_info[] PROGMEM = {
|
|||||||
// @User: Advanced
|
// @User: Advanced
|
||||||
GSCALAR(curr_amp_per_volt, "AMP_PER_VOLT", CURR_AMP_PER_VOLT),
|
GSCALAR(curr_amp_per_volt, "AMP_PER_VOLT", CURR_AMP_PER_VOLT),
|
||||||
|
|
||||||
// @Param: INPUT_VOLTS
|
|
||||||
// @DisplayName: Max internal voltage of the battery voltage and current sensing pins
|
|
||||||
// @Description: Used to convert the voltage read in on the voltage and current pins for battery monitoring. Normally 5 meaning 5 volts.
|
|
||||||
// @User: Advanced
|
|
||||||
GSCALAR(input_voltage, "INPUT_VOLTS", INPUT_VOLTAGE),
|
|
||||||
|
|
||||||
// @Param: BATT_CAPACITY
|
// @Param: BATT_CAPACITY
|
||||||
// @DisplayName: Battery Capacity
|
// @DisplayName: Battery Capacity
|
||||||
// @Description: Battery capacity in milliamp-hours (mAh)
|
// @Description: Battery capacity in milliamp-hours (mAh)
|
||||||
|
Loading…
Reference in New Issue
Block a user