mirror of
https://github.com/team2059/Dent
synced 2025-01-07 22:14:14 -05:00
Fixed build error
This commit is contained in:
parent
d9c010aed8
commit
016f6cd609
@ -22,7 +22,7 @@ Autonomous::Autonomous(int seq){
|
|||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
// Drive forward a bit, turn around, collect tote then bin
|
// Drive forward a bit, turn around, collect tote then bin
|
||||||
AddSequential(new AutoDrive(0.5));
|
AddSequential(new AutoDrive(1.0,-0.75));
|
||||||
AddSequential(new Turn(180));
|
AddSequential(new Turn(180));
|
||||||
AddSequential(new RollIn(1.0));
|
AddSequential(new RollIn(1.0));
|
||||||
AddSequential(new Raise());
|
AddSequential(new Raise());
|
||||||
@ -30,13 +30,13 @@ Autonomous::Autonomous(int seq){
|
|||||||
case 2:
|
case 2:
|
||||||
// Drive forward a bit, turn around, collect tote then bin
|
// Drive forward a bit, turn around, collect tote then bin
|
||||||
AddParallel(new Raise());
|
AddParallel(new Raise());
|
||||||
AddParallel(new AutoDrive(0.5));
|
AddSequential(new AutoDrive(1.0,-0.75));
|
||||||
AddSequential(new Turn(180));
|
AddSequential(new Turn(180));
|
||||||
AddSequential(new RollIn(1.0));
|
AddSequential(new RollIn(1.0));
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
//Wait(SmartDashboard::GetNumber("Auto Wait Time"));
|
//Wait(SmartDashboard::GetNumber("Auto Wait Time"));
|
||||||
AddSequential(new AutoDrive(2.0));
|
AddSequential(new AutoDrive(1.0,-0.75));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("Invalid seq: %d\n", seq);
|
printf("Invalid seq: %d\n", seq);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user