From 5674fd6f0aa17d33617f4c7efa6dceb10cb826a1 Mon Sep 17 00:00:00 2001 From: Adam Long Date: Thu, 19 Mar 2015 13:04:55 +0000 Subject: [PATCH] Fixed bin auto (numbre 9) --- Commands/Autonomous/Autonomous.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Commands/Autonomous/Autonomous.cpp b/Commands/Autonomous/Autonomous.cpp index bc9d77b..8fa902f 100644 --- a/Commands/Autonomous/Autonomous.cpp +++ b/Commands/Autonomous/Autonomous.cpp @@ -78,14 +78,12 @@ Autonomous::Autonomous(int seq){ //Use rear elevator to move tote AddSequential(new BinRaise(1)); AddSequential(new Turn(2.1)); - AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"),0.0,0.75)); + AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"),0.0,-0.75)); AddSequential(new Turn(2.1)); break; case 9: - //Use rear elevator to move tote - AddSequential(new BinLower(1.5)); - AddSequential(new Turn(2.1)); - AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"),0.0,-0.75)); + //Use rear elevator to move bin + AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"),0.0,0.75)); AddSequential(new Turn(2.1)); break; default: