Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
44bda371
Unverified
Commit
44bda371
authored
Dec 15, 2019
by
Don Gagne
Committed by
GitHub
Dec 15, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8124 from DonLakeFlyer/LaunchNaming
Launch naming
parents
b7deac60
a9935798
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
21 additions
and
20 deletions
+21
-20
PX4AdvancedFlightModes.qml
src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml
+1
-1
SafetyComponent.qml
src/AutoPilotPlugins/PX4/SafetyComponent.qml
+2
-2
GuidedActionsController.qml
src/FlightDisplay/GuidedActionsController.qml
+1
-1
CenterMapDropButton.qml
src/FlightMap/Widgets/CenterMapDropButton.qml
+1
-1
CenterMapDropPanel.qml
src/FlightMap/Widgets/CenterMapDropPanel.qml
+1
-1
MavCmdInfoCommon.json
src/MissionManager/MavCmdInfoCommon.json
+5
-5
MissionSettings.FactMetaData.json
src/MissionManager/MissionSettings.FactMetaData.json
+1
-1
MissionSettingsItem.cc
src/MissionManager/MissionSettingsItem.cc
+1
-1
SimpleMissionItem.cc
src/MissionManager/SimpleMissionItem.cc
+1
-1
FWLandingPatternEditor.qml
src/PlanView/FWLandingPatternEditor.qml
+1
-1
MissionSettingsEditor.qml
src/PlanView/MissionSettingsEditor.qml
+2
-2
SimpleItemEditor.qml
src/PlanView/SimpleItemEditor.qml
+2
-2
ToolStrip.qml
src/QmlControls/ToolStrip.qml
+2
-1
No files found.
src/AutoPilotPlugins/PX4/PX4AdvancedFlightModes.qml
View file @
44bda371
...
...
@@ -80,7 +80,7 @@ Item {
readonly
property
string
mrLoiterModeDescription
:
qsTr
(
"
The multirotor hovers at the current position and altitude.
"
)
readonly
property
string
returnModeName
:
qsTr
(
"
Return
"
)
readonly
property
string
returnModeDescription
:
qsTr
(
"
The vehicle returns to the
home
position, loiters and then lands.
"
)
readonly
property
string
returnModeDescription
:
qsTr
(
"
The vehicle returns to the
launch
position, loiters and then lands.
"
)
readonly
property
string
offboardModeName
:
qsTr
(
"
Offboard
"
)
readonly
property
string
offboardModeDescription
:
qsTr
(
"
All flight control aspects are controlled by an offboard system.
"
)
...
...
src/AutoPilotPlugins/PX4/SafetyComponent.qml
View file @
44bda371
...
...
@@ -410,7 +410,7 @@ SetupPage {
}
QGCLabel
{
text
:
qsTr
(
"
Return
Home
Settings
"
)
text
:
qsTr
(
"
Return
To Launch
Settings
"
)
}
Rectangle
{
...
...
@@ -449,7 +449,7 @@ SetupPage {
}
QGCLabel
{
text
:
qsTr
(
"
Return
home
, then:
"
)
text
:
qsTr
(
"
Return
to launch
, then:
"
)
Layout.columnSpan
:
2
}
Row
{
...
...
src/FlightDisplay/GuidedActionsController.qml
View file @
44bda371
...
...
@@ -60,7 +60,7 @@ Item {
readonly
property
string
continueMissionMessage
:
qsTr
(
"
Continue the mission from the current waypoint.
"
)
readonly
property
string
resumeMissionUploadFailMessage
:
qsTr
(
"
Upload of resume mission failed. Confirm to retry upload
"
)
readonly
property
string
landMessage
:
qsTr
(
"
Land the vehicle at the current position.
"
)
readonly
property
string
rtlMessage
:
qsTr
(
"
Return to the
home
position of the vehicle.
"
)
readonly
property
string
rtlMessage
:
qsTr
(
"
Return to the
launch
position of the vehicle.
"
)
readonly
property
string
changeAltMessage
:
qsTr
(
"
Change the altitude of the vehicle up or down.
"
)
readonly
property
string
gotoMessage
:
qsTr
(
"
Move the vehicle to the specified location.
"
)
property
string
setWaypointMessage
:
qsTr
(
"
Adjust current waypoint to %1.
"
).
arg
(
_actionData
)
...
...
src/FlightMap/Widgets/CenterMapDropButton.qml
View file @
44bda371
...
...
@@ -186,7 +186,7 @@ DropButton {
}
QGCButton
{
text
:
qsTr
(
"
Home
"
)
text
:
qsTr
(
"
Launch
"
)
Layout.fillWidth
:
true
enabled
:
!
followVehicleCheckBox
.
checked
...
...
src/FlightMap/Widgets/CenterMapDropPanel.qml
View file @
44bda371
...
...
@@ -51,7 +51,7 @@ ColumnLayout {
}
QGCButton
{
text
:
qsTr
(
"
Home
"
)
text
:
qsTr
(
"
Launch
"
)
Layout.fillWidth
:
true
onClicked
:
{
...
...
src/MissionManager/MavCmdInfoCommon.json
View file @
44bda371
...
...
@@ -138,8 +138,8 @@
{
"id"
:
20
,
"rawName"
:
"MAV_CMD_NAV_RETURN_TO_LAUNCH"
,
"friendlyName"
:
"Return
Home
"
,
"description"
:
"Send the vehicle back to the
home
position."
,
"friendlyName"
:
"Return
To Launch
"
,
"description"
:
"Send the vehicle back to the
launch
position."
,
"friendlyEdit"
:
true
,
"category"
:
"Basic"
},
...
...
@@ -501,8 +501,8 @@
{
"id"
:
179
,
"rawName"
:
"MAV_CMD_DO_SET_HOME"
,
"friendlyName"
:
"Set
home
location"
,
"description"
:
"Changes the
home
location either to the current location or a specified location."
,
"friendlyName"
:
"Set
launch
location"
,
"description"
:
"Changes the
launch
location either to the current location or a specified location."
,
"specifiesCoordinate"
:
true
,
"standaloneCoordinate"
:
true
,
"friendlyEdit"
:
true
,
...
...
@@ -983,7 +983,7 @@
{
"id"
:
252
,
"rawName"
:
"MAV_CMD_OVERRIDE_GOTO", "friendlyName"
:
"Override goto"
},
{
"id"
:
300
,
"rawName"
:
"MAV_CMD_MISSION_START", "friendlyName"
:
"Mission start"
},
{
"id"
:
400
,
"rawName"
:
"MAV_CMD_COMPONENT_ARM_DISARM", "friendlyName"
:
"Arm/Disarm"
},
{
"id"
:
410
,
"rawName"
:
"MAV_CMD_GET_HOME_POSITION", "friendlyName"
:
"Get
home
position"
},
{
"id"
:
410
,
"rawName"
:
"MAV_CMD_GET_HOME_POSITION", "friendlyName"
:
"Get
launch
position"
},
{
"id"
:
500
,
"rawName"
:
"MAV_CMD_START_RX_PAIR", "friendlyName"
:
"Bind Spektrum receiver"
},
{
"id"
:
510
,
"rawName"
:
"MAV_CMD_GET_MESSAGE_INTERVAL", "friendlyName"
:
"Get message interval"
},
{
"id"
:
511
,
"rawName"
:
"MAV_CMD_SET_MESSAGE_INTERVAL", "friendlyName"
:
"Set message interval"
},
...
...
src/MissionManager/MissionSettings.FactMetaData.json
View file @
44bda371
[
{
"name"
:
"PlannedHomePositionAltitude"
,
"shortDescription"
:
"
Planned home
position altitude"
,
"shortDescription"
:
"
Launch
position altitude"
,
"type"
:
"double"
,
"units"
:
"m"
,
"decimalPlaces"
:
1
,
...
...
src/MissionManager/MissionSettingsItem.cc
View file @
44bda371
...
...
@@ -282,7 +282,7 @@ void MissionSettingsItem::_setHomeAltFromTerrain(double terrainAltitude)
QString
MissionSettingsItem
::
abbreviation
(
void
)
const
{
return
_flyView
?
tr
(
"
H
"
)
:
tr
(
"Launch"
);
return
_flyView
?
tr
(
"
L
"
)
:
tr
(
"Launch"
);
}
void
MissionSettingsItem
::
_updateHomePosition
(
const
QGeoCoordinate
&
homePosition
)
...
...
src/MissionManager/SimpleMissionItem.cc
View file @
44bda371
...
...
@@ -387,7 +387,7 @@ QString SimpleMissionItem::commandName(void) const
QString
SimpleMissionItem
::
abbreviation
()
const
{
if
(
homePosition
())
return
tr
(
"
H
"
);
return
tr
(
"
L
"
);
switch
(
command
())
{
case
MAV_CMD_NAV_TAKEOFF
:
...
...
src/PlanView/FWLandingPatternEditor.qml
View file @
44bda371
...
...
@@ -178,7 +178,7 @@ Rectangle {
QGCCheckBox
{
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Altitudes relative to
home
"
)
text
:
qsTr
(
"
Altitudes relative to
launch
"
)
checked
:
missionItem
.
altitudesAreRelative
visible
:
QGroundControl
.
corePlugin
.
options
.
showMissionAbsoluteAltitude
||
!
missionItem
.
altitudesAreRelative
onClicked
:
missionItem
.
altitudesAreRelative
=
checked
...
...
src/PlanView/MissionSettingsEditor.qml
View file @
44bda371
...
...
@@ -177,7 +177,7 @@ Rectangle {
id
:
plannedHomePositionSection
anchors.left
:
parent
.
left
anchors.right
:
parent
.
right
text
:
qsTr
(
"
Planned Home
Position
"
)
text
:
qsTr
(
"
Launch
Position
"
)
visible
:
!
_vehicleHasHomePosition
checked
:
false
}
...
...
@@ -213,7 +213,7 @@ Rectangle {
}
QGCButton
{
text
:
qsTr
(
"
Set
Home
To Map Center
"
)
text
:
qsTr
(
"
Set To Map Center
"
)
onClicked
:
missionItem
.
coordinate
=
map
.
center
anchors.horizontalCenter
:
parent
.
horizontalCenter
}
...
...
src/PlanView/SimpleItemEditor.qml
View file @
44bda371
...
...
@@ -21,7 +21,7 @@ Rectangle {
property
real
_margin
:
ScreenTools
.
defaultFontPixelHeight
/
2
property
bool
_supportsTerrainFrame
:
missionItem
property
string
_altModeRelativeHelpText
:
qsTr
(
"
Altitude relative to
home
altitude
"
)
property
string
_altModeRelativeHelpText
:
qsTr
(
"
Altitude relative to
launch
altitude
"
)
property
string
_altModeAbsoluteHelpText
:
qsTr
(
"
Altitude above mean sea level
"
)
property
string
_altModeAboveTerrainHelpText
:
qsTr
(
"
Altitude above terrain
\n
Actual AMSL altitude: %1 %2
"
).
arg
(
missionItem
.
amslAltAboveTerrain
.
valueString
).
arg
(
missionItem
.
amslAltAboveTerrain
.
units
)
property
string
_altModeTerrainFrameHelpText
:
qsTr
(
"
Using terrain reference frame
"
)
...
...
@@ -188,7 +188,7 @@ Rectangle {
id
:
altHamburgerMenu
QGCMenuItem
{
text
:
qsTr
(
"
Altitude Relative To
Home
"
)
text
:
qsTr
(
"
Altitude Relative To
Launch
"
)
checkable
:
true
checked
:
missionItem
.
altitudeMode
===
QGroundControl
.
AltitudeModeRelative
onTriggered
:
missionItem
.
altitudeMode
=
QGroundControl
.
AltitudeModeRelative
...
...
src/QmlControls/ToolStrip.qml
View file @
44bda371
...
...
@@ -19,7 +19,7 @@ Rectangle {
id
:
_root
color
:
qgcPal
.
globalTheme
===
QGCPalette
.
Light
?
QGroundControl
.
corePlugin
.
options
.
toolbarBackgroundLight
:
QGroundControl
.
corePlugin
.
options
.
toolbarBackgroundDark
width
:
_idealWidth
<
repeater
.
contentWidth
?
repeater
.
contentWidth
:
_idealWidth
height
:
Math
.
min
(
maxHeight
,
toolStripColumn
.
height
+
(
toolStripColumn
.
anchors
.
margins
*
2
))
height
:
Math
.
min
(
maxHeight
,
toolStripColumn
.
height
+
(
flickable
.
anchors
.
margins
*
2
))
radius
:
ScreenTools
.
defaultFontPixelWidth
/
2
property
alias
model
:
repeater
.
model
...
...
@@ -56,6 +56,7 @@ Rectangle {
}
QGCFlickable
{
id
:
flickable
anchors.margins
:
ScreenTools
.
defaultFontPixelWidth
*
0.4
anchors.top
:
parent
.
top
anchors.left
:
parent
.
left
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment