Commit 46ca0aba authored by Lorenz Meier's avatar Lorenz Meier

Loading the correct mag icons for a few rotations now

parent fe15fc66
...@@ -182,6 +182,22 @@ ...@@ -182,6 +182,22 @@
<file>files/images/px4/menu/cogwheels.png</file> <file>files/images/px4/menu/cogwheels.png</file>
<file>files/images/px4/rc/cessna_back.png</file> <file>files/images/px4/rc/cessna_back.png</file>
<file>files/images/px4/rc/cessna_side.png</file> <file>files/images/px4/rc/cessna_side.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_15.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_14.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_13.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_12.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_19.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_18.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_17.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_16.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_07.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_06.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_05.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_04.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_03.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_02.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_01.png</file>
<file>files/images/px4/calibration/3dr_gps/gps_24.png</file>
</qresource> </qresource>
<qresource prefix="/general"> <qresource prefix="/general">
<file alias="vera.ttf">files/styles/Vera.ttf</file> <file alias="vera.ttf">files/styles/Vera.ttf</file>
......
...@@ -226,12 +226,12 @@ void QGCPX4SensorCalibration::setInstructionImage(const QString &path) ...@@ -226,12 +226,12 @@ void QGCPX4SensorCalibration::setInstructionImage(const QString &path)
void QGCPX4SensorCalibration::setAutopilotImage(int index) void QGCPX4SensorCalibration::setAutopilotImage(int index)
{ {
setAutopilotImage(QString(":/files/images/px4/calibration/pixhawk_%1.png").arg(index)); setAutopilotImage(QString(":/files/images/px4/calibration/pixhawk_%1.png").arg(index, 2, 10, QChar('0')));
} }
void QGCPX4SensorCalibration::setGpsImage(int index) void QGCPX4SensorCalibration::setGpsImage(int index)
{ {
setGpsImage(QString(":/files/images/px4/calibration/gps_%1.png").arg(index)); setGpsImage(QString(":/files/images/px4/calibration/3dr_gps/gps_%1.png").arg(index, 2, 10, QChar('0')));
} }
void QGCPX4SensorCalibration::setAutopilotOrientation(int index) void QGCPX4SensorCalibration::setAutopilotOrientation(int index)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment