Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit 1a0fee0

Browse files
committed
added subsystems and interfaces
subsystems and interfaces: Lift, Climber, ClimberAssist, IntakeEject added "implements (interface) in each subsystem did not include drivetrain or auto bc other peopl already doing that
1 parent ae2b64f commit 1a0fee0

9 files changed

Lines changed: 92 additions & 0 deletions

File tree

.DS_Store

6 KB
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.usfirst.frc.team199.Robot2018.subsystems;
2+
3+
import edu.wpi.first.wpilibj.command.Subsystem;
4+
5+
/**
6+
*
7+
*/
8+
public class Climber extends Subsystem implements ClimberInterface {
9+
10+
// Put methods for controlling this subsystem
11+
// here. Call these from Commands.
12+
13+
public void initDefaultCommand() {
14+
// Set the default command for a subsystem here.
15+
//setDefaultCommand(new MySpecialCommand());
16+
}
17+
}
18+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.usfirst.frc.team199.Robot2018.subsystems;
2+
3+
import edu.wpi.first.wpilibj.command.Subsystem;
4+
5+
/**
6+
*
7+
*/
8+
public class ClimberAssist extends Subsystem implements ClimberAssistInterface {
9+
10+
// Put methods for controlling this subsystem
11+
// here. Call these from Commands.
12+
13+
public void initDefaultCommand() {
14+
// Set the default command for a subsystem here.
15+
//setDefaultCommand(new MySpecialCommand());
16+
}
17+
}
18+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package org.usfirst.frc.team199.Robot2018.subsystems;
2+
3+
public interface ClimberAssistInterface {
4+
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package org.usfirst.frc.team199.Robot2018.subsystems;
2+
3+
public interface ClimberInterface {
4+
5+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.usfirst.frc.team199.Robot2018.subsystems;
2+
3+
import edu.wpi.first.wpilibj.command.Subsystem;
4+
5+
/**
6+
*
7+
*/
8+
public class IntakeEject extends Subsystem implements IntakeEjectInterface {
9+
10+
// Put methods for controlling this subsystem
11+
// here. Call these from Commands.
12+
13+
public void initDefaultCommand() {
14+
// Set the default command for a subsystem here.
15+
//setDefaultCommand(new MySpecialCommand());
16+
}
17+
}
18+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package org.usfirst.frc.team199.Robot2018.subsystems;
2+
3+
public interface IntakeEjectInterface {
4+
5+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.usfirst.frc.team199.Robot2018.subsystems;
2+
3+
import edu.wpi.first.wpilibj.command.Subsystem;
4+
5+
/**
6+
*
7+
*/
8+
public class Lift extends Subsystem implements LiftInterface {
9+
10+
// Put methods for controlling this subsystem
11+
// here. Call these from Commands.
12+
13+
public void initDefaultCommand() {
14+
// Set the default command for a subsystem here.
15+
//setDefaultCommand(new MySpecialCommand());
16+
}
17+
}
18+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package org.usfirst.frc.team199.Robot2018.subsystems;
2+
3+
public interface LiftInterface {
4+
5+
}

0 commit comments

Comments
 (0)