Skip to content
Snippets Groups Projects
Commit d9ecbbf6 authored by Mirko Wächter's avatar Mirko Wächter
Browse files

clean up

parent e2ed2f45
No related branches found
No related tags found
No related merge requests found
......@@ -112,8 +112,6 @@ void PlatformUnitWidget::connectSlots()
{
connect(ui.buttonMoveToPosition, SIGNAL(clicked()), this, SLOT(moveTo()));
connect(&ctrlEvaluationTimer, SIGNAL(timeout()), this, SLOT(controlTimerTick()));
// connect(speedCtrl, SIGNAL(positionChanged(QPointF)), SLOT(moveTranslational(QPointF)));
// connect(rotaCtrl, SIGNAL(rotationChanged(double)), SLOT(rotate(double)));
connect(speedCtrl,SIGNAL(released()), this, SLOT(stopPlatform()));
connect(rotaCtrl, SIGNAL(released()), this, SLOT(stopPlatform()));
}
......@@ -172,15 +170,7 @@ void PlatformUnitWidget::stopPlatform()
platformUnitProxy->moveRelative(0, 0, 0, posAcc, rotAcc);
}
void PlatformUnitWidget::moveTranslational(const QPointF &pos)
{
platformUnitProxy->move(pos.x(), pos.y(),0);
}
void PlatformUnitWidget::rotate(const double &alpha)
{
platformUnitProxy->move(0,0, alpha);
}
void PlatformUnitWidget::controlTimerTick()
{
......
......@@ -130,8 +130,6 @@ namespace armarx
*/
void stopPlatform();
void moveTranslational(const QPointF& pos);
void rotate(const double& alpha);
private:
std::string platformUnitProxyName;
std::string platformName;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment