vbj
This commit is contained in:
@@ -13,7 +13,7 @@ import edu.wpi.first.wpilibj2.command.RunCommand;
|
||||
// Manette
|
||||
import edu.wpi.first.wpilibj2.command.button.CommandJoystick;
|
||||
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
|
||||
|
||||
import frc.robot.command.Balayer;
|
||||
// Subsystem
|
||||
import frc.robot.subsystem.Accumulateur;
|
||||
import frc.robot.subsystem.Balayeuse;
|
||||
@@ -31,6 +31,7 @@ public class RobotContainer {
|
||||
Grimpeur grimpeur = new Grimpeur();
|
||||
Guideur guideur = new Guideur();
|
||||
Lanceur lanceur = new Lanceur();
|
||||
Balayer balayer = new Balayer(balayeuse, accumulateur);
|
||||
|
||||
CommandJoystick joystick = new CommandJoystick(0);
|
||||
CommandXboxController manette = new CommandXboxController(1);
|
||||
@@ -47,7 +48,7 @@ public class RobotContainer {
|
||||
|
||||
private void configureBindings() {
|
||||
|
||||
|
||||
joystick.button(3).toggleOnTrue(balayer);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user