DJI::OSDK::BatteryWholeInfo Struct Reference
  #include <dji_battery.hpp>
| Public Attributes | |
| uint16_t | remainFlyTime | 
| uint16_t | goHomeNeedTime | 
| uint16_t | landNeedTime | 
| uint16_t | goHomeNeedCapacity | 
| uint16_t | landNeedCapacity | 
| float | safeFlyRadius | 
| float | capacityConsumeSpeed | 
| DJIWholeBatteryState | batteryState | 
| uint8_t | goHomeCountDownState | 
| uint8_t | gohomeCountDownvalue | 
| uint16_t | voltage | 
| uint8_t | batteryCapacityPercentage | 
| uint8_t | lowBatteryAlarmThreshold:7 | 
| uint8_t | lowBatteryAlarmEnable:1 | 
| uint8_t | seriousLowBatteryAlarmThreshold:7 | 
| uint8_t | seriousLowBatteryAlarmEnable:1 | 
| uint8_t | reserve | 
Detailed Description
The whole battery information push,include: 1.some raw battery data; 2.calculated data; 3.battery state
Member Data Documentation
◆ batteryCapacityPercentage
| uint8_t DJI::OSDK::BatteryWholeInfo::batteryCapacityPercentage | 
mv
◆ batteryState
| DJIWholeBatteryState DJI::OSDK::BatteryWholeInfo::batteryState | 
(mAh/sec)
◆ capacityConsumeSpeed
| float DJI::OSDK::BatteryWholeInfo::capacityConsumeSpeed | 
Safe flight area radius (m)
◆ gohomeCountDownvalue
| uint8_t DJI::OSDK::BatteryWholeInfo::gohomeCountDownvalue | 
Countdown status of smart battery gohome 0/2:not in gohome state 1 :in gohome state
◆ goHomeNeedCapacity
| uint16_t DJI::OSDK::BatteryWholeInfo::goHomeNeedCapacity | 
Time required for the land flight (s).max value:100
◆ landNeedCapacity
| uint16_t DJI::OSDK::BatteryWholeInfo::landNeedCapacity | 
Capacity required for the gohome flight (%).max value:100
◆ landNeedTime
| uint16_t DJI::OSDK::BatteryWholeInfo::landNeedTime | 
Time required for the gohome flight (s)
◆ lowBatteryAlarmThreshold
| uint8_t DJI::OSDK::BatteryWholeInfo::lowBatteryAlarmThreshold | 
uint:%.max value:100
◆ safeFlyRadius
| float DJI::OSDK::BatteryWholeInfo::safeFlyRadius | 
Capacity required for the land flight (%).max value:100
◆ voltage
| uint16_t DJI::OSDK::BatteryWholeInfo::voltage | 
uint:s.max value:10
The documentation for this struct was generated from the following file:
- osdk-core/api/inc/dji_battery.hpp