From eb5e395498e6ac503f3304dda6071aa8ba38d944 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Thu, 20 Aug 2020 16:19:31 -0700 Subject: [PATCH] Fix logging --- src/AutoPilotPlugins/PX4/SensorsComponentController.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/SensorsComponentController.cc b/src/AutoPilotPlugins/PX4/SensorsComponentController.cc index 590196f1b..d8124fb1f 100644 --- a/src/AutoPilotPlugins/PX4/SensorsComponentController.cc +++ b/src/AutoPilotPlugins/PX4/SensorsComponentController.cc @@ -347,7 +347,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in if (text.endsWith("orientation detected")) { QString side = text.section(" ", 0, 0); - qDebug() << "Side started" << side; + qCDebug(SensorsComponentControllerLog) << "Side started" << side; if (side == "down") { _orientationCalDownSideInProgress = true; @@ -394,7 +394,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in if (text.endsWith("side done, rotate to a different side")) { QString side = text.section(" ", 0, 0); - qDebug() << "Side finished" << side; + qCDebug(SensorsComponentControllerLog) << "Side finished" << side; if (side == "down") { _orientationCalDownSideInProgress = false; -- 2.22.0