54 ui.gridLayout->setEnabled(
false);
56 connect(
ui.cbselectedTCP, SIGNAL(currentIndexChanged(
int)),
this, SLOT(
selectHand(
int)));
57 connect(
ui.BtnRequestControl, SIGNAL(clicked(
bool)),
this, SLOT(
robotControl(
bool)));
58 connect(
ui.btnUp, SIGNAL(clicked()),
this, SLOT(
moveUp()));
59 connect(
ui.btnDown, SIGNAL(clicked()),
this, SLOT(
moveDown()));
60 connect(
ui.btnZUp, SIGNAL(clicked()),
this, SLOT(
moveZUp()));
61 connect(
ui.btnZDown, SIGNAL(clicked()),
this, SLOT(
moveZDown()));
62 connect(
ui.btnLeft, SIGNAL(clicked()),
this, SLOT(
moveRight()));
63 connect(
ui.btnRight, SIGNAL(clicked()),
this, SLOT(
moveLeft()));
64 connect(
ui.btnIncreaseAlpha, SIGNAL(clicked()),
this, SLOT(
increaseAlpha()));
65 connect(
ui.btnDecreaseAlpha, SIGNAL(clicked()),
this, SLOT(
decreaseAlpha()));
66 connect(
ui.btnIncreaseBeta, SIGNAL(clicked()),
this, SLOT(
increaseBeta()));
67 connect(
ui.btnDecreaseBeta, SIGNAL(clicked()),
this, SLOT(
decreaseBeta()));
68 connect(
ui.btnIncreaseGamma, SIGNAL(clicked()),
this, SLOT(
increaseGamma()));
69 connect(
ui.btnDecreaseGamma, SIGNAL(clicked()),
this, SLOT(
decreaseGamma()));
71 connect(
ui.btnRight, SIGNAL(clicked()),
this, SLOT(
moveLeft()));
72 connect(
ui.btnStop, SIGNAL(clicked()),
this, SLOT(
stopMoving()));
73 connect(
ui.btnResetJoinAngles, SIGNAL(clicked()),
this, SLOT(
reset()));
140 NameList nodeSets =
robotPrx->getRobotNodeSets();
141 QStringList nodeSetsQStr;
143 for (
unsigned int i = 0; i < nodeSets.size(); i++)
145 if (!
robotPrx->getRobotNodeSet(nodeSets.at(i))->tcpName.empty())
147 tcpData[nodeSets.at(i)].resize(6, 0.f);
148 nodeSetsQStr << QString::fromStdString(nodeSets.at(i));
152 QString selected =
ui.cbselectedTCP->currentText();
153 ui.cbselectedTCP->clear();
154 ui.cbselectedTCP->addItems(nodeSetsQStr);
155 int index =
ui.cbselectedTCP->findText(selected);
159 ui.cbselectedTCP->setCurrentIndex(
index);
175 ui.gridLayout->setEnabled(
false);
320 ARMARX_INFO <<
"Setting new velos and orientation";
330 vec *=
ui.sbFactor->value();
331 const auto agentName =
robotPrx->getName();
333 Eigen::Vector3f vecOri;
336 vecOri *=
ui.sbFactor->value();
339 if (!
ui.cbTranslation->isChecked())
344 if (!
ui.cbOrientation->isChecked())
350 selectedTCP,
ui.edtTCPName->text().toStdString(), tcpVel, tcpOri);