mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 03:31:36 +08:00
Added Throw Launch feature
More details in the PR: https://github.com/PX4/PX4-Autopilot/pull/21170 Signed-off-by: Michał Barciś <mbarcis@mbarcis.net>
This commit is contained in:
committed by
Matthias Grob
parent
84577ce2c2
commit
c2b4f051f9
@@ -1134,3 +1134,30 @@ PARAM_DEFINE_INT32(COM_ARMABLE, 1);
|
||||
* @group Commander
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_ARM_BAT_MIN, 0.f);
|
||||
|
||||
/**
|
||||
* Enable throw-start
|
||||
*
|
||||
* Allows to start the vehicle by throwing it into the air.
|
||||
*
|
||||
* @group Commander
|
||||
* @boolean
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_THROW_EN, 0);
|
||||
|
||||
/**
|
||||
* Minimum speed for the throw start
|
||||
*
|
||||
* When the throw launch is enabled, the drone will only arm after this speed is exceeded before detecting
|
||||
* the freefall. This is a safety feature to ensure the drone does not turn on after accidental drop or
|
||||
* a rapid movement before the throw.
|
||||
*
|
||||
* Set to 0 to disable.
|
||||
*
|
||||
* @group Commander
|
||||
* @min 0
|
||||
* @decimal 1
|
||||
* @increment 0.1
|
||||
* @unit m/s
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_THROW_SPEED, 5);
|
||||
|
||||
Reference in New Issue
Block a user