Skip to content

Commit

Permalink
QGCCameraManager.cc: change log from qWarning to CameraManagerLog:
Browse files Browse the repository at this point in the history
This made sense when we were not taking compid autopilot into account,
but now it will log this every vehicle connection if it isn't emulating
a mavlink camera
  • Loading branch information
Davidsastresas committed Aug 4, 2024
1 parent bbdeed3 commit 32d618a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Camera/QGCCameraManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void QGCCameraManager::_handleHeartbeat(const mavlink_message_t &message)
if(pInfo->tryCount > 10) {
if(!pInfo->gaveUp) {
pInfo->gaveUp = true;
qWarning() << "Giving up requesting camera info from" << _vehicle->id() << message.compid;
qCDebug(CameraManagerLog) << "Giving up requesting camera info from" << _vehicle->id() << message.compid;
}
} else {
pInfo->tryCount++;
Expand Down

0 comments on commit 32d618a

Please sign in to comment.