Skip to content
Snippets Groups Projects

Debug features for GamepadUnit

Open Tobias Gröger requested to merge feature/debug-gamepad-unit into master
@@ -133,12 +133,14 @@ namespace armarx
//scales are for the robot axis
if (data.rightTrigger > 0)
{
ARMARX_IMPORTANT << "SEND VELOCITY! " << data.rightTrigger;
platformUnitPrx->move(data.leftStickY * scaleX,
data.leftStickX * scaleY,
data.rightStickX * scaleRotation);
}
else
{
ARMARX_IMPORTANT << "STOP VELOCITY! " << data.rightTrigger;
platformUnitPrx->move(0, 0, 0);
}
Loading