|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Go to the source code of this file.
Functions | |
| PARAM_DEFINE_FLOAT (BAT_CNT_V_VOLT, -1.0f) | |
| Scaling from ADC counts to volt on the ADC input (battery voltage) More... | |
| PARAM_DEFINE_FLOAT (BAT_CNT_V_CURR, -1.0) | |
| Scaling from ADC counts to volt on the ADC input (battery current) More... | |
| PARAM_DEFINE_FLOAT (BAT_V_OFFS_CURR, 0.0) | |
| Offset in volt as seen by the ADC input of the current sensor. More... | |
| PARAM_DEFINE_INT32 (BAT_SOURCE, 0) | |
| Battery monitoring source. More... | |
| PARAM_DEFINE_INT32 (BAT_ADC_CHANNEL, -1) | |
| Battery ADC Channel. More... | |
| PARAM_DEFINE_FLOAT | ( | BAT_CNT_V_VOLT | , |
| -1. | 0f | ||
| ) |
| PARAM_DEFINE_FLOAT | ( | BAT_CNT_V_CURR | , |
| -1. | 0 | ||
| ) |
| PARAM_DEFINE_FLOAT | ( | BAT_V_OFFS_CURR | , |
| 0. | 0 | ||
| ) |
| PARAM_DEFINE_INT32 | ( | BAT_SOURCE | , |
| 0 | |||
| ) |
Battery monitoring source.
This parameter controls the source of battery data. The value 'Power Module' means that measurements are expected to come from a power module. If the value is set to 'External' then the system expects to receive mavlink battery status messages.
0 1 0 Power Module 1 External Battery Calibration