mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 19:11:35 +08:00
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:
committed by
Daniel Agar
parent
cf55901ac9
commit
a649bbebb7
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user