commander: switch to hold or mission once takeoff is finished (#8020)

* add COM_TAKEOFF_ACT to optionally switch to mission after takeoff
This commit is contained in:
Dennis Mannhart
2017-12-31 13:58:20 -05:00
committed by Daniel Agar
parent cf55901ac9
commit a649bbebb7
3 changed files with 29 additions and 9 deletions
+11
View File
@@ -700,3 +700,14 @@ PARAM_DEFINE_INT32(COM_POS_FS_GAIN, 10);
* @min 0
*/
PARAM_DEFINE_INT32(COM_FLIGHT_UUID, 0);
/**
* Action after TAKEOFF has been accepted.
*
* The mode transition after TAKEOFF has completed successfully.
*
* @value 0 Hold
* @value 1 Mission (if valid)
* @group Mission
*/
PARAM_DEFINE_INT32(COM_TAKEOFF_ACT, 0);