Skip to content

Commit

Permalink
Removed example objects
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonisrailov committed Feb 10, 2018
1 parent 9dbab13 commit 232fcde
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 78 deletions.
14 changes: 7 additions & 7 deletions src/org/usfirst/frc/team4737/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
import edu.wpi.first.wpilibj.command.Scheduler;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import org.usfirst.frc.team4737.robot.commands.ExampleCommand;
import org.usfirst.frc.team4737.robot.subsystems.ExampleSubsystem;

/**
* The VM is configured to automatically run this class, and to call the
* functions corresponding to each mode, as described in the TimedRobot
Expand All @@ -23,8 +20,10 @@
* project.
*/
public class Robot extends TimedRobot {
public static final ExampleSubsystem kExampleSubsystem
= new ExampleSubsystem();
/*
* public static final ExampleSubsystem kExampleSubsystem = new
* ExampleSubsystem();
*/
public static OI m_oi;

Command m_autonomousCommand;
Expand All @@ -37,7 +36,7 @@ public class Robot extends TimedRobot {
@Override
public void robotInit() {
m_oi = new OI();
m_chooser.addDefault("Default Auto", new ExampleCommand());
// m_chooser.addDefault("Default Auto", new ExampleCommand());
// chooser.addObject("My Auto", new MyAutoCommand());
SmartDashboard.putData("Auto mode", m_chooser);
}
Expand All @@ -64,7 +63,8 @@ public void disabledPeriodic() {
* LabVIEW Dashboard, remove all of the chooser code and uncomment the
* getString code to get the auto name from the text box below the Gyro
*
* <p>You can add additional auto modes by adding additional commands to the
* <p>
* You can add additional auto modes by adding additional commands to the
* chooser code above (like the commented example) or additional comparisons
* to the switch structure below with additional strings & commands.
*/
Expand Down
48 changes: 0 additions & 48 deletions src/org/usfirst/frc/team4737/robot/commands/ExampleCommand.java

This file was deleted.

This file was deleted.

0 comments on commit 232fcde

Please sign in to comment.