remove aruco

This commit is contained in:
ackimixs
2024-05-10 11:18:54 +02:00
parent 0e563fb0cd
commit 3c9bd01328
2 changed files with 0 additions and 10 deletions

View File

@@ -28,11 +28,6 @@ PreparationMatch::PreparationMatch(QWidget* parent) : QWidget(parent)
emit askTCPServer("ihm;arduino;ping;1"); emit askTCPServer("ihm;arduino;ping;1");
}); });
this->aruco = new OneItemPreparation("Aruco", "Ping", this);
connect(this->aruco, &OneItemPreparation::buttonClicked, this, [=]() {
emit askTCPServer("ihm;aruco;ping;1");
});
this->lidarPing = new OneItemPreparation("Lidar", "Ping", this); this->lidarPing = new OneItemPreparation("Lidar", "Ping", this);
connect(this->lidarPing, &OneItemPreparation::buttonClicked, this, [=]() { connect(this->lidarPing, &OneItemPreparation::buttonClicked, this, [=]() {
emit askTCPServer("ihm;lidar;ping;1"); emit askTCPServer("ihm;lidar;ping;1");
@@ -50,7 +45,6 @@ PreparationMatch::PreparationMatch(QWidget* parent) : QWidget(parent)
this->rightLayout->addWidget(ledVerte); this->rightLayout->addWidget(ledVerte);
this->rightLayout->addWidget(arduino); this->rightLayout->addWidget(arduino);
this->rightLayout->addWidget(aruco);
this->rightLayout->addWidget(lidarPing); this->rightLayout->addWidget(lidarPing);
this->rightLayout->addWidget(tirette); this->rightLayout->addWidget(tirette);
this->rightLayout->addWidget(servo_moteur); this->rightLayout->addWidget(servo_moteur);
@@ -78,8 +72,6 @@ void PreparationMatch::responseFromPing(const QString& message)
this->tirette->setChecked(true); this->tirette->setChecked(true);
} else if (list[0] == "lidar") { } else if (list[0] == "lidar") {
this->lidarPing->setChecked(true); this->lidarPing->setChecked(true);
} else if (list[0] == "aruco") {
this->aruco->setChecked(true);
} else if (list[0] == "arduino") { } else if (list[0] == "arduino") {
this->arduino->setChecked(true); this->arduino->setChecked(true);
} else if (list[0] == "servo_moteur") { } else if (list[0] == "servo_moteur") {
@@ -102,7 +94,6 @@ void PreparationMatch::clearCheckboxes()
{ {
this->ledVerte->setChecked(false); this->ledVerte->setChecked(false);
this->arduino->setChecked(false); this->arduino->setChecked(false);
this->aruco->setChecked(false);
this->lidarPing->setChecked(false); this->lidarPing->setChecked(false);
this->tirette->setChecked(false); this->tirette->setChecked(false);
this->servo_moteur->setChecked(false); this->servo_moteur->setChecked(false);

View File

@@ -35,7 +35,6 @@ private:
Lidar* lidar; Lidar* lidar;
OneItemPreparation* ledVerte; OneItemPreparation* ledVerte;
OneItemPreparation* arduino; OneItemPreparation* arduino;
OneItemPreparation* aruco;
OneItemPreparation* lidarPing; OneItemPreparation* lidarPing;
OneItemPreparation* tirette; OneItemPreparation* tirette;
OneItemPreparation* servo_moteur; OneItemPreparation* servo_moteur;