highlanders fin

This commit is contained in:
ryan123rudder
2020-03-13 20:51:06 -06:00
parent 90b3af3bd5
commit a62a91f5f3
10 changed files with 434 additions and 17 deletions
@@ -9,6 +9,7 @@ package frc4388.robot.commands.drive;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc4388.robot.subsystems.Drive;
import frc4388.robot.subsystems.Shooter;
public class PlaySongDrive extends CommandBase {
private Drive m_drive;
@@ -16,10 +17,10 @@ public class PlaySongDrive extends CommandBase {
/**
* Creates a new PlaySongDrive.
*/
public PlaySongDrive(Drive subsystem) {
public PlaySongDrive(Drive subsystem, Shooter shooter) {
// Use addRequirements() here to declare subsystem dependencies.
m_drive = subsystem;
addRequirements(m_drive);
addRequirements(m_drive, shooter);
}
// Called when the command is initially scheduled.