diff --git a/ground/gcs/src/plugins/config/configrevowidget.cpp b/ground/gcs/src/plugins/config/configrevowidget.cpp index 79e60a08c..0c2fb05d5 100644 --- a/ground/gcs/src/plugins/config/configrevowidget.cpp +++ b/ground/gcs/src/plugins/config/configrevowidget.cpp @@ -193,6 +193,9 @@ ConfigRevoWidget::ConfigRevoWidget(QWidget *parent) : addWidgetBinding("AttitudeSettings", "BoardRotation", m_ui->yawRotation, AttitudeSettings::BOARDROTATION_YAW); addWidgetBinding("AttitudeSettings", "AccelTau", m_ui->accelTau); + // Connect the help button + connect(m_ui->attitudeHelp, SIGNAL(clicked()), this, SLOT(openHelp())); + populateWidgets(); enableAllCalibrations(); @@ -447,3 +450,9 @@ void ConfigRevoWidget::enableAllCalibrations() m_ui->gyroBiasStart->setEnabled(true); m_ui->thermalBiasStart->setEnabled(true); } + +void ConfigRevoWidget::openHelp() +{ + QDesktopServices::openUrl(QUrl(QString(WIKI_URL_ROOT) + QString("Revo+Attitude+Configuration"), + QUrl::StrictMode)); +} diff --git a/ground/gcs/src/plugins/config/configrevowidget.h b/ground/gcs/src/plugins/config/configrevowidget.h index fb9a4aafa..999b5ef58 100644 --- a/ground/gcs/src/plugins/config/configrevowidget.h +++ b/ground/gcs/src/plugins/config/configrevowidget.h @@ -88,6 +88,7 @@ private slots: void enableAllCalibrations(); void updateVisualHelp(); + void openHelp(); protected: void showEvent(QShowEvent *event); diff --git a/ground/gcs/src/plugins/config/revosensors.ui b/ground/gcs/src/plugins/config/revosensors.ui index 21b5da221..1e7fbf587 100644 --- a/ground/gcs/src/plugins/config/revosensors.ui +++ b/ground/gcs/src/plugins/config/revosensors.ui @@ -1025,7 +1025,7 @@ p, li { white-space: pre-wrap; } - + 0 @@ -1065,11 +1065,6 @@ p, li { white-space: pre-wrap; } true - - - button:help - -