Skip to main content

DragonFish Fast Fly Type

enum class FastFlyEnum(DragonFish)

Description: DragonFish fast fly type

enum class FastFlyEnum(var value: Int) {

//0: Use the drone's current position to set the drone's home point. This will ignore the remaining parameters
DRONE_POINT_AS_HOME_POINT(0),

//1: Set the drone's home point using the GPS coordinates specified by the remaining parameters
SET_HOME_POINT(1),

//2: Emergency landing point
EMERGENCY_POINT(2),

//3: Temporary waypoint (including height, hover radius)
TMP_POINT(3),

//4: Interest point (including height)
INTEREST_POINT(4),

//5: Height adjustment (only the height bit is valid, the number represents the height to be adjusted)
SET_HEIGHT(5),

//6: Speed adjustment (only the speed bit is valid, the number represents the desired speed (temporary))
SET_SPEED(6),

//7: 8-character hover fast mission (latitude, longitude, height, radius, heading, reference baseline length)
EIGHT_MISSION(7),

UNKNOWN(-1);
}