Browse Source

Improved airframe config and removed debug output

QGC4.4
Lorenz Meier 12 years ago
parent
commit
3ffc683599
  1. 1
      src/uas/UAS.cc
  2. 2
      src/ui/px4_configuration/QGCPX4AirframeConfig.cc

1
src/uas/UAS.cc

@ -1864,7 +1864,6 @@ void UAS::sendMessage(mavlink_message_t message) @@ -1864,7 +1864,6 @@ void UAS::sendMessage(mavlink_message_t message)
{
if (link->isConnected())
sendMessage(link, message);
qDebug() << "SENT MESSAGE id" << message.msgid << "component" << message.compid;
}
else
{

2
src/ui/px4_configuration/QGCPX4AirframeConfig.cc

@ -161,7 +161,7 @@ void QGCPX4AirframeConfig::setAirframeID(int id) @@ -161,7 +161,7 @@ void QGCPX4AirframeConfig::setAirframeID(int id)
ui->flyingWingComboBox->setCurrentIndex(ui->flyingWingComboBox->findData(id));
ui->statusLabel->setText(tr("Selected flying wing (ID: #%1)").arg(selectedId));
}
else if (id >= 100 && id < 150)
else if (id >= 100 && id < 150 || id >= 1000 <= 2000)
{
ui->planePushButton->setChecked(true);
ui->planeComboBox->setCurrentIndex(ui->planeComboBox->findData(id));

Loading…
Cancel
Save