From 5ce84c685400f827b9038db7782303bd38125681 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Fri, 12 Apr 2024 20:08:37 +1200 Subject: [PATCH] action: add force-arming (#337) Signed-off-by: Julian Oes --- protos/action/action.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/protos/action/action.proto b/protos/action/action.proto index 5ca887d7..3ac5b9ab 100644 --- a/protos/action/action.proto +++ b/protos/action/action.proto @@ -16,6 +16,15 @@ service ActionService { * Before arming take all safety precautions and stand clear of the drone! */ rpc Arm(ArmRequest) returns(ArmResponse) {} + /* + * Send command to force-arm the drone without any checks. + * + * Attention: this is not to be used for normal flying but only bench tests! + * + * Arming a drone normally causes motors to spin at idle. + * Before arming take all safety precautions and stand clear of the drone! + */ + rpc ArmForce(ArmForceRequest) returns(ArmForceResponse) {} /* * Send command to disarm the drone. * @@ -158,6 +167,11 @@ message ArmResponse { ActionResult action_result = 1; } +message ArmForceRequest {} +message ArmForceResponse { + ActionResult action_result = 1; +} + message DisarmRequest {} message DisarmResponse { ActionResult action_result = 1;