Commit f0ba05c9 authored by ivangrujic's avatar ivangrujic
Browse files

tweaks on sqaure program

parent 8f4983ae
......@@ -49,22 +49,27 @@ public class PilotSquare
Button.waitForAnyPress();
for(int i = 0; i < 4; i++)
for(int i = 0; i < 3; i++)
{
//pilot.rotate(-360);
//pilot.rotate(360);
//Button.waitForAnyPress();
//pilot.travel(50);
//Button.waitForAnyPress();
pilot.travel(50);
show(poseProvider.getPose());
Delay.msDelay(1000);
pilot.rotate(90);
pilot.rotate(-90);
show(poseProvider.getPose());
Delay.msDelay(1000);
}
//pilot.travel(50);
//Button.waitForAnyPress();
//pilot.rotate(360);
//Button.waitForAnyPress();
pilot.stop();
LCD.drawString("Program stopped", 0, 0);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment