56 ui->gridLayout->setEnabled(
false);
58 connect(
ui->cbselectedTCP, SIGNAL(currentIndexChanged(
int)),
this, SLOT(
selectHand(
int)));
59 connect(
ui->BtnRequestControl, SIGNAL(clicked(
bool)),
this, SLOT(
robotControl(
bool)));
60 connect(
ui->btnUp, SIGNAL(clicked()),
this, SLOT(
moveUp()));
61 connect(
ui->btnDown, SIGNAL(clicked()),
this, SLOT(
moveDown()));
62 connect(
ui->btnZUp, SIGNAL(clicked()),
this, SLOT(
moveZUp()));
63 connect(
ui->btnZDown, SIGNAL(clicked()),
this, SLOT(
moveZDown()));
64 connect(
ui->btnLeft, SIGNAL(clicked()),
this, SLOT(
moveRight()));
65 connect(
ui->btnRight, SIGNAL(clicked()),
this, SLOT(
moveLeft()));
66 connect(
ui->btnIncreaseAlpha, SIGNAL(clicked()),
this, SLOT(
increaseAlpha()));
67 connect(
ui->btnDecreaseAlpha, SIGNAL(clicked()),
this, SLOT(
decreaseAlpha()));
68 connect(
ui->btnIncreaseBeta, SIGNAL(clicked()),
this, SLOT(
increaseBeta()));
69 connect(
ui->btnDecreaseBeta, SIGNAL(clicked()),
this, SLOT(
decreaseBeta()));
70 connect(
ui->btnIncreaseGamma, SIGNAL(clicked()),
this, SLOT(
increaseGamma()));
71 connect(
ui->btnDecreaseGamma, SIGNAL(clicked()),
this, SLOT(
decreaseGamma()));
73 connect(
ui->btnRight, SIGNAL(clicked()),
this, SLOT(
moveLeft()));
74 connect(
ui->btnStop, SIGNAL(clicked()),
this, SLOT(
stopMoving()));
75 connect(
ui->btnResetJoinAngles, SIGNAL(clicked()),
this, SLOT(
reset()));
142 NameList nodeSets =
robotPrx->getRobotNodeSets();
143 QStringList nodeSetsQStr;
145 for (
unsigned int i = 0; i < nodeSets.size(); i++)
147 if (!
robotPrx->getRobotNodeSet(nodeSets.at(i))->tcpName.empty())
149 tcpData[nodeSets.at(i)].resize(6, 0.f);
150 nodeSetsQStr << QString::fromStdString(nodeSets.at(i));
154 QString selected =
ui->cbselectedTCP->currentText();
155 ui->cbselectedTCP->clear();
156 ui->cbselectedTCP->addItems(nodeSetsQStr);
157 int index =
ui->cbselectedTCP->findText(selected);
161 ui->cbselectedTCP->setCurrentIndex(
index);
177 ui->gridLayout->setEnabled(
false);
322 ARMARX_INFO <<
"Setting new velos and orientation";
332 vec *=
ui->sbFactor->value();
333 const auto agentName =
robotPrx->getName();
335 Eigen::Vector3f vecOri;
338 vecOri *=
ui->sbFactor->value();
341 if (!
ui->cbTranslation->isChecked())
346 if (!
ui->cbOrientation->isChecked())
352 selectedTCP,
ui->edtTCPName->text().toStdString(), tcpVel, tcpOri);