diff --git a/src/AutoPilotPlugins/PX4/SensorsComponentController.cc b/src/AutoPilotPlugins/PX4/SensorsComponentController.cc index 590196f1bc351c746b51194b1a05c95c0e3c4be4..d8124fb1f045ec37405f1e82857afab6757438ed 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;