diff --git a/src/comm/SerialLink.cc b/src/comm/SerialLink.cc index 364f3240b703958ba61cbdb1fa5debd24704d5cf..262141b107e6529b8ea8674f9c554cdf99bdfdeb 100644 --- a/src/comm/SerialLink.cc +++ b/src/comm/SerialLink.cc @@ -340,7 +340,7 @@ QVector* SerialLink::getCurrentPorts() QextPortInfo portInfo = ports.at(i); QString portString = QString(portInfo.portName.toLocal8Bit().constData()) + " - " + QString(ports.at(i).friendName.toLocal8Bit().constData()).split("(").first(); // Prepend newly found port to the list - ports.append(portString); + this->ports->append(portString); } //printf("port name: %s\n", ports.at(i).portName.toLocal8Bit().constData()); @@ -349,7 +349,7 @@ QVector* SerialLink::getCurrentPorts() //printf("enumerator name: %s\n", ports.at(i).enumName.toLocal8Bit().constData()); //printf("===================================\n\n"); #endif - return ports; + return this->ports; } void SerialLink::loadSettings() diff --git a/src/uas/QGCMAVLinkUASFactory.cc b/src/uas/QGCMAVLinkUASFactory.cc index e17cb00d2004b8b42adc20c1bec53519f5a66af7..0902ba07abd3ebf047499f9709a5597dcaf59291 100644 --- a/src/uas/QGCMAVLinkUASFactory.cc +++ b/src/uas/QGCMAVLinkUASFactory.cc @@ -72,6 +72,7 @@ UASInterface* QGCMAVLinkUASFactory::createUAS(MAVLinkProtocol* mavlink, LinkInte uas = mav; } break; +#ifdef QGC_USE_SENSESOAR_MESSAGES case MAV_AUTOPILOT_SENSESOAR: { senseSoarMAV* mav = new senseSoarMAV(mavlink,sysid); @@ -80,6 +81,7 @@ UASInterface* QGCMAVLinkUASFactory::createUAS(MAVLinkProtocol* mavlink, LinkInte uas = mav; break; } +#endif default: { UAS* mav = new UAS(mavlink, sysid); diff --git a/src/uas/UASManager.cc b/src/uas/UASManager.cc index e0a6a679b181dd87037cb2607e84c9434528f9bb..7c247f5381da480511febaffe875c56993bc0ca0 100644 --- a/src/uas/UASManager.cc +++ b/src/uas/UASManager.cc @@ -248,8 +248,6 @@ UASManager::~UASManager() foreach (UASInterface* mav, systems) { delete mav; } - this->quit(); - this->wait(); } void UASManager::addUAS(UASInterface* uas) diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 22446478e8455ac39b49f5ad3ef770d8784f4590..9ffc7905d1ae5a810ab8619e345a3c995d02b58e 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -1499,7 +1499,7 @@ QList MainWindow::listLinkMenuActions(void) { return ui.menuNetwork->actions(); } - +/* void MainWindow::buildSenseSoarWidgets() { if (!linechartWidget) @@ -1603,3 +1603,4 @@ void MainWindow::arrangeSenseSoarCenterStack() void MainWindow::connectSenseSoarActions() { } +*/ \ No newline at end of file diff --git a/thirdParty/mavlink/message_definitions/SenseSoar.xml b/thirdParty/mavlink/message_definitions/SenseSoar.xml index 1f444d246c1cb5a4b06e77f4df4cff00ba072e62..4c7140f93d690128b2e0feaf51f8ec9292875110 100644 --- a/thirdParty/mavlink/message_definitions/SenseSoar.xml +++ b/thirdParty/mavlink/message_definitions/SenseSoar.xml @@ -13,8 +13,8 @@ Position estimate of the observer in global frame Longitude expressed in 1E7 - Latitude expressed in 1E7 - Altitude expressed in milimeters + Latitude expressed in 1E7 + Altitude expressed in milimeters velocity estimate of the observer in NED inertial frame