mirror of
https://github.com/team2059/Dent
synced 2024-12-18 20:52:29 -05:00
enabled auto
This commit is contained in:
parent
5d1b61a109
commit
8b27cf39f1
@ -48,9 +48,9 @@ void DentRobot::DisabledPeriodic(){
|
|||||||
void DentRobot::AutonomousInit(){
|
void DentRobot::AutonomousInit(){
|
||||||
aut=new Autonomous(SmartDashboard::GetNumber("Auto Sequence"));
|
aut=new Autonomous(SmartDashboard::GetNumber("Auto Sequence"));
|
||||||
printf("Enabling Auto Sequence %f\n",SmartDashboard::GetNumber("Auto Sequence"));
|
printf("Enabling Auto Sequence %f\n",SmartDashboard::GetNumber("Auto Sequence"));
|
||||||
//if(aut != NULL){
|
if(aut != NULL){
|
||||||
// aut->Start();
|
aut->Start();
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
void DentRobot::AutonomousPeriodic(){
|
void DentRobot::AutonomousPeriodic(){
|
||||||
printf("Running auto.\n");
|
printf("Running auto.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user