a
This commit is contained in:
parent
4be4a22fc8
commit
2ef438cf63
@ -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;
|
||||
|
@ -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());
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user