class AggregationState
@EXClassNullAway class AggregationState
Description:
Provides a real time summary of the aggregated battery system.
Class Members:
method getNumberOfConnectedBatteries
int getNumberOfConnectedBatteries ()
Description:
The number of currently connected batteries.
Return:
method getBatteryOverviews
BatteryOverview[] getBatteryOverviews()
Description:
Returns the overview of batteries in the battery group. When a battery is not connected, the isConnected
property is false
and the getChargeRemainingInPercent
is zero. For Matrice 600, there are 6 elements in this array.
Return:
method isAnyBatteryDisconnected
boolean isAnyBatteryDisconnected ()
Description:
true
if one of the batteries in the group is disconnected. When true
, the aircraft is not allowed to take off.
Return:
method getCurrent
Description:
Returns the real time current draw through the batteries. A negative value means the batteries are being discharged.
Return:
method getVoltage
Description:
Returns the current voltage (mV) provided by the battery group.
Return:
method isVoltageDifferenceDetected
boolean isVoltageDifferenceDetected ()
Description:
true
if there is significant difference between the voltage (above 1.5V) of two batteries. When true
, the aircraft is not allowed to take off.
Return:
method isLowCellVoltageDetected
boolean isLowCellVoltageDetected ()
Description:
true
if one of the batteries in the group has cells with low voltage. When true
, the aircraft is not allowed to take off.
Return:
method isCellDamaged
Description:
true
if one of the batteries in the group has damaged cells. When true
, the aircraft is not allowed to take off.
Return:
Battery Aggregation Properties
method getFullChargeCapacity
int getFullChargeCapacity ()
Description:
Returns the the total amount of energy, in mAh (milliamp hours), stored in the batteries when the batteries are fully charged.
Return:
method getChargeRemaining
Description:
Returns the remaining energy stored in the batteries in mAh (milliamp hours).
Return:
method getChargeRemainingInPercent
int getChargeRemainingInPercent ()
Description:
Returns the percentage of energy left in the battery group with range [0,100].
Return:
method getHighestTemperature
int getHighestTemperature ()
Description:
Returns the highest temperature (in Celsius) among the batteries in the group, with range [-128, 127] degrees.
Return:
method isFirmwareDifferenceDetected
boolean isFirmwareDifferenceDetected ()
Description:
true
if one of the batteries in the group has a firmware version different from the others. When it is true
, the aircraft is not allowed to take off.
Return: