diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 9b07d21..bc3e55f 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -16,12 +16,6 @@ import edu.wpi.first.wpilibj2.command.button.CommandJoystick; import edu.wpi.first.wpilibj2.command.button.CommandXboxController; import frc.robot.commands.Avancer; import frc.robot.commands.Lancer; -import frc.robot.commands.Force2; -import frc.robot.commands.Force3; -import frc.robot.commands.Force4; -import frc.robot.commands.Force5; -import frc.robot.commands.Force6; -import frc.robot.commands.Force7; import frc.robot.commands.Reculer; import frc.robot.commands.accumulateurtest; import frc.robot.subsystems.Accumulateur; diff --git a/src/main/java/frc/robot/commands/Lancer.java b/src/main/java/frc/robot/commands/Lancer.java index ebce965..f72cbf7 100644 --- a/src/main/java/frc/robot/commands/Lancer.java +++ b/src/main/java/frc/robot/commands/Lancer.java @@ -12,13 +12,13 @@ import frc.robot.subsystems.Accumulateur; import frc.robot.subsystems.Lanceur; public class Lancer extends ParallelCommandGroup { - private Lanceur lanceur; - private Accumulateur accumulateur; + // private Lanceur lanceur; + // private Accumulateur accumulateur; public Lancer(Lanceur lanceur,Accumulateur accumulateur,GenericEntry vitesse) { - this.lanceur = lanceur; - this.accumulateur = accumulateur; + // this.lanceur = lanceur; + // this.accumulateur = accumulateur; // Add your commands in the addCommands() call, e.g. // addCommands(new FooCommand(), new BarCommand()); diff --git a/src/main/java/frc/robot/commands/Lancez.java b/src/main/java/frc/robot/commands/Lancez.java index 23ce090..e45d955 100644 --- a/src/main/java/frc/robot/commands/Lancez.java +++ b/src/main/java/frc/robot/commands/Lancez.java @@ -19,7 +19,7 @@ public class Lancez extends CommandBase { // Called when the command is initially scheduled. @Override public void initialize() { - lanceur.setPID(0, 0, 0); + lanceur.setPID(0.19166, 0, 0); } // Called every time the scheduler runs while the command is scheduled.