Skip to content
Snippets Groups Projects
Commit 751d0813 authored by Mirko Wächter's avatar Mirko Wächter
Browse files
parents 6b8bab18 cf477d94
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ PlatformUnitWidget::PlatformUnitWidget() :
//init joystick controls
std::unique_ptr<JoystickControlWidget> speed{new JoystickControlWidget{}};
speedCtrl = speed.get();
speedCtrl->setSteps(2);
speedCtrl->setSteps(5);
//use upper semicircle for rotation
std::unique_ptr<JoystickControlWidget> rotat{new JoystickControlWidget{false}};
rotaCtrl = rotat.get();
......@@ -141,7 +141,9 @@ void PlatformUnitWidget::reportPlatformVelocity(::Ice::Float currentPlatformVelo
void PlatformUnitWidget::stopPlatform()
{
platformUnitProxy->moveRelative(0, 0, 0, 0, 0);
::Ice::Float posAcc = 10.0f;
::Ice::Float rotAcc = 0.1f;
platformUnitProxy->moveRelative(0, 0, 0, posAcc, rotAcc);
}
void PlatformUnitWidget::controlTimerTick()
......
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