enum ugcs::vsm::Vehicle_command::Type

Overview

Type of the command. More…

#include <vehicle_command.h>

enum Type
{
    ARM,
    DISARM,
    AUTO_MODE,
    MANUAL_MODE,
    GUIDED_MODE,
    JOYSTICK_CONTROL_MODE,
    RETURN_HOME,
    TAKEOFF,
    LAND,
    EMERGENCY_LAND,
    CAMERA_TRIGGER,
    WAYPOINT,
    PAUSE_MISSION,
    RESUME_MISSION,
    DIRECT_VEHICLE_CONTROL,
    DIRECT_PAYLOAD_CONTROL,
    CAMERA_POWER,
    CAMERA_VIDEO_SOURCE,
};

Detailed Documentation

Type of the command.

Enum Values

ARM

Do arm.

DISARM

Do disarm.

AUTO_MODE

Enable auto mode.

MANUAL_MODE

Enable manual mode.

GUIDED_MODE

Enable guided mode.

JOYSTICK_CONTROL_MODE

Enable direct vehicle control mode.

RETURN_HOME

Return to home.

TAKEOFF

Do takeoff.

LAND

Do land.

EMERGENCY_LAND

Do emergency land.

CAMERA_TRIGGER

Trigger the camera, take snapshot.

WAYPOINT

Fly to this waypoint.

PAUSE_MISSION

Pause the mission.

RESUME_MISSION

Resume the mission.

DIRECT_VEHICLE_CONTROL

Direct vehicle control.

DIRECT_PAYLOAD_CONTROL

Direct gimbal control.

CAMERA_POWER

camera power on/off.

CAMERA_VIDEO_SOURCE

camera selection.