2
0
mirror of https://github.com/team2059/Dent synced 2024-12-18 20:52:29 -05:00

enabled auto

This commit is contained in:
Adam Long 2015-02-27 08:32:21 +00:00
parent 5d1b61a109
commit 8b27cf39f1

View File

@ -48,9 +48,9 @@ void DentRobot::DisabledPeriodic(){
void DentRobot::AutonomousInit(){
aut=new Autonomous(SmartDashboard::GetNumber("Auto Sequence"));
printf("Enabling Auto Sequence %f\n",SmartDashboard::GetNumber("Auto Sequence"));
//if(aut != NULL){
// aut->Start();
//}
if(aut != NULL){
aut->Start();
}
}
void DentRobot::AutonomousPeriodic(){
printf("Running auto.\n");