APM:Libraries
Classes | Namespaces | Macros | Functions
AP_BattMonitor.h File Reference
#include <AP_Common/AP_Common.h>
#include <AP_Param/AP_Param.h>
#include <AP_Math/AP_Math.h>
#include <GCS_MAVLink/GCS_MAVLink.h>
#include "AP_BattMonitor_Params.h"
Include dependency graph for AP_BattMonitor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AP_BattMonitor
 
struct  AP_BattMonitor::cells
 
struct  AP_BattMonitor::BattMonitor_State
 

Namespaces

 AP
 

Macros

#define AP_BATT_MONITOR_MAX_INSTANCES   2
 
#define AP_BATT_PRIMARY_INSTANCE   0
 
#define AP_BATT_SERIAL_NUMBER_DEFAULT   -1
 
#define AP_BATT_MONITOR_TIMEOUT   5000
 
#define AP_BATT_MONITOR_RES_EST_TC_1   0.5f
 
#define AP_BATT_MONITOR_RES_EST_TC_2   0.1f
 

Functions

AP_BattMonitorAP::battery ()
 

Macro Definition Documentation

◆ AP_BATT_MONITOR_MAX_INSTANCES

#define AP_BATT_MONITOR_MAX_INSTANCES   2

◆ AP_BATT_MONITOR_RES_EST_TC_1

#define AP_BATT_MONITOR_RES_EST_TC_1   0.5f

Definition at line 19 of file AP_BattMonitor.h.

Referenced by AP_BattMonitor_Backend::update_resistance_estimate().

◆ AP_BATT_MONITOR_RES_EST_TC_2

#define AP_BATT_MONITOR_RES_EST_TC_2   0.1f

Definition at line 20 of file AP_BattMonitor.h.

Referenced by AP_BattMonitor_Backend::update_resistance_estimate().

◆ AP_BATT_MONITOR_TIMEOUT

#define AP_BATT_MONITOR_TIMEOUT   5000

Definition at line 17 of file AP_BattMonitor.h.

Referenced by AP_BattMonitor::get_temperature().

◆ AP_BATT_PRIMARY_INSTANCE

#define AP_BATT_PRIMARY_INSTANCE   0

◆ AP_BATT_SERIAL_NUMBER_DEFAULT

#define AP_BATT_SERIAL_NUMBER_DEFAULT   -1

Definition at line 15 of file AP_BattMonitor.h.

Referenced by AP_BattMonitor_SMBus::AP_BattMonitor_SMBus().