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

Fixed bin auto (numbre 9)

This commit is contained in:
Adam Long 2015-03-19 13:04:55 +00:00
parent 5193cbb59a
commit 5674fd6f0a

View File

@ -78,14 +78,12 @@ Autonomous::Autonomous(int seq){
//Use rear elevator to move tote //Use rear elevator to move tote
AddSequential(new BinRaise(1)); AddSequential(new BinRaise(1));
AddSequential(new Turn(2.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)); AddSequential(new Turn(2.1));
break; break;
case 9: case 9:
//Use rear elevator to move tote //Use rear elevator to move bin
AddSequential(new BinLower(1.5)); AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"),0.0,0.75));
AddSequential(new Turn(2.1));
AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"),0.0,-0.75));
AddSequential(new Turn(2.1)); AddSequential(new Turn(2.1));
break; break;
default: default: