mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
swapped auto sequences
This commit is contained in:
parent
aa812e3332
commit
55bbfcd44f
@ -20,15 +20,15 @@ Autonomous::Autonomous(int seq){
|
|||||||
case 1:
|
case 1:
|
||||||
// Wait a desigated value, drive to Auto Zone (TM)
|
// Wait a desigated value, drive to Auto Zone (TM)
|
||||||
Wait(SmartDashboard::GetNumber("Auto Wait Time"));
|
Wait(SmartDashboard::GetNumber("Auto Wait Time"));
|
||||||
AddSequential(new BinRaise(1.2));
|
AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"), -.8,0));
|
||||||
AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"), 0,1));
|
|
||||||
AddSequential(new BinLower(.9));
|
|
||||||
//AddSequential(new AutoDrive(1.2, -0.75,0));
|
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
// Wait a desigated value, drive to Auto Zone (TM)
|
// Wait a desigated value, drive to Auto Zone (TM)
|
||||||
Wait(SmartDashboard::GetNumber("Auto Wait Time"));
|
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;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
// Collect three totes, drive to Auto Zone (TM)
|
// Collect three totes, drive to Auto Zone (TM)
|
||||||
|
Loading…
Reference in New Issue
Block a user