Skip to content
Snippets Groups Projects
Commit f6ab40d2 authored by TSC21's avatar TSC21 Committed by Julian Oes
Browse files

mission_feasibility_checker: takeoff: fix logic to return as valid

parent 676e1eb2
No related branches found
No related tags found
No related merge requests found
......@@ -181,10 +181,10 @@ MissionFeasibilityChecker::checkRotarywing(const mission_s &mission, float home_
mavlink_log_critical(_navigator->get_mavlink_log_pub(), "Mission rejected: takeoff waypoint required!");
return false;
} else {
// all checks have passed
return true;
}
// all checks have passed
return true;
}
bool
......@@ -461,10 +461,10 @@ MissionFeasibilityChecker::checkFixedWingTakeoff(const mission_s &mission, float
mavlink_log_critical(_navigator->get_mavlink_log_pub(), "Mission rejected: takeoff waypoint required!");
return false;
} else {
// all checks have passed
return true;
}
// all checks have passed
return true;
}
bool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment