mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
LP-29 move common.js one directory up
This commit is contained in:
parent
12bfee2df3
commit
35aab3003b
@ -15,4 +15,3 @@ function formatTime(time) {
|
|||||||
else
|
else
|
||||||
return time.toString();
|
return time.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -5,8 +5,6 @@ import UAVTalk.PositionState 1.0
|
|||||||
import UAVTalk.PathDesired 1.0
|
import UAVTalk.PathDesired 1.0
|
||||||
import UAVTalk.TakeOffLocation 1.0
|
import UAVTalk.TakeOffLocation 1.0
|
||||||
|
|
||||||
import "common.js" as Utils
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: sceneItem
|
id: sceneItem
|
||||||
property variant sceneSize
|
property variant sceneSize
|
||||||
|
@ -11,7 +11,7 @@ import UAVTalk.GPSSatellites 1.0
|
|||||||
import UAVTalk.FlightBatterySettings 1.0
|
import UAVTalk.FlightBatterySettings 1.0
|
||||||
import UAVTalk.FlightBatteryState 1.0
|
import UAVTalk.FlightBatteryState 1.0
|
||||||
|
|
||||||
import "common.js" as Utils
|
import "../common.js" as Utils
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: info
|
id: info
|
||||||
|
@ -10,7 +10,7 @@ import UAVTalk.MagState 1.0
|
|||||||
import UAVTalk.ReceiverStatus 1.0
|
import UAVTalk.ReceiverStatus 1.0
|
||||||
import UAVTalk.OPLinkStatus 1.0
|
import UAVTalk.OPLinkStatus 1.0
|
||||||
|
|
||||||
import "common.js" as Utils
|
import "../common.js" as Utils
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: panels
|
id: panels
|
||||||
|
@ -3,8 +3,6 @@ import QtQuick 2.4
|
|||||||
import UAVTalk.FlightStatus 1.0
|
import UAVTalk.FlightStatus 1.0
|
||||||
import UAVTalk.VelocityDesired 1.0
|
import UAVTalk.VelocityDesired 1.0
|
||||||
|
|
||||||
import "common.js" as Utils
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: sceneItem
|
id: sceneItem
|
||||||
property variant sceneSize
|
property variant sceneSize
|
||||||
|
@ -5,7 +5,7 @@ import UAVTalk.SystemAlarms 1.0
|
|||||||
import UAVTalk.FlightStatus 1.0
|
import UAVTalk.FlightStatus 1.0
|
||||||
import UAVTalk.VtolPathFollowerSettings 1.0
|
import UAVTalk.VtolPathFollowerSettings 1.0
|
||||||
|
|
||||||
import "common.js" as Utils
|
import "../common.js" as Utils
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: warnings
|
id: warnings
|
||||||
@ -193,6 +193,8 @@ Item {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: warnings.flightmodeColors[flightStatus.flightMode]
|
color: warnings.flightmodeColors[flightStatus.flightMode]
|
||||||
|
// Manual,Stabilized1,Stabilized2,Stabilized3,Stabilized4,Stabilized5,Stabilized6,PositionHold,CourseLock,
|
||||||
|
// VelocityRoam,HomeLeash,AbsolutePosition,ReturnToBase,Land,PathPlanner,POI,AutoCruise,AutoTakeoff
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user