Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion Robot2018/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/bin/
/build/
/dist/
.DS_Store
11 changes: 10 additions & 1 deletion Robot2018/src/org/usfirst/frc/team199/Robot2018/Robot.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

package org.usfirst.frc.team199.Robot2018;

import org.usfirst.frc.team199.Robot2018.subsystems.Climber;
import org.usfirst.frc.team199.Robot2018.subsystems.ClimberAssist;
import org.usfirst.frc.team199.Robot2018.subsystems.IntakeEject;
import org.usfirst.frc.team199.Robot2018.subsystems.Lift;

import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.command.Scheduler;
Expand All @@ -16,7 +21,11 @@
* directory.
*/
public class Robot extends IterativeRobot {


public static final Climber climber = new Climber();
public static final ClimberAssist climberAssist = new ClimberAssist();
public static final IntakeEject intakeEject = new IntakeEject();
public static final Lift lift = new Lift();
public static OI oi;

Command autonomousCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This package is for commands.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package org.usfirst.frc.team199.Robot2018.subsystems;

import edu.wpi.first.wpilibj.command.Subsystem;

/**
*
*/
public class Climber extends Subsystem implements ClimberInterface {

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

/**
* Set the default command for a subsystem here.
* */
public void initDefaultCommand() {
// Set the default command for a subsystem here.
//setDefaultCommand(new MySpecialCommand());
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package org.usfirst.frc.team199.Robot2018.subsystems;

import edu.wpi.first.wpilibj.command.Subsystem;

/**
*
*/
public class ClimberAssist extends Subsystem implements ClimberAssistInterface {

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

/**
* Set the default command for a subsystem here.
* */
public void initDefaultCommand() {
// Set the default command for a subsystem here.
//setDefaultCommand(new MySpecialCommand());
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.usfirst.frc.team199.Robot2018.subsystems;

public interface ClimberAssistInterface {

/**
* Set the default command for a subsystem here.
* */
public void initDefaultCommand();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.usfirst.frc.team199.Robot2018.subsystems;

public interface ClimberInterface {

/**
* Set the default command for a subsystem here.
* */
public void initDefaultCommand();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package org.usfirst.frc.team199.Robot2018.subsystems;

import edu.wpi.first.wpilibj.command.Subsystem;

/**
*
*/
public class IntakeEject extends Subsystem implements IntakeEjectInterface {

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

/**
* Set the default command for a subsystem here.
* */
public void initDefaultCommand() {
// Set the default command for a subsystem here.
//setDefaultCommand(new MySpecialCommand());
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.usfirst.frc.team199.Robot2018.subsystems;

public interface IntakeEjectInterface {

/**
* Set the default command for a subsystem here.
* */
public void initDefaultCommand();

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package org.usfirst.frc.team199.Robot2018.subsystems;

import edu.wpi.first.wpilibj.command.Subsystem;

/**
*
*/
public class Lift extends Subsystem implements LiftInterface {

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

/**
* Set the default command for a subsystem here.
* */
public void initDefaultCommand() {
// Set the default command for a subsystem here.
//setDefaultCommand(new MySpecialCommand());
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package org.usfirst.frc.team199.Robot2018.subsystems;

public interface LiftInterface {

/**
* Set the default command for a subsystem here.
* */
public void initDefaultCommand();

}