mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 22:13:34 +08:00
Navigator: MissionFeasibilityCheck: Rework 1st waypoint check (#23568)
* FeasibilityChecker: only warn when first waypoint is too far, but still accept mission as valid * feasiblityChecker: make distance to first waypoint check against home position instead of current position, so it is more constant during a flight * Apply suggestions from code review Co-authored-by: Silvan Fuhrer <silvan@auterion.com> * feasibilityCheckerTest: update tests to not fail for first waypoint check * feasibilityChecker: make comment for 1stwaypointcheck event * Feasibility check unit test: fix comment Signed-off-by: Silvan Fuhrer <silvan@auterion.com> --------- Signed-off-by: Silvan Fuhrer <silvan@auterion.com> Co-authored-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
co-authored by
Silvan Fuhrer
parent
f252e20eae
commit
3478765c31
@@ -41,7 +41,6 @@
|
||||
*/
|
||||
|
||||
#include "mission_feasibility_checker.h"
|
||||
#include "MissionFeasibility/FeasibilityChecker.hpp"
|
||||
|
||||
#include "mission_block.h"
|
||||
#include "navigator.h"
|
||||
|
||||
Reference in New Issue
Block a user