public void turnLeft() { try { robot.rotate(Robot.Turn.LEFT); updateHandlerProgress(); } catch (BadTurnException e) { Log.v("debug", "Can't turn left!"); } }
public void turnRight() { try { robot.rotate(Robot.Turn.RIGHT); updateHandlerProgress(); } catch (BadTurnException e) { Log.v("debug", "Can't turn right!"); } }