From e5501bf9112cbb4fafdb34b3626e035fbf39b96b Mon Sep 17 00:00:00 2001 From: Craig3DRobotics Date: Wed, 9 Oct 2013 15:33:03 -0700 Subject: [PATCH] AP_BattMonitor: Updated parameter descriptions --- libraries/AP_BattMonitor/AP_BattMonitor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_BattMonitor/AP_BattMonitor.cpp b/libraries/AP_BattMonitor/AP_BattMonitor.cpp index 4f89b2a44d..877132e16e 100644 --- a/libraries/AP_BattMonitor/AP_BattMonitor.cpp +++ b/libraries/AP_BattMonitor/AP_BattMonitor.cpp @@ -27,13 +27,13 @@ const AP_Param::GroupInfo AP_BattMonitor::var_info[] PROGMEM = { // @Param: VOLT_MULT // @DisplayName: Voltage Multiplier - // @Description: Used to convert the voltage of the voltage sensing pin (BATT_VOLT_PIN) to the actual battery's voltage (pin_voltage * VOLT_MULT). For the 3DR Power brick on APM2 or Pixhawk, this should be set to 10.1. For the PX4 using the PX4IO power supply this should be set to 1. + // @Description: Used to convert the voltage of the voltage sensing pin (BATT_VOLT_PIN) to the actual battery's voltage (pin_voltage * VOLT_MULT). For the 3DR Power brick on APM2 or Pixhawk, this should be set to 10.1. For the Pixhawk with the 3DR 4in1 ESC this should be 12.02. For the PX4 using the PX4IO power supply this should be set to 1. // @User: Advanced AP_GROUPINFO("VOLT_MULT", 3, AP_BattMonitor, _volt_multiplier, AP_BATT_VOLTDIVIDER_DEFAULT), // @Param: AMP_PERVOLT - // @DisplayName: Apms per volt - // @Description: Number of amps that a 1V reading on the current sensor corresponds to. On the APM2 or Pixhawk using the 3DR Power brick this should be set to 17. + // @DisplayName: Amps per volt + // @Description: Number of amps that a 1V reading on the current sensor corresponds to. On the APM2 or Pixhawk using the 3DR Power brick this should be set to 17. For the Pixhawk with the 3DR 4in1 ESC this should be 17. // @Units: A/V // @User: Standard AP_GROUPINFO("AMP_PERVOLT", 4, AP_BattMonitor, _curr_amp_per_volt, AP_BATT_CURR_AMP_PERVOLT_DEFAULT), @@ -122,7 +122,7 @@ bool AP_BattMonitor::exhausted(float low_voltage, float min_capacity_mah) // get current time uint32_t tnow = hal.scheduler->millis(); - + // check voltage if ((_voltage != 0) && (low_voltage > 0) && (_voltage < low_voltage)) { // this is the first time our voltage has dropped below minimum so start timer