From bd3601271d334a3b5a85d38f2ad80fe61ad343bc Mon Sep 17 00:00:00 2001 From: shark Date: Sun, 7 Apr 2019 18:26:36 -0500 Subject: [PATCH] add bottom middle flag --- main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 1808c3b..648f2be 100644 --- a/main.c +++ b/main.c @@ -149,15 +149,16 @@ task autonomous() { driveTiles(1, REVERSE); turnRight(1); driveTiles(0.33, REVERSE); - driveTiles(2.5, FORWARD); - ballIn(); - delay(100); + driveTiles(2.5, FORWARD); // Flip the other cap without turning on the spinner + ballIn(); // So we can pick up the ball! + delay(1000); driveTiles(0.1, FORWARD); turnLeft(1); driveTiles(0.33, REVERSE); delay(1000); ballOff(); shootBall(); + driveTiles(2.2, FORWARD); // Hit middle column bottom flag } void turnRight(int turns) {