Browse Source

Fixed temp and baro mixup

QGC4.4
lm 15 years ago
parent
commit
8fb943ebd7
  1. 2
      qgroundcontrol.pri
  2. 6
      qgroundcontrol.pro
  3. 2
      src/uas/UAS.cc

2
qgroundcontrol.pri

@ -73,7 +73,7 @@ macx { @@ -73,7 +73,7 @@ macx {
DESTDIR = $$BASEDIR/bin/mac
INCLUDEPATH += -framework SDL \
$$BASEDIR/../mavlink/src
$$BASEDIR/../mavlink/include
LIBS += -framework IOKit \
-framework SDL \

6
qgroundcontrol.pro

@ -30,9 +30,9 @@ DEPENDPATH += . \ @@ -30,9 +30,9 @@ DEPENDPATH += . \
lib/QMapControl/src
INCLUDEPATH += . \
lib/QMapControl \
../mavlink/src \
MAVLink/src \
mavlink/src
../mavlink/include \
MAVLink/include \
mavlink/include
# Input
FORMS += src/ui/MainWindow.ui \

2
src/uas/UAS.cc

@ -265,7 +265,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message) @@ -265,7 +265,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
emit valueChanged(uasId, "Mag. Y", raw.ymag, time);
emit valueChanged(uasId, "Mag. Z", raw.zmag, time);
emit valueChanged(uasId, "Pressure", raw.baro, time);
emit valueChanged(uasId, "Temperature", raw.baro, time);
emit valueChanged(uasId, "Temperature", raw.temp, time);
}
break;
case MAVLINK_MSG_ID_ATTITUDE:

Loading…
Cancel
Save