Browse Source

UAS Object: Avoid spamming the console on successful commands

QGC4.4
Lorenz Meier 10 years ago
parent
commit
05092fe2e0
  1. 3
      src/uas/UAS.cc

3
src/uas/UAS.cc

@ -810,7 +810,8 @@ void UAS::receiveMessage(mavlink_message_t message) @@ -810,7 +810,8 @@ void UAS::receiveMessage(mavlink_message_t message)
{
case MAV_RESULT_ACCEPTED:
{
emit textMessageReceived(uasId, message.compid, MAV_SEVERITY_INFO, tr("SUCCESS: Executed CMD: %1").arg(ack.command));
// Do not confirm each command positively, as it spams the console.
// emit textMessageReceived(uasId, message.compid, MAV_SEVERITY_INFO, tr("SUCCESS: Executed CMD: %1").arg(ack.command));
}
break;
case MAV_RESULT_TEMPORARILY_REJECTED:

Loading…
Cancel
Save