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:
Michał Barciś
2023-11-13 11:57:19 +01:00
committed by Matthias Grob
parent 84577ce2c2
commit c2b4f051f9
5 changed files with 110 additions and 10 deletions
+27
View File
@@ -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);