Skip to content

Commit

Permalink
action: add force-arming (#337)
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Oes <[email protected]>
  • Loading branch information
julianoes authored Apr 12, 2024
1 parent 1acb789 commit 5ce84c6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions protos/action/action.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 5ce84c6

Please sign in to comment.