From 7776cc529b637a6b14e43c0b2024c952e84c2095 Mon Sep 17 00:00:00 2001 From: James Cotton Date: Tue, 13 Dec 2011 20:32:43 -0600 Subject: [PATCH] Remove the old AHRS configuration gadget --- ground/openpilotgcs/src/plugins/config/config.pro | 3 --- ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/config/config.pro b/ground/openpilotgcs/src/plugins/config/config.pro index 091a7d45c..e38d7ca53 100644 --- a/ground/openpilotgcs/src/plugins/config/config.pro +++ b/ground/openpilotgcs/src/plugins/config/config.pro @@ -23,7 +23,6 @@ HEADERS += configplugin.h \ configairframewidget.h \ config_pro_hw_widget.h \ config_cc_hw_widget.h \ - configahrswidget.h \ configccattitudewidget.h \ mixercurvewidget.h \ mixercurvepoint.h \ @@ -51,7 +50,6 @@ SOURCES += configplugin.cpp \ configairframewidget.cpp \ config_pro_hw_widget.cpp \ config_cc_hw_widget.cpp \ - configahrswidget.cpp \ configccattitudewidget.cpp \ mixercurvewidget.cpp \ mixercurvepoint.cpp \ @@ -71,7 +69,6 @@ SOURCES += configplugin.cpp \ FORMS += airframe.ui \ cc_hw_settings.ui \ pro_hw_settings.ui \ - ahrs.ui \ ccpm.ui \ stabilization.ui \ input.ui \ diff --git a/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp b/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp index d40db122f..082f3f01b 100644 --- a/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp +++ b/ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp @@ -157,12 +157,14 @@ void ConfigGadgetWidget::onAutopilotConnect() { // Mainboard family ftw->setCurrentIndex(ConfigGadgetWidget::hardware); ftw->removeTab(ConfigGadgetWidget::ins); - QWidget *qwd = new ConfigAHRSWidget(this); + Q_ASSERT(0); +/* QWidget *qwd = new ConfigAHRSWidget(this); ftw->insertTab(ConfigGadgetWidget::ins, qwd, QIcon(":/configgadget/images/AHRS-v1.3.png"), QString("INS")); ftw->removeTab(ConfigGadgetWidget::hardware); qwd = new ConfigProHWWidget(this); ftw->insertTab(ConfigGadgetWidget::hardware, qwd, QIcon(":/configgadget/images/hw_config.png"), QString("HW Settings")); ftw->setCurrentIndex(ConfigGadgetWidget::hardware); + */ } } emit autopilotConnected();