diff --git a/qgcresources.qrc b/qgcresources.qrc
index 630152f..72b12dc 100644
--- a/qgcresources.qrc
+++ b/qgcresources.qrc
@@ -33,9 +33,12 @@
src/AutoPilotPlugins/PX4/Images/VehicleNoseDown.png
src/AutoPilotPlugins/PX4/Images/VehicleNoseDownRotate.png
src/AutoPilotPlugins/PX4/Images/VehicleRight.png
+ src/AutoPilotPlugins/PX4/Images/VehicleRightRotate.png
src/VehicleSetup/VehicleSummaryIcon.png
src/AutoPilotPlugins/PX4/Images/VehicleTailDown.png
+ src/AutoPilotPlugins/PX4/Images/VehicleTailDownRotate.png
src/AutoPilotPlugins/PX4/Images/VehicleUpsideDown.png
+ src/AutoPilotPlugins/PX4/Images/VehicleUpsideDownRotate.png
src/FlightMap/Images/attitudeDial.svg
src/FlightMap/Images/attitudeInstrument.svg
src/FlightMap/Images/attitudePointer.svg
diff --git a/src/AutoPilotPlugins/APM/APMSensorsComponent.qml b/src/AutoPilotPlugins/APM/APMSensorsComponent.qml
index e68c033..40d9a4f 100644
--- a/src/AutoPilotPlugins/APM/APMSensorsComponent.qml
+++ b/src/AutoPilotPlugins/APM/APMSensorsComponent.qml
@@ -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"
}
}
}
diff --git a/src/AutoPilotPlugins/APM/APMSensorsComponentController.cc b/src/AutoPilotPlugins/APM/APMSensorsComponentController.cc
index 7fe9eca..e5770b6 100644
--- a/src/AutoPilotPlugins/APM/APMSensorsComponentController.cc
+++ b/src/AutoPilotPlugins/APM/APMSensorsComponentController.cc
@@ -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");
diff --git a/src/AutoPilotPlugins/PX4/Images/Rotate.png b/src/AutoPilotPlugins/PX4/Images/Rotate.png
new file mode 100644
index 0000000..7791532
Binary files /dev/null and b/src/AutoPilotPlugins/PX4/Images/Rotate.png differ
diff --git a/src/AutoPilotPlugins/PX4/Images/RotateBack.png b/src/AutoPilotPlugins/PX4/Images/RotateBack.png
new file mode 100644
index 0000000..070cabe
Binary files /dev/null and b/src/AutoPilotPlugins/PX4/Images/RotateBack.png differ
diff --git a/src/AutoPilotPlugins/PX4/Images/RotateFront.png b/src/AutoPilotPlugins/PX4/Images/RotateFront.png
new file mode 100644
index 0000000..302101a
Binary files /dev/null and b/src/AutoPilotPlugins/PX4/Images/RotateFront.png differ
diff --git a/src/AutoPilotPlugins/PX4/Images/VehicleRightRotate.png b/src/AutoPilotPlugins/PX4/Images/VehicleRightRotate.png
new file mode 100644
index 0000000..f6240d9
Binary files /dev/null and b/src/AutoPilotPlugins/PX4/Images/VehicleRightRotate.png differ
diff --git a/src/AutoPilotPlugins/PX4/Images/VehicleTailDownRotate.png b/src/AutoPilotPlugins/PX4/Images/VehicleTailDownRotate.png
new file mode 100644
index 0000000..81b18f9
Binary files /dev/null and b/src/AutoPilotPlugins/PX4/Images/VehicleTailDownRotate.png differ
diff --git a/src/AutoPilotPlugins/PX4/Images/VehicleUpsideDownRotate.png b/src/AutoPilotPlugins/PX4/Images/VehicleUpsideDownRotate.png
new file mode 100644
index 0000000..33d5d49
Binary files /dev/null and b/src/AutoPilotPlugins/PX4/Images/VehicleUpsideDownRotate.png differ
diff --git a/src/AutoPilotPlugins/PX4/SensorsComponent.qml b/src/AutoPilotPlugins/PX4/SensorsComponent.qml
index 750a900..7fc5ac4 100644
--- a/src/AutoPilotPlugins/PX4/SensorsComponent.qml
+++ b/src/AutoPilotPlugins/PX4/SensorsComponent.qml
@@ -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"
}
}
}
diff --git a/src/AutoPilotPlugins/PX4/SensorsComponentController.cc b/src/AutoPilotPlugins/PX4/SensorsComponentController.cc
index 602d09d..130fa45 100644
--- a/src/AutoPilotPlugins/PX4/SensorsComponentController.cc
+++ b/src/AutoPilotPlugins/PX4/SensorsComponentController.cc
@@ -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");