2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00

swapped auto sequences

This commit is contained in:
Adam Long 2015-02-27 12:46:14 +00:00
parent aa812e3332
commit 55bbfcd44f

View File

@ -20,15 +20,15 @@ Autonomous::Autonomous(int seq){
case 1:
// Wait a desigated value, drive to Auto Zone (TM)
Wait(SmartDashboard::GetNumber("Auto Wait Time"));
AddSequential(new BinRaise(1.2));
AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"), 0,1));
AddSequential(new BinLower(.9));
//AddSequential(new AutoDrive(1.2, -0.75,0));
AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"), -.8,0));
break;
case 2:
// Wait a desigated value, drive to Auto Zone (TM)
Wait(SmartDashboard::GetNumber("Auto Wait Time"));
AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"), -.8,0));
AddSequential(new BinRaise(1.2));
AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"), 0,1));
AddSequential(new BinLower(.9));
//AddSequential(new AutoDrive(1.2, -0.75,0));
break;
case 3:
// Collect three totes, drive to Auto Zone (TM)