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:
Silvan Fuhrer
2022-05-09 19:09:40 +02:00
parent 1aad82f87d
commit 5d6c8c986d
6 changed files with 47 additions and 13 deletions
@@ -67,7 +67,6 @@ union failure_detector_status_u {
uint16_t alt : 1;
uint16_t ext : 1;
uint16_t arm_escs : 1;
uint16_t high_wind : 1;
uint16_t battery : 1;
uint16_t imbalanced_prop : 1;
} flags;