|
virtual void | updateParams () |
| Call this method whenever the module gets a parameter change notification. More...
|
|
virtual void | updateParamsImpl () |
| The implementation for this is generated with the macro DEFINE_PARAMETERS()
|
|
ModuleParams * | _sibling |
|
§ updateBatteryStatus()
void Battery::updateBatteryStatus |
( |
hrt_abstime |
timestamp, |
|
|
float |
voltage_v, |
|
|
float |
current_a, |
|
|
bool |
connected, |
|
|
bool |
selected_source, |
|
|
int |
priority, |
|
|
float |
throttle_normalized, |
|
|
bool |
armed, |
|
|
battery_status_s * |
status |
|
) |
| |
Update current battery status message.
- Parameters
-
voltage_v | current voltage in V |
current_a | current current in A |
connected | Battery is connected |
selected_source | This battery is on the brick that the selected source for selected_source |
priority | The brick number -1. The term priority refers to the Vn connection on the LTC4417 |
throttle_normalized | throttle from 0 to 1 |
The documentation for this class was generated from the following files: