Browse Source

Merge pull request #6522 from DonLakeFlyer/VTOLAlternateTransects

Survey: Allow VTOL vehicles to fly alternat transects
QGC4.4
Don Gagne 7 years ago committed by GitHub
parent
commit
e660d0db1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/MissionManager/CorridorScanComplexItem.cc
  2. 2
      src/PlanView/SurveyItemEditor.qml

2
src/MissionManager/CorridorScanComplexItem.cc

@ -483,5 +483,5 @@ bool CorridorScanComplexItem::readyForSave(void) const @@ -483,5 +483,5 @@ bool CorridorScanComplexItem::readyForSave(void) const
double CorridorScanComplexItem::timeBetweenShots(void)
{
return _cruiseSpeed == 0 ? 0 : _cameraCalc.adjustedFootprintSide()->rawValue().toDouble() / _cruiseSpeed;
return _cruiseSpeed == 0 ? 0 : _cameraCalc.adjustedFootprintFrontal()->rawValue().toDouble() / _cruiseSpeed;
}

2
src/PlanView/SurveyItemEditor.qml

@ -133,7 +133,7 @@ Rectangle { @@ -133,7 +133,7 @@ Rectangle {
FactCheckBox {
text: qsTr("Fly alternate transects")
fact: missionItem.flyAlternateTransects
visible: _vehicle.fixedWing
visible: _vehicle.fixedWing || _vehicle.vtol
Layout.columnSpan: 2
}

Loading…
Cancel
Save