diff --git a/src/comm/MAVLinkSimulationWaypointPlanner.cc b/src/comm/MAVLinkSimulationWaypointPlanner.cc index d855697419d9bb74d35f23c0c4ffb2e22cc3041b..448f499379e13183c5d1e104ccab70124763f4c8 100644 --- a/src/comm/MAVLinkSimulationWaypointPlanner.cc +++ b/src/comm/MAVLinkSimulationWaypointPlanner.cc @@ -436,6 +436,8 @@ MAVLinkSimulationWaypointPlanner::MAVLinkSimulationWaypointPlanner(MAVLinkSimula link(parent), idle(false), current_active_wp_id(-1), + yawReached(false), + posReached(false), timestamp_lastoutside_orbit(0), timestamp_firstinside_orbit(0), waypoints(&waypoints1), diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index 66d5725f7b35aee858f7907c5cc48815f8c738c4..83b1f6bf39f2c4e72b11c002d49e956f7ce6de67 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -82,8 +82,8 @@ UAS::UAS(MAVLinkProtocol* protocol, QThread* thread, int id) : UASInterface(), lpVoltage(12.0f), currentCurrent(0.4f), batteryRemainingEstimateEnabled(false), - // chargeLevel not initialized - // timeRemaining not initialized + chargeLevel(-1), + timeRemaining(0), lowBattAlarm(false), startTime(QGC::groundTimeMilliseconds()), diff --git a/src/ui/linechart/LinechartWidget.cc b/src/ui/linechart/LinechartWidget.cc index 809c076b1425e51724604560f2187df5a1c910d0..f630a3b1344950c4d4773d79068204e885a066a3 100644 --- a/src/ui/linechart/LinechartWidget.cc +++ b/src/ui/linechart/LinechartWidget.cc @@ -72,7 +72,8 @@ LinechartWidget::LinechartWidget(int systemid, QWidget *parent) : QWidget(parent logging(false), logStartTime(0), updateTimer(new QTimer()), - selectedMAV(-1) + selectedMAV(-1), + lastTimestamp(0) { // Add elements defined in Qt Designer ui.setupUi(this); diff --git a/src/ui/uas/UASQuickView.cc b/src/ui/uas/UASQuickView.cc index 00183a96d760d0321cfb535c86d15eb5687e52c3..5f1d7891ef89fbcddd78a542bc1d2d6a403a1574 100644 --- a/src/ui/uas/UASQuickView.cc +++ b/src/ui/uas/UASQuickView.cc @@ -5,7 +5,8 @@ #include "UASQuickViewTextItem.h" #include #include -UASQuickView::UASQuickView(QWidget *parent) : QWidget(parent) +UASQuickView::UASQuickView(QWidget *parent) : QWidget(parent), + uas(NULL) { quickViewSelectDialog=0; m_columnCount=2;