Change drivePower to 1, driveTime to 3 (seconds)

This commit is contained in:
Adam Goldsmith 2016-03-05 15:55:20 -05:00
parent 45bda434a9
commit 516f0d1675
1 changed files with 3 additions and 2 deletions

View File

@ -238,7 +238,8 @@ public:
void AutonomousPeriodic() void AutonomousPeriodic()
{ {
const float drivePower = 0.7; const float drivePower = 1;
const float driveTime = 3; //Seconds to drive forward
LogCSVData(); LogCSVData();
if(autoSelected == autoNameCustom){ if(autoSelected == autoNameCustom){
//Custom Auto goes here //Custom Auto goes here
@ -254,7 +255,7 @@ public:
} }
case DRIVING_FORWARD: case DRIVING_FORWARD:
{ {
if (auto_clock.Get() > 5.0 ) if (auto_clock.Get() > driveTime)
{ {
drive.TankDrive(0.0, 0.0); drive.TankDrive(0.0, 0.0);
auto_status = STOP; auto_status = STOP;