QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
OpticalFlowSensor.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Controls
3import QtQuick.Dialogs
4
5import QGroundControl
6import QGroundControl.Controls
7
8Item {
9 QGCLabel {
10 text: qsTr("Optical Flow Camera")
11 font.bold: true
12 }
13
14 Image {
15 source: globals.activeVehicle ? "image://QGCImages/" + globals.activeVehicle.id + "/" + globals.activeVehicle.flowImageIndex : ""
16 width: parent.width * 0.5
17 height: width * 0.75
18 cache: false
19 fillMode: Image.PreserveAspectFit
20 anchors.centerIn: parent
21 }
22}