From 8b27cf39f137c81f5b80a44cb887880a538e36b3 Mon Sep 17 00:00:00 2001 From: Adam Long Date: Fri, 27 Feb 2015 08:32:21 +0000 Subject: [PATCH] enabled auto --- DentRobot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DentRobot.cpp b/DentRobot.cpp index 00b1f7d..7795d1e 100644 --- a/DentRobot.cpp +++ b/DentRobot.cpp @@ -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");