1 package org
.usfirst
.frc
.team3501
.robot
;
3 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.DriveTrain
;
5 import edu
.wpi
.first
.wpilibj
.CameraServer
;
6 import edu
.wpi
.first
.wpilibj
.IterativeRobot
;
7 import edu
.wpi
.first
.wpilibj
.command
.Scheduler
;
9 public class Robot
extends IterativeRobot
{
10 private static DriveTrain driveTrain
;
14 public void robotInit() {
15 driveTrain
= DriveTrain
.getDriveTrain();
18 CameraServer
.getInstance().startAutomaticCapture();
22 public static DriveTrain
getDriveTrain() {
23 return DriveTrain
.getDriveTrain();
26 public static OI
getOI() {
31 public void autonomousInit() {
35 public void autonomousPeriodic() {
36 Scheduler
.getInstance().run();
41 public void teleopInit() {
45 public void teleopPeriodic() {
46 Scheduler
.getInstance().run();