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:
parent
454a81760e
commit
071f81370a
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user