Skip to main content

DroneFlightModeEnum

enum class DroneFlightModeEnum

Description: Flight Status

enum class DroneFlightModeEnum(var value: Int) {
/**
* Motor stops
*/
DISARM(0),

/**
* The aircraft motors are rotating, but the aircraft is still on the ground.
*/
LANDED(1),

/**
* The aircraft is landing Do not use, use DroneWorkModeEnum.LAND instead
*/
LANDING(2),

/**
* The aircraft is taking off, including automatic takeoff and takeoff controlled by the remote control. Do not use it, use DroneWorkModeEnum.TAKEOFF instead
*/
TAKEOFF(3),

/**
* The aircraft is flying and in attitude mode (no GPS, no vision)
*/
ATTITUDE(4),

/**
* Aircraft is flying, in GPS mode or Starpoint (visual) mode
*/
GPS(5),

/**
* The aircraft is performing a smart mission
*/
WORKING(6),

/**
* unknown
*/
UNKNOWN(0xFF);
}