diff --git a/src/FollowMe/FollowMe.cc b/src/FollowMe/FollowMe.cc index 3d8945f8bf4ee4f10ec108a73fa145b228337f4e..401cc0d931ff1d04ddae9be73f4e6db0a7c9a5f5 100644 --- a/src/FollowMe/FollowMe.cc +++ b/src/FollowMe/FollowMe.cc @@ -19,6 +19,8 @@ #include "SettingsManager.h" #include "AppSettings.h" +QGC_LOGGING_CATEGORY(FollowMeLog, "FollowMeLog") + FollowMe::FollowMe(QGCApplication* app, QGCToolbox* toolbox) : QGCTool(app, toolbox) { @@ -133,6 +135,7 @@ void FollowMe::_sendGCSMotionReport() for (int i=0; icount(); i++) { Vehicle* vehicle = vehicles->value(i); if (_currentMode == MODE_ALWAYS || (_currentMode == MODE_FOLLOWME && _isFollowFlightMode(vehicle, vehicle->flightMode()))) { + qCDebug(FollowMeLog) << "sendGCSMotionReport latInt:lonInt:altMetersAMSL" << motionReport.lat_int << motionReport.lon_int << motionReport.altMetersAMSL; vehicle->firmwarePlugin()->sendGCSMotionReport(vehicle, motionReport, estimatation_capabilities); } }