manual_control: support arming button

The arming button required some refactoring in order to support to
toggle arm/disarm using the vehicle_command. Otherwise manual_control
would have to subscribe to the arming topic and we would spread out the
logic again, and risk race conditions.
This commit is contained in:
Julian Oes
2021-11-09 16:05:25 +01:00
committed by Matthias Grob
parent 9cbfa2ca95
commit bd0c1014d9
5 changed files with 62 additions and 21 deletions
+4
View File
@@ -172,6 +172,10 @@
"13": {
"name": "unit_test",
"description": "unit tests"
},
"14": {
"name": "rc_button",
"description": "RC (button)"
}
}
},