Skip to content

Commit

Permalink
fix thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan1522 committed Oct 3, 2024
1 parent 3301a8a commit f72b871
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
public class Robot extends TimedRobot {
private Command m_autonomousCommand;
private RobotContainer m_robotContainer;
private VisionSubsystem visionSubsystem;

/**
* This function is run when the robot is first started up and should be used for any
Expand All @@ -32,7 +31,6 @@ public void robotInit() {
// Instantiate our RobotContainer. This will perform all our button bindings, and put our
// autonomous chooser on the dashboard.
m_robotContainer = new RobotContainer();
visionSubsystem = new VisionSubsystem();
// uncomment the line below if there is a USB camera plugged into the RoboRIO
// CameraServer.startAutomaticCapture();
}
Expand All @@ -56,7 +54,6 @@ public void robotPeriodic() {
/** This function is called once each time the robot enters Disabled mode. */
@Override
public void disabledInit() {
visionSubsystem.endAllThreads();
}

@Override
Expand Down

0 comments on commit f72b871

Please sign in to comment.