mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
Changed auto timeout and speed
This commit is contained in:
parent
0296bf7831
commit
aa812e3332
@ -28,7 +28,7 @@ Autonomous::Autonomous(int seq){
|
||||
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"), 0,1));
|
||||
AddSequential(new AutoDrive(SmartDashboard::GetNumber("Auto Zone Distance"), -.8,0));
|
||||
break;
|
||||
case 3:
|
||||
// Collect three totes, drive to Auto Zone (TM)
|
||||
|
@ -32,7 +32,7 @@ void DentRobot::RobotInit(){
|
||||
SmartDashboard::PutBoolean("Three totes", true);
|
||||
// TODO: Calibrate the following two values
|
||||
// Distance (in time) to auto zone
|
||||
SmartDashboard::PutNumber("Auto Zone Distance", 5.7);
|
||||
SmartDashboard::PutNumber("Auto Zone Distance", 4.2);
|
||||
// Distance (in time) to auto tote (used in sequence 3)
|
||||
SmartDashboard::PutNumber("Auto Tote Distance", 0.5);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user