feat(Commander): add preflight check for containing rally point for RTL_TYPE 5

Signed-off-by: Silvan <silvan@auterion.com>
This commit is contained in:
Silvan
2026-03-17 15:47:24 +01:00
committed by Silvan Fuhrer
parent e9a04ed755
commit 7922ecbed2
6 changed files with 133 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ bool is_evaluation_pending # flag if the RTL point needs reevaluation (e.
bool has_vtol_approach # flag if approaches are defined for current RTL_TYPE parameter setting
uint8 rtl_type # Type of RTL chosen
uint8 safe_point_index # index of the chosen safe point, if in RTL_STATUS_TYPE_DIRECT_SAFE_POINT mode
uint8 safe_point_index # index of the chosen safe point, UINT8_MAX if no rally point was chosen
uint8 RTL_STATUS_TYPE_NONE=0 # pending if evaluation can't pe performed currently e.g. when it is still loading the safe points
uint8 RTL_STATUS_TYPE_DIRECT_SAFE_POINT=1 # chosen to directly go to a safe point or home position