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

33 lines
780 B
C++
Raw Normal View History

2015-01-16 19:49:16 -05:00
#include "DentRobot.h"
2015-01-17 12:21:16 -05:00
OI* DentRobot::oi=NULL;
Collector* DentRobot::collector=NULL;
Drivetrain* DentRobot::drivetrain=NULL;
Elevator* DentRobot::elevator=NULL;
2015-01-20 07:02:46 -05:00
AirCompressor * DentRobot::airCompressor=NULL;
2015-01-17 12:21:16 -05:00
DentRobot::DentRobot(){
oi=new OI();
collector=new Collector();
drivetrain=new Drivetrain();
elevator=new Elevator();
2015-01-20 07:02:46 -05:00
airCompressor=new AirCompressor();
2015-01-16 19:49:16 -05:00
printf("Initialized");
}
void DentRobot::RobotInit(){
}
void DentRobot::DisabledPeriodic(){
Scheduler::GetInstance()->Run();
}
void DentRobot::AutonomousInit(){
}
void DentRobot::AutonomousPeriodic(){
Scheduler::GetInstance()->Run();
}
void DentRobot::TeleopInit(){
}
void DentRobot::TeleopPeriodic(){
Scheduler::GetInstance()->Run();
}
void DentRobot::TestPeriodic(){
}
START_ROBOT_CLASS(DentRobot);