mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 13:11:35 +08:00
battery: clear interface for determineWarning()
This commit is contained in:
@@ -187,7 +187,7 @@ protected:
|
||||
private:
|
||||
void sumDischarged(const hrt_abstime ×tamp, float current_a);
|
||||
void estimateStateOfCharge(const float voltage_v, const float current_a, const float throttle);
|
||||
void determineWarning();
|
||||
uint8_t determineWarning(float state_of_charge);
|
||||
void computeScale();
|
||||
|
||||
uORB::PublicationMulti<battery_status_s> _battery_status_pub{ORB_ID(battery_status)};
|
||||
|
||||
Reference in New Issue
Block a user