Commit 1fc04bf4 authored by Don Gagne's avatar Don Gagne

Fix unit test usage

parent fd28bf03
...@@ -92,7 +92,7 @@ SurveyMissionItem::SurveyMissionItem(Vehicle* vehicle, QObject* parent) ...@@ -92,7 +92,7 @@ SurveyMissionItem::SurveyMissionItem(Vehicle* vehicle, QObject* parent)
_gridAltitudeFact.setRawValue(50); _gridAltitudeFact.setRawValue(50);
_gridSpacingFact.setRawValue(30); _gridSpacingFact.setRawValue(30);
_turnaroundDistFact.setRawValue(_vehicle->multiRotor() ? 0 : 60); _turnaroundDistFact.setRawValue((_vehicle && _vehicle->multiRotor()) ? 0 : 60);
_cameraTriggerDistanceFact.setRawValue(25); _cameraTriggerDistanceFact.setRawValue(25);
_groundResolutionFact.setRawValue(3); _groundResolutionFact.setRawValue(3);
_frontalOverlapFact.setRawValue(10); _frontalOverlapFact.setRawValue(10);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment