vfdrty
This commit is contained in:
@@ -30,6 +30,8 @@ import frc.robot.commands.ModeOposerDemeleur;
|
||||
import frc.robot.commands.MonterBalyeuse;
|
||||
import frc.robot.commands.MonterGrimpeur;
|
||||
import frc.robot.commands.ModeAuto.AspirerAuto;
|
||||
import frc.robot.commands.ModeAuto.BougerDroiteAuto;
|
||||
import frc.robot.commands.ModeAuto.BougerGaucheAuto;
|
||||
import frc.robot.commands.ModeAuto.GrimperMur;
|
||||
import frc.robot.commands.ModeAuto.GrimperReservoir;
|
||||
import frc.robot.commands.ModeAuto.LancerAuto;
|
||||
@@ -73,6 +75,8 @@ public class RobotContainer {
|
||||
|
||||
|
||||
public RobotContainer() {
|
||||
NamedCommands.registerCommand("droite", new BougerDroiteAuto(drivetrain));
|
||||
NamedCommands.registerCommand("gauche", new BougerGaucheAuto(drivetrain));
|
||||
NamedCommands.registerCommand("GrimperMur", new GrimperMur(limeLight3,drivetrain));
|
||||
NamedCommands.registerCommand("GrimperReservoir", new GrimperReservoir(limeLight3G,drivetrain));
|
||||
NamedCommands.registerCommand("Lancer", new LancerAuto(lanceur, limeLight3G));
|
||||
@@ -126,7 +130,8 @@ public class RobotContainer {
|
||||
manette1.b().whileTrue(new ModeOposer(lanceur));
|
||||
manette1.a().whileTrue(new ModeOposerDemeleur(lanceur));
|
||||
manette1.y().whileTrue(new ModeOposerBalayeuse(balayeuse));
|
||||
manette1.povUp().whileTrue(new LancerAuto(lanceur, limeLight3G));
|
||||
manette1.povRight().whileTrue(new BougerDroiteAuto(drivetrain));
|
||||
manette1.povLeft().whileTrue(new BougerGaucheAuto(drivetrain));
|
||||
}
|
||||
|
||||
public Command getAutonomousCommand() {
|
||||
|
||||
Reference in New Issue
Block a user