|
|
|
@ -92,7 +92,7 @@ public:
@@ -92,7 +92,7 @@ public:
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
void filterVoltage(float voltage_v); |
|
|
|
|
void filterCurrent(float voltage_a); |
|
|
|
|
void filterCurrent(float current_a); |
|
|
|
|
void sumDischarged(hrt_abstime timestamp, float current_a); |
|
|
|
|
void estimateRemaining(float voltage_v, float throttle_normalized, bool armed); |
|
|
|
|
void determineWarning(); |
|
|
|
|