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