gfgh
This commit is contained in:
parent
21c256a8b4
commit
4be4a22fc8
@ -71,10 +71,11 @@ public class RobotContainer {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public Command getAutonomousCommand() {
|
public Command getAutonomousCommand() {
|
||||||
return new SequentialCommandGroup(new Avancer(drive), new Force7(lanceur, force7, accumulateur)
|
return null;
|
||||||
|
/* new SequentialCommandGroup(new Avancer(drive), new Force7(lanceur, force7, accumulateur)
|
||||||
, new Lancer(lanceur, accumulateur, force1), new Reculer(drive));
|
, new Lancer(lanceur, accumulateur, force1), new Reculer(drive));
|
||||||
|
*/ }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
/* return new SequentialCommandGroup(new Avancer(drive), new Force7(lanceur, force7, accumulateur)
|
|
||||||
, new Force1(lanceur, accumulateur, force1), new Reculer(drive));*/
|
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
|
|
||||||
package frc.robot.commands;
|
package frc.robot.commands;
|
||||||
|
|
||||||
import java.util.function.DoubleSupplier;
|
|
||||||
|
|
||||||
import edu.wpi.first.networktables.GenericEntry;
|
import edu.wpi.first.networktables.GenericEntry;
|
||||||
import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
|
import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
|
||||||
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
|
import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
|
||||||
@ -17,7 +15,7 @@ public class Lancer extends ParallelCommandGroup {
|
|||||||
private Lanceur lanceur;
|
private Lanceur lanceur;
|
||||||
private Accumulateur accumulateur;
|
private Accumulateur accumulateur;
|
||||||
|
|
||||||
/** Creates a new Force1. */
|
|
||||||
public Lancer(Lanceur lanceur,Accumulateur accumulateur,GenericEntry vitesse) {
|
public Lancer(Lanceur lanceur,Accumulateur accumulateur,GenericEntry vitesse) {
|
||||||
this.lanceur = lanceur;
|
this.lanceur = lanceur;
|
||||||
this.accumulateur = accumulateur;
|
this.accumulateur = accumulateur;
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
package frc.robot.commands;
|
package frc.robot.commands;
|
||||||
|
|
||||||
import edu.wpi.first.wpilibj2.command.CommandBase;
|
import edu.wpi.first.wpilibj2.command.CommandBase;
|
||||||
import frc.robot.subsystems.Accumulateur;
|
|
||||||
import frc.robot.subsystems.Lanceur;
|
import frc.robot.subsystems.Lanceur;
|
||||||
|
|
||||||
public class Lancez extends CommandBase {
|
public class Lancez extends CommandBase {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user