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

View File

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