Commit d21752cb authored by Gus Grubba's avatar Gus Grubba

WIP

parent 5d111753
...@@ -81,7 +81,7 @@ AirMapFlightPlanManager::startFlightPlanning(PlanMasterController *planControlle ...@@ -81,7 +81,7 @@ AirMapFlightPlanManager::startFlightPlanning(PlanMasterController *planControlle
} }
if (_state != State::Idle) { if (_state != State::Idle) {
qCWarning(AirMapManagerLog) << "AirMapFlightPlanManager::createFlight: State not idle"; qCWarning(AirMapManagerLog) << "AirMapFlightPlanManager::startFlightPlanning: State not idle";
return; return;
} }
......
...@@ -37,8 +37,8 @@ AirMapManager::AirMapManager(QGCApplication* app, QGCToolbox* toolbox) ...@@ -37,8 +37,8 @@ AirMapManager::AirMapManager(QGCApplication* app, QGCToolbox* toolbox)
{ {
_logger = std::make_shared<qt::Logger>(); _logger = std::make_shared<qt::Logger>();
qt::register_types(); // TODO: still needed? qt::register_types(); // TODO: still needed?
_logger->logging_category().setEnabled(QtDebugMsg, false); _logger->logging_category().setEnabled(QtDebugMsg, true);
_logger->logging_category().setEnabled(QtInfoMsg, false); _logger->logging_category().setEnabled(QtInfoMsg, true);
_logger->logging_category().setEnabled(QtWarningMsg, true); _logger->logging_category().setEnabled(QtWarningMsg, true);
_dispatchingLogger = std::make_shared<qt::DispatchingLogger>(_logger); _dispatchingLogger = std::make_shared<qt::DispatchingLogger>(_logger);
connect(&_shared, &AirMapSharedState::error, this, &AirMapManager::_error); connect(&_shared, &AirMapSharedState::error, this, &AirMapManager::_error);
......
...@@ -35,7 +35,7 @@ AirMapVehicleManager::createFlight(const QList<MissionItem*>& missionItems) ...@@ -35,7 +35,7 @@ AirMapVehicleManager::createFlight(const QList<MissionItem*>& missionItems)
qCDebug(AirMapManagerLog) << "No AirMap client instance. Will not create a flight"; qCDebug(AirMapManagerLog) << "No AirMap client instance. Will not create a flight";
return; return;
} }
_flightManager.createFlight(missionItems); //_flightManager.createFlight(missionItems);
} }
AirspaceFlightPlanProvider::PermitStatus AirspaceFlightPlanProvider::PermitStatus
......
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