pour les touches
This commit is contained in:
parent
f683282775
commit
aff5567642
@ -9,7 +9,13 @@ import edu.wpi.first.wpilibj.XboxController;
|
||||
|
||||
import edu.wpi.first.wpilibj2.command.Command;
|
||||
import edu.wpi.first.wpilibj2.command.RunCommand;
|
||||
import frc.robot.commands.ActiverBlockeur;
|
||||
import frc.robot.commands.Activer_poussoir;
|
||||
import frc.robot.commands.Activershaker;
|
||||
import frc.robot.commands.DesactiverBlockeur;
|
||||
import frc.robot.subsystems.BasePilotable;
|
||||
import frc.robot.subsystems.Pistonshaker;
|
||||
import frc.robot.subsystems.Poussoir;
|
||||
|
||||
/**
|
||||
* This class is where the bulk of the robot should be declared. Since Command-based is a
|
||||
@ -23,6 +29,13 @@ public class RobotContainer {
|
||||
|
||||
BasePilotable basePilotable = new BasePilotable();
|
||||
|
||||
private Pistonshaker pistonshaker = new Pistonshaker();
|
||||
private Poussoir poussoir = new Poussoir();
|
||||
|
||||
private Activer_poussoir activer_poussoir = new Activer_poussoir(poussoir);
|
||||
private ActiverBlockeur activerBlockeur = new ActiverBlockeur(poussoir);
|
||||
private Activershaker activershaker = new Activershaker(pistonshaker);
|
||||
private DesactiverBlockeur desactiverBlockeur = new DesactiverBlockeur(poussoir);
|
||||
/** The container for the robot. Contains subsystems, OI devices, and commands. */
|
||||
public RobotContainer() {
|
||||
// Configure the button bindings
|
||||
|
Loading…
x
Reference in New Issue
Block a user