mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
LP-230 Waypoint fixes velocity, altitude and heading needed for auto modes
This commit is contained in:
parent
59808be4e2
commit
35612b41f3
@ -73,7 +73,7 @@ Item {
|
||||
id: altitude_waypoint
|
||||
elementName: "altitude-waypoint"
|
||||
sceneSize: sceneItem.sceneSize
|
||||
visible: (UAV.pathDesiredEndDown() != 0.0)
|
||||
visible: (UAV.isFlightModeAssisted() && (UAV.pathDesiredEndDown() != 0.0))
|
||||
|
||||
anchors.left: parent.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
@ -64,7 +64,7 @@ Item {
|
||||
rotation: -UAV.attitudeYaw() + UAV.waypointHeading()
|
||||
transformOrigin: Item.Center
|
||||
|
||||
visible: UAV.isPathDesiredActive()
|
||||
visible: (UAV.isFlightModeAssisted() && UAV.isPathDesiredActive())
|
||||
}
|
||||
|
||||
Item {
|
||||
|
@ -64,7 +64,7 @@ Item {
|
||||
id: speed_waypoint
|
||||
elementName: "speed-waypoint"
|
||||
sceneSize: sceneItem.sceneSize
|
||||
visible: UAV.isPathDesiredActive()
|
||||
visible: (UAV.isFlightModeAssisted() && UAV.isPathDesiredActive())
|
||||
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
@ -24,7 +24,7 @@ Item {
|
||||
y: scaledBounds.y * sceneItem.height
|
||||
|
||||
smooth: true
|
||||
visible: ((UAV.velocityDesiredDown() != 0.0) && (UAV.isFlightModeAssisted()))
|
||||
visible: (UAV.isFlightModeAssisted() && (UAV.velocityDesiredDown() != 0.0))
|
||||
|
||||
// rotate it around the center
|
||||
transform: Rotation {
|
||||
|
Loading…
Reference in New Issue
Block a user