mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 10:41:36 +08:00
Commander: add wind speed warning
Publishes periodically (max every 1 min) a warning if the current wind estimate is above COM_WIND_WARN. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Daniel Agar
parent
1a4ce136f3
commit
eeb6244c6b
@@ -1025,3 +1025,20 @@ PARAM_DEFINE_INT32(COM_ARM_ARSP_EN, 1);
|
||||
* @value 2 Enforce SD card presence
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_ARM_SDCARD, 1);
|
||||
|
||||
/**
|
||||
* Wind speed warning threshold
|
||||
*
|
||||
* A warning is triggered if the currently estimated wind speed is above this value.
|
||||
* Warning is sent periodically (every 1min).
|
||||
*
|
||||
* A negative value disables the feature.
|
||||
*
|
||||
* @min -1
|
||||
* @max 30
|
||||
* @decimal 1
|
||||
* @increment 0.1
|
||||
* @group Commander
|
||||
* @unit m/s
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(COM_WIND_WARN, -1.f);
|
||||
|
||||
Reference in New Issue
Block a user