1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

Display the speed waypoint element

if not 0
This commit is contained in:
Dmytro Poplavskiy 2013-11-09 11:03:33 +10:00 committed by Alessio Morale
parent 454a81760e
commit 071f81370a

View File

@ -56,6 +56,18 @@ Item {
}
}
}
SvgElementImage {
id: speed_waypoint
elementName: "speed-waypoint"
sceneSize: sceneItem.sceneSize
visible: PathDesired.EndingVelocity !== 0.0
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
anchors.verticalCenterOffset: speed_scale.height/30 * (sceneItem.groundSpeed - PathDesired.EndingVelocity)
}
}
SvgElementImage {