src/main/java/frc/robot/Robot.java
//This function is run when the robot starts up
This function is run when the robot starts up
This function is run when the robot starts up
@Override
  public void robotInit() {
    m_drivetrain = new Drivetrain();
    m_lift = new Lift();
    m_hook = new Hook();
    m_oi = new OI();
    CameraServer.getInstance().startAutomaticCapture();
    CameraServer.getInstance().startAutomaticCapture();
    SmartDashboard.putData("Scheduler", Scheduler.getInstance());
    SmartDashboard.putData(m_drivetrain);
    SmartDashboard.putData(m_lift);
    SmartDashboard.putData(m_hook);
  }
@ Override public void robotInit ( ) { m_drivetrain = new Drivetrain ( ) ; m_lift = new Lift ( ) ; m_hook = new Hook ( ) ; m_oi = new OI ( ) ; CameraServer . getInstance ( ) . startAutomaticCapture ( ) ; CameraServer . getInstance ( ) . startAutomaticCapture ( ) ; SmartDashboard . putData ( "Scheduler" , Scheduler . getInstance ( ) ) ; SmartDashboard . putData ( m_drivetrain ) ; SmartDashboard . putData ( m_lift ) ; SmartDashboard . putData ( m_hook ) ; }
This function is run when the robot starts up
This function is run when the robot starts up
//Subsystems //OI //Commands //Comand Server //Smart Dashboard