DJI Payload SDK  1.5.3
Data Fields
T_UavStateMsg Struct Reference

The structure defining UAV State Push contents. More...

#include <psdk_cmdset_msg_push.h>

Data Fields

struct {
   uint8_t   compassState: 1
 
   uint8_t   motorState: 1
 
   uint8_t   landState: 2
 
   uint8_t   reserved: 4
 
uavState
 
uint16_t flightTime
 
uint8_t uavType
 

Detailed Description

The structure defining UAV State Push contents.

Field Documentation

◆ compassState

uint8_t compassState

Specifies UAV compass state. This parameter can be any value of Psdk Compass State.

◆ motorState

uint8_t motorState

Specifies UAV motor state. This parameter can be any value of Psdk Motor State.

◆ landState

uint8_t landState

Specifies UAV land state. This parameter can be any value of Psdk Land State.

◆ flightTime

uint16_t flightTime

Specifies UAV flying duration, unit: 0.1s.

◆ uavType

uint8_t uavType

Specifies uav type. This parameter can be any value of Psdk UAV Type.


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