This commit is contained in:
samuel desharnais
2024-02-20 18:52:44 -05:00
parent ef06de2957
commit c14b294395
2 changed files with 10 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ import com.pathplanner.lib.auto.AutoBuilder;
import com.pathplanner.lib.auto.NamedCommands;
import edu.wpi.first.cameraserver.CameraServer;
import edu.wpi.first.math.MathUtil;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardTab;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
@@ -56,9 +57,11 @@ public class RobotContainer {
Lanceur lanceur = new Lanceur();
Limelight limelight = new Limelight();
LED LED = new LED();
CommandJoystick joystick = new CommandJoystick(0);
CommandXboxController manette = new CommandXboxController(1);
CommandJoystick joystick = new CommandJoystick(0);
CommandXboxController manette = new CommandXboxController(1);
/*private final Relay blue = new Relay(0);
private final Relay rouge = new Relay(1);
private final Relay vert = new Relay(2);*/
//command
PistonFerme pistonFerme = new PistonFerme(grimpeur);
Balayer balayer = new Balayer(balayeuse, accumulateur);