APM:Libraries
|
#include <AP_HAL/AP_HAL.h>
#include "AP_BattMonitor_Bebop.h"
#include <AP_HAL_Linux/RCOutput_Bebop.h>
#include <AP_HAL_Linux/RCOutput_Disco.h>
Go to the source code of this file.
Macros | |
#define | BATTERY_VOLTAGE_COMPENSATION_LANDED (0.2f) |
#define | BATTERY_PERCENT_LUT_SIZE ARRAY_SIZE(bat_lut) |
Variables | |
const AP_HAL::HAL & | hal |
static const float | bat_comp_polynomial_coeffs [5] |
struct { | |
float voltage | |
float percent | |
} | bat_lut [] |
#define BATTERY_PERCENT_LUT_SIZE ARRAY_SIZE(bat_lut) |
Definition at line 79 of file AP_BattMonitor_Bebop.cpp.
Referenced by AP_BattMonitor_Bebop::_compute_battery_percentage(), and AP_BattMonitor_Bebop::init().
#define BATTERY_VOLTAGE_COMPENSATION_LANDED (0.2f) |
Definition at line 26 of file AP_BattMonitor_Bebop.cpp.
Referenced by AP_BattMonitor_Bebop::read().
|
static |
Definition at line 34 of file AP_BattMonitor_Bebop.cpp.
Referenced by AP_BattMonitor_Bebop::_compute_compensation().
const { ... } bat_lut[] |
Referenced by AP_BattMonitor_Bebop::_compute_battery_percentage(), and AP_BattMonitor_Bebop::init().
const AP_HAL::HAL& hal |
Definition at line 14 of file AC_PID_test.cpp.
float percent |
Definition at line 45 of file AP_BattMonitor_Bebop.cpp.
Referenced by AP_BattMonitor_Bebop::_compute_battery_percentage().
float voltage |
Definition at line 44 of file AP_BattMonitor_Bebop.cpp.
Referenced by AP_BattMonitor_Bebop::_compute_battery_percentage(), HALSITL::SITL_State::_simulator_servos(), HALSITL::SITL_State::_update_rangefinder(), AP_BattMonitor_UAVCAN::has_current(), DataFlash_Class::Log_Write_Current_instance(), DataFlash_Class::Log_Write_ESC(), and AP_DEVO_Telem::send_frames().