mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
highlanders fin
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user