Unverified Commit e660d0db authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #6522 from DonLakeFlyer/VTOLAlternateTransects

Survey: Allow VTOL vehicles to fly alternat transects
parents 5a5c4415 aed7d7fa
...@@ -483,5 +483,5 @@ bool CorridorScanComplexItem::readyForSave(void) const ...@@ -483,5 +483,5 @@ bool CorridorScanComplexItem::readyForSave(void) const
double CorridorScanComplexItem::timeBetweenShots(void) double CorridorScanComplexItem::timeBetweenShots(void)
{ {
return _cruiseSpeed == 0 ? 0 : _cameraCalc.adjustedFootprintSide()->rawValue().toDouble() / _cruiseSpeed; return _cruiseSpeed == 0 ? 0 : _cameraCalc.adjustedFootprintFrontal()->rawValue().toDouble() / _cruiseSpeed;
} }
...@@ -133,7 +133,7 @@ Rectangle { ...@@ -133,7 +133,7 @@ Rectangle {
FactCheckBox { FactCheckBox {
text: qsTr("Fly alternate transects") text: qsTr("Fly alternate transects")
fact: missionItem.flyAlternateTransects fact: missionItem.flyAlternateTransects
visible: _vehicle.fixedWing visible: _vehicle.fixedWing || _vehicle.vtol
Layout.columnSpan: 2 Layout.columnSpan: 2
} }
......
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