2
0
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:
Adam Long 2015-02-27 12:10:46 +00:00
parent 0296bf7831
commit aa812e3332
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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);