java.lang.Object | |
↳ | dji.common.battery.DJIBatteryAggregationState |
Provides a real time summary of the aggregated battery system. Only supported by Matrice 600, Matrice 600 Pro and Inspire 2.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIBatteryAggregationState() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
firmwareDifferenceDetected()
true if one of the batteries in the group has a firmware version different from the others. | ||||||||||
boolean |
getBatteryDisconnected()
true if one of the batteries in the group is disconnected. | ||||||||||
DJIBatteryOverview[] |
getBatteryOverviews()
Returns the overview of batteries in the battery group.
| ||||||||||
int |
getCurrentCurrent()
Returns the real time current draw through the batteries.
| ||||||||||
int |
getCurrentEnergy()
Returns the remaining energy stored in the batteries in mAh (milliamp hours).
| ||||||||||
int |
getCurrentVoltage()
Returns the current voltage (mV) provided by the battery group.
| ||||||||||
int |
getEnergyRemainingPercent()
Returns the percentage of energy left in the battery group with range [0 - 100].
| ||||||||||
int |
getFullChargeEnergy()
Returns the the total amount of energy, in mAh (milliamp hours), stored in the batteries when the batteries
are fully charged.
| ||||||||||
int |
getHighestBatteryTemperature()
Returns the highest temperature (in Centigrade) among the batteries in the group, with a range [-128 to
127].
| ||||||||||
boolean |
getLowCellVoltageDetected()
true if one of the batteries in the group has cells with low voltage. | ||||||||||
int |
getNumberOfConnectedBatteries()
The number of currently connected batteries.
| ||||||||||
boolean |
getVoltageDifferenceDetected()
true if there is significant difference between the voltage (above 1.5V) of two batteries. | ||||||||||
boolean |
hasDamagedCell()
true if one of the batteries in the group has damaged cells. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
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 allow to take off.
true
if one of the batteries in the group is disconnected. When it is true
, the
aircraft is not allowed to take off.
Returns the overview of batteries in the battery group. When a battery is not connected, the `isConnected` property is `NO` and the `energyRemainingPercent` is zero. For Matrice 600, there are 6 elements in `batteryOverviews`.
Returns the real time current draw through the batteries. A negative value means the batteries are being discharged.
Returns the remaining energy stored in the batteries in mAh (milliamp hours).
Returns the current voltage (mV) provided by the battery group.
Returns the percentage of energy left in the battery group with range [0 - 100].
Returns the the total amount of energy, in mAh (milliamp hours), stored in the batteries when the batteries are fully charged.
Returns the highest temperature (in Centigrade) among the batteries in the group, with a range [-128 to 127].
true
if one of the batteries in the group has cells with low voltage. When it is
true
, the aircraft is not allow to take off.
The number of currently connected batteries.
true
if there is significant difference between the voltage (above 1.5V) of two batteries. When
it is true
, the aircraft is not allowed to take off.
true
if one of the batteries in the group has damaged cells. When it is true
, the
aircraft is not allow to take off.