Skip to content

Commit

Permalink
Removed private instances of subsystems
Browse files Browse the repository at this point in the history
  • Loading branch information
briansemrau committed Feb 10, 2018
1 parent 92da401 commit 39bf721
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 22 deletions.
5 changes: 0 additions & 5 deletions src/org/usfirst/frc/team4737/robot/subsystems/Climber.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
*/
public class Climber extends Subsystem {

private static Climber instance = new Climber();

public static Climber getInstance() {
return instance;
}
// Put methods for controlling this subsystem
// here. Call these from Commands.

Expand Down
6 changes: 0 additions & 6 deletions src/org/usfirst/frc/team4737/robot/subsystems/Drivetrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
*/
public class Drivetrain extends Subsystem {

private static Drivetrain instance = new Drivetrain();

public static Drivetrain getInstance() {
return instance;
}

// Put methods for controlling this subsystem
// here. Call these from Commands.
private WPI_TalonSRX leftFrontMaster;
Expand Down
6 changes: 0 additions & 6 deletions src/org/usfirst/frc/team4737/robot/subsystems/Elevator.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
*/
public class Elevator extends Subsystem {

private static Elevator instance = new Elevator();

public static Elevator getInstance() {
return instance;
}

// Put methods for controlling this subsystem
// here. Call these from Commands.

Expand Down
6 changes: 1 addition & 5 deletions src/org/usfirst/frc/team4737/robot/subsystems/Intake.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
*/
public class Intake extends Subsystem {

private static Intake instance = new Intake();

public static Intake getInstance() {
return instance;
}
// Put methods for controlling this subsystem
// here. Call these from Commands.

Expand All @@ -42,4 +37,5 @@ public void initDefaultCommand() {
public void setSpeed(double speed) {
// TODO
}

}

0 comments on commit 39bf721

Please sign in to comment.