Navigator: MissionFeasibiltyCheck first WP: check only to current vehicle position

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer
2023-03-27 17:43:33 +02:00
parent 465ddddbfd
commit ba17a137e1
4 changed files with 13 additions and 65 deletions
+3 -3
View File
@@ -73,14 +73,14 @@ PARAM_DEFINE_FLOAT(MIS_TAKEOFF_ALT, 2.5f);
PARAM_DEFINE_INT32(MIS_TKO_LAND_REQ, 0);
/**
* Maximal horizontal distance from home to first waypoint
* Maximal horizontal distance from current position to first waypoint
*
* Failsafe check to prevent running mission stored from previous flight at a new takeoff location.
* Set a value of zero or less to disable. The mission will not be started if the current
* waypoint is more distant than MIS_DIST_1WP from the home position.
* waypoint is more distant than MIS_DIST_1WP from the current position.
*
* @unit m
* @min 0
* @min -1
* @max 10000
* @decimal 1
* @increment 100