From daa5fb62c14581e7a8f60828668e1c258b9b9d15 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 19 Sep 2017 17:54:07 -0700 Subject: [PATCH] Bump multi-rotor turnaround distance --- src/MissionManager/SurveyMissionItem.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MissionManager/SurveyMissionItem.cc b/src/MissionManager/SurveyMissionItem.cc index 94520eefe..7f3c9823c 100644 --- a/src/MissionManager/SurveyMissionItem.cc +++ b/src/MissionManager/SurveyMissionItem.cc @@ -116,7 +116,8 @@ SurveyMissionItem::SurveyMissionItem(Vehicle* vehicle, QObject* parent) // If the user hasn't changed turnaround from the default (which is a fixed wing default) and we are multi-rotor set the multi-rotor default. // NULL check since object creation during unit testing passes NULL for vehicle if (_vehicle && _vehicle->multiRotor() && _turnaroundDistFact.rawValue().toDouble() == _turnaroundDistFact.rawDefaultValue().toDouble()) { - _turnaroundDistFact.setRawValue(5); + // Note this is set to 10 meters to work around a problem with PX4 Pro turnaround behavior. Don't change unless firmware gets better as well. + _turnaroundDistFact.setRawValue(10); } // We override the grid altitude to the mission default -- 2.22.0