mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-10 04:31:36 +08:00
Commander: high wind speed handling updates
- add logic for detecting high wind speed in Commander, and handle it toghether with wind speed warning - trigger and enforce RTL if COM_WIND_MAX is breached Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -1083,3 +1083,20 @@ PARAM_DEFINE_FLOAT(COM_WIND_WARN, -1.f);
|
||||
* @group Commander
|
||||
*/
|
||||
PARAM_DEFINE_INT32(COM_FLT_TIME_MAX, -1);
|
||||
|
||||
/**
|
||||
* Wind speed RLT threshold
|
||||
*
|
||||
* Wind speed threshold above which an automatic return to launch is triggered
|
||||
* and enforced as long as the threshold is exceeded.
|
||||
*
|
||||
* 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_MAX, -1.f);
|
||||
|
||||
Reference in New Issue
Block a user