Commit 96a05411 authored by DonLakeFlyer's avatar DonLakeFlyer

Force to gimbal yaw only

parent 59ddfdff
...@@ -41,7 +41,7 @@ StructureScanComplexItem::StructureScanComplexItem(Vehicle* vehicle, QObject* pa ...@@ -41,7 +41,7 @@ StructureScanComplexItem::StructureScanComplexItem(Vehicle* vehicle, QObject* pa
, _cameraShots (0) , _cameraShots (0)
, _cameraMinTriggerInterval (0) , _cameraMinTriggerInterval (0)
, _cameraCalc (vehicle) , _cameraCalc (vehicle)
, _yawVehicleToStructure (true) , _yawVehicleToStructure (false)
, _altitudeFact (0, _altitudeFactName, FactMetaData::valueTypeDouble) , _altitudeFact (0, _altitudeFactName, FactMetaData::valueTypeDouble)
, _layersFact (0, _layersFactName, FactMetaData::valueTypeUint32) , _layersFact (0, _layersFactName, FactMetaData::valueTypeUint32)
{ {
......
...@@ -143,6 +143,7 @@ Rectangle { ...@@ -143,6 +143,7 @@ Rectangle {
text: qsTr("Vehicle yaw") text: qsTr("Vehicle yaw")
exclusiveGroup: yawRadiosGroup exclusiveGroup: yawRadiosGroup
checked: !!missionItem.yawVehicleToStructure checked: !!missionItem.yawVehicleToStructure
enabled: false
} }
QGCRadioButton QGCRadioButton
...@@ -150,6 +151,7 @@ Rectangle { ...@@ -150,6 +151,7 @@ Rectangle {
text: qsTr("Gimbal yaw") text: qsTr("Gimbal yaw")
exclusiveGroup: yawRadiosGroup exclusiveGroup: yawRadiosGroup
checked: !missionItem.yawVehicleToStructure checked: !missionItem.yawVehicleToStructure
enabled: false
} }
} }
......
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