DJI::OSDK::BatteryWholeInfoImpl Struct Reference

#include <dji_battery_impl.hpp>

Public Attributes

uint16_t remainFlyTime
 
uint16_t goHomeNeedTime
 
uint16_t landNeedTime
 
uint16_t goHomeNeedCapacity
 
uint16_t landNeedCapacity
 
float safeFlyRadius
 
float capacityConsumeSpeed
 
DJIWholeBatteryStateImpl 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 batteryType:2
 
uint8_t reserve:6
 

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::BatteryWholeInfoImpl::batteryCapacityPercentage

mv

◆ batteryState

DJIWholeBatteryStateImpl DJI::OSDK::BatteryWholeInfoImpl::batteryState

(mAh/sec)

◆ capacityConsumeSpeed

float DJI::OSDK::BatteryWholeInfoImpl::capacityConsumeSpeed

Safe flight area radius (m)

◆ gohomeCountDownvalue

uint8_t DJI::OSDK::BatteryWholeInfoImpl::gohomeCountDownvalue

Countdown status of smart battery gohome 0/2:not in gohome state 1 :in gohome state

◆ goHomeNeedCapacity

uint16_t DJI::OSDK::BatteryWholeInfoImpl::goHomeNeedCapacity

Time required for the land flight (s).max value:100

◆ landNeedCapacity

uint16_t DJI::OSDK::BatteryWholeInfoImpl::landNeedCapacity

Capacity required for the gohome flight (%).max value:100

◆ landNeedTime

uint16_t DJI::OSDK::BatteryWholeInfoImpl::landNeedTime

Time required for the gohome flight (s)

◆ lowBatteryAlarmThreshold

uint8_t DJI::OSDK::BatteryWholeInfoImpl::lowBatteryAlarmThreshold

uint:%.max value:100

◆ safeFlyRadius

float DJI::OSDK::BatteryWholeInfoImpl::safeFlyRadius

Capacity required for the land flight (%).max value:100

◆ voltage

uint16_t DJI::OSDK::BatteryWholeInfoImpl::voltage

uint:s.max value:10


The documentation for this struct was generated from the following file: