From 5d850477282f54ef30cc7d4937f30e7a93afc392 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 5 Mar 2016 15:55:20 -0500 Subject: [PATCH] Change drivePower to 1, driveTime to 3 (seconds) --- src/Robot.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Robot.cpp b/src/Robot.cpp index bcd86dd..f867ef5 100644 --- a/src/Robot.cpp +++ b/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;