mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 10:01:35 +08:00
Commander: set home position in air
en/dis-able in-air home position via parameter COM_HOME_IN_AIR
This commit is contained in:
@@ -213,6 +213,18 @@ PARAM_DEFINE_FLOAT(COM_HOME_H_T, 5.0f);
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_HOME_V_T, 10.0f);
|
||||
|
||||
/**
|
||||
* Allows setting the home position after takeoff
|
||||
*
|
||||
* If set to true, the autopilot is allowed to set its home position after takeoff
|
||||
* The true home position is back-computed if a local position is estimate if available.
|
||||
* If no local position is available, home is set to the current position.
|
||||
*
|
||||
* @boolean
|
||||
* @group Commander
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_HOME_IN_AIR, 0);
|
||||
|
||||
/**
|
||||
* RC control input mode
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user