From 2416da26b19dd31e3c267be46fc0b1f1161abdc4 Mon Sep 17 00:00:00 2001 From: Adam Long Date: Sat, 28 Feb 2015 08:23:54 +0000 Subject: [PATCH] Fixed auto sequence 3 --- Commands/Autonomous/Autonomous.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Commands/Autonomous/Autonomous.cpp b/Commands/Autonomous/Autonomous.cpp index cecbb2a..d3339a1 100644 --- a/Commands/Autonomous/Autonomous.cpp +++ b/Commands/Autonomous/Autonomous.cpp @@ -51,7 +51,7 @@ Autonomous::Autonomous(int seq){ AddSequential(new Lower()); AddSequential(new Raise()); } - AddSequential(new Turn(90)); + AddSequential(new Turn(SmartDashboard::GetNumber("TurnAmount"))); AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"), 0, 0.75)); AddSequential(new ReleaseTote()); break;