From 5c5b46ef2a524dfe85446b17966fd40044bc7872 Mon Sep 17 00:00:00 2001 From: Roman Ligocki Date: Thu, 29 Apr 2021 16:36:54 +0200 Subject: [PATCH] Added comments, removed Arm, Disarm actions, change name of PlaneAction to VehicleAction --- protos/mission/mission.proto | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/protos/mission/mission.proto b/protos/mission/mission.proto index 935806c1f..49d569f6c 100644 --- a/protos/mission/mission.proto +++ b/protos/mission/mission.proto @@ -184,14 +184,12 @@ message MissionItem { CAMERA_ACTION_STOP_VIDEO = 5; // Stop capturing video } - enum PlaneAction { - VEHICLE_ACTION_NONE = 0; - VEHICLE_ACTION_ARM = 1; - VEHICLE_ACTION_DISARM = 2; - VEHICLE_ACTION_TAKEOFF = 3; - VEHICLE_ACTION_LAND = 4; - VEHICLE_ACTION_TRANSITION_TO_FW = 5; - VEHICLE_ACTION_TRANSITION_TO_MC = 6; + enum VehicleAction { + VEHICLE_ACTION_NONE = 0; // No action + VEHICLE_ACTION_TAKEOFF = 1; // Vehicle will takeoff and go to defined waypoint + VEHICLE_ACTION_LAND = 2; // When a waypoint is reached vehicle will land at current position + VEHICLE_ACTION_TRANSITION_TO_FW = 3; // When a waypoint is reached vehicle will transition to fixed-wing mode + VEHICLE_ACTION_TRANSITION_TO_MC = 4; // When a waypoint is reached vehicle will transition to multi-copter mode } }