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
27db80f4
Commit
27db80f4
authored
Dec 25, 2015
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing compass cal rotation images
parent
4f86b9c7
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
15 additions
and
6 deletions
+15
-6
qgcresources.qrc
qgcresources.qrc
+3
-0
APMSensorsComponent.qml
src/AutoPilotPlugins/APM/APMSensorsComponent.qml
+3
-3
APMSensorsComponentController.cc
src/AutoPilotPlugins/APM/APMSensorsComponentController.cc
+3
-0
Rotate.png
src/AutoPilotPlugins/PX4/Images/Rotate.png
+0
-0
RotateBack.png
src/AutoPilotPlugins/PX4/Images/RotateBack.png
+0
-0
RotateFront.png
src/AutoPilotPlugins/PX4/Images/RotateFront.png
+0
-0
VehicleRightRotate.png
src/AutoPilotPlugins/PX4/Images/VehicleRightRotate.png
+0
-0
VehicleTailDownRotate.png
src/AutoPilotPlugins/PX4/Images/VehicleTailDownRotate.png
+0
-0
VehicleUpsideDownRotate.png
src/AutoPilotPlugins/PX4/Images/VehicleUpsideDownRotate.png
+0
-0
SensorsComponent.qml
src/AutoPilotPlugins/PX4/SensorsComponent.qml
+3
-3
SensorsComponentController.cc
src/AutoPilotPlugins/PX4/SensorsComponentController.cc
+3
-0
No files found.
qgcresources.qrc
View file @
27db80f4
...
...
@@ -33,9 +33,12 @@
<file alias="VehicleNoseDown.png">src/AutoPilotPlugins/PX4/Images/VehicleNoseDown.png</file>
<file alias="VehicleNoseDownRotate.png">src/AutoPilotPlugins/PX4/Images/VehicleNoseDownRotate.png</file>
<file alias="VehicleRight.png">src/AutoPilotPlugins/PX4/Images/VehicleRight.png</file>
<file alias="VehicleRightRotate.png">src/AutoPilotPlugins/PX4/Images/VehicleRightRotate.png</file>
<file alias="VehicleSummaryIcon.png">src/VehicleSetup/VehicleSummaryIcon.png</file>
<file alias="VehicleTailDown.png">src/AutoPilotPlugins/PX4/Images/VehicleTailDown.png</file>
<file alias="VehicleTailDownRotate.png">src/AutoPilotPlugins/PX4/Images/VehicleTailDownRotate.png</file>
<file alias="VehicleUpsideDown.png">src/AutoPilotPlugins/PX4/Images/VehicleUpsideDown.png</file>
<file alias="VehicleUpsideDownRotate.png">src/AutoPilotPlugins/PX4/Images/VehicleUpsideDownRotate.png</file>
<file alias="attitudeDial.svg">src/FlightMap/Images/attitudeDial.svg</file>
<file alias="attitudeInstrument.svg">src/FlightMap/Images/attitudeInstrument.svg</file>
<file alias="attitudePointer.svg">src/FlightMap/Images/attitudePointer.svg</file>
...
...
src/AutoPilotPlugins/APM/APMSensorsComponent.qml
View file @
27db80f4
...
...
@@ -364,7 +364,7 @@ QGCView {
calValid
:
controller
.
orientationCalUpsideDownSideDone
calInProgress
:
controller
.
orientationCalUpsideDownSideInProgress
calInProgressText
:
controller
.
orientationCalUpsideDownSideRotate
?
"
Rotate
"
:
"
Hold Still
"
imageSource
:
"
qrc:///qmlimages/VehicleUpsideDown.png
"
imageSource
:
controller
.
orientationCalUpsideDownSideRotate
?
"
qrc:///qmlimages/VehicleUpsideDownRotate.png
"
:
"
qrc:///qmlimages/VehicleUpsideDown.png
"
}
VehicleRotationCal
{
visible
:
controller
.
orientationCalNoseDownSideVisible
...
...
@@ -378,7 +378,7 @@ QGCView {
calValid
:
controller
.
orientationCalTailDownSideDone
calInProgress
:
controller
.
orientationCalTailDownSideInProgress
calInProgressText
:
controller
.
orientationCalTailDownSideRotate
?
"
Rotate
"
:
"
Hold Still
"
imageSource
:
"
qrc:///qmlimages/VehicleTailDown.png
"
imageSource
:
controller
.
orientationCalTailDownSideRotate
?
"
qrc:///qmlimages/VehicleTailDownRotate.png
"
:
"
qrc:///qmlimages/VehicleTailDown.png
"
}
VehicleRotationCal
{
visible
:
controller
.
orientationCalLeftSideVisible
...
...
@@ -392,7 +392,7 @@ QGCView {
calValid
:
controller
.
orientationCalRightSideDone
calInProgress
:
controller
.
orientationCalRightSideInProgress
calInProgressText
:
controller
.
orientationCalRightSideRotate
?
"
Rotate
"
:
"
Hold Still
"
imageSource
:
"
qrc:///qmlimages/VehicleRight.png
"
imageSource
:
controller
.
orientationCalRightSideRotate
?
"
qrc:///qmlimages/VehicleRightRotate.png
"
:
"
qrc:///qmlimages/VehicleRight.png
"
}
}
}
...
...
src/AutoPilotPlugins/APM/APMSensorsComponentController.cc
View file @
27db80f4
...
...
@@ -365,6 +365,7 @@ void APMSensorsComponentController::_handleUASTextMessage(int uasId, int compId,
}
else
if
(
side
==
"up"
)
{
_orientationCalUpsideDownSideInProgress
=
false
;
_orientationCalUpsideDownSideDone
=
true
;
_orientationCalUpsideDownSideRotate
=
false
;
}
else
if
(
side
==
"left"
)
{
_orientationCalLeftSideInProgress
=
false
;
_orientationCalLeftSideDone
=
true
;
...
...
@@ -372,6 +373,7 @@ void APMSensorsComponentController::_handleUASTextMessage(int uasId, int compId,
}
else
if
(
side
==
"right"
)
{
_orientationCalRightSideInProgress
=
false
;
_orientationCalRightSideDone
=
true
;
_orientationCalRightSideRotate
=
false
;
}
else
if
(
side
==
"front"
)
{
_orientationCalNoseDownSideInProgress
=
false
;
_orientationCalNoseDownSideDone
=
true
;
...
...
@@ -379,6 +381,7 @@ void APMSensorsComponentController::_handleUASTextMessage(int uasId, int compId,
}
else
if
(
side
==
"back"
)
{
_orientationCalTailDownSideInProgress
=
false
;
_orientationCalTailDownSideDone
=
true
;
_orientationCalTailDownSideRotate
=
false
;
}
_orientationCalAreaHelpText
->
setProperty
(
"text"
,
"Place you vehicle into one of the orientations shown below and hold it still"
);
...
...
src/AutoPilotPlugins/PX4/Images/Rotate.png
0 → 100644
View file @
27db80f4
64.6 KB
src/AutoPilotPlugins/PX4/Images/RotateBack.png
0 → 100644
View file @
27db80f4
58.8 KB
src/AutoPilotPlugins/PX4/Images/RotateFront.png
0 → 100644
View file @
27db80f4
60.2 KB
src/AutoPilotPlugins/PX4/Images/VehicleRightRotate.png
0 → 100644
View file @
27db80f4
124 KB
src/AutoPilotPlugins/PX4/Images/VehicleTailDownRotate.png
0 → 100644
View file @
27db80f4
118 KB
src/AutoPilotPlugins/PX4/Images/VehicleUpsideDownRotate.png
0 → 100644
View file @
27db80f4
127 KB
src/AutoPilotPlugins/PX4/SensorsComponent.qml
View file @
27db80f4
...
...
@@ -428,7 +428,7 @@ QGCView {
calValid
:
controller
.
orientationCalUpsideDownSideDone
calInProgress
:
controller
.
orientationCalUpsideDownSideInProgress
calInProgressText
:
controller
.
orientationCalUpsideDownSideRotate
?
"
Rotate
"
:
"
Hold Still
"
imageSource
:
"
qrc:///qmlimages/VehicleUpsideDown.png
"
imageSource
:
controller
.
orientationCalUpsideDownSideRotate
?
"
qrc:///qmlimages/VehicleUpsideDownRotate.png
"
:
"
qrc:///qmlimages/VehicleUpsideDown.png
"
}
VehicleRotationCal
{
visible
:
controller
.
orientationCalNoseDownSideVisible
...
...
@@ -442,7 +442,7 @@ QGCView {
calValid
:
controller
.
orientationCalTailDownSideDone
calInProgress
:
controller
.
orientationCalTailDownSideInProgress
calInProgressText
:
controller
.
orientationCalTailDownSideRotate
?
"
Rotate
"
:
"
Hold Still
"
imageSource
:
"
qrc:///qmlimages/VehicleTailDown.png
"
imageSource
:
controller
.
orientationCalTailDownSideRotate
?
"
qrc:///qmlimages/VehicleTailDownRotate.png
"
:
"
qrc:///qmlimages/VehicleTailDown.png
"
}
VehicleRotationCal
{
visible
:
controller
.
orientationCalLeftSideVisible
...
...
@@ -456,7 +456,7 @@ QGCView {
calValid
:
controller
.
orientationCalRightSideDone
calInProgress
:
controller
.
orientationCalRightSideInProgress
calInProgressText
:
controller
.
orientationCalRightSideRotate
?
"
Rotate
"
:
"
Hold Still
"
imageSource
:
"
qrc:///qmlimages/VehicleRight.png
"
imageSource
:
controller
.
orientationCalRightSideRotate
?
"
qrc:///qmlimages/VehicleRightRotate.png
"
:
"
qrc:///qmlimages/VehicleRight.png
"
}
}
}
...
...
src/AutoPilotPlugins/PX4/SensorsComponentController.cc
View file @
27db80f4
...
...
@@ -387,6 +387,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
}
else
if
(
side
==
"up"
)
{
_orientationCalUpsideDownSideInProgress
=
false
;
_orientationCalUpsideDownSideDone
=
true
;
_orientationCalUpsideDownSideRotate
=
false
;
}
else
if
(
side
==
"left"
)
{
_orientationCalLeftSideInProgress
=
false
;
_orientationCalLeftSideDone
=
true
;
...
...
@@ -394,6 +395,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
}
else
if
(
side
==
"right"
)
{
_orientationCalRightSideInProgress
=
false
;
_orientationCalRightSideDone
=
true
;
_orientationCalRightSideRotate
=
false
;
}
else
if
(
side
==
"front"
)
{
_orientationCalNoseDownSideInProgress
=
false
;
_orientationCalNoseDownSideDone
=
true
;
...
...
@@ -401,6 +403,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
}
else
if
(
side
==
"back"
)
{
_orientationCalTailDownSideInProgress
=
false
;
_orientationCalTailDownSideDone
=
true
;
_orientationCalTailDownSideRotate
=
false
;
}
_orientationCalAreaHelpText
->
setProperty
(
"text"
,
"Place you vehicle into one of the orientations shown below and hold it still"
);
...
...
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