/* You should consider using the more terse Command factories API instead https://docs.wpilib.org/en/stable/docs/software/commandbased/organizing-command-based.html#defining-commands */
publicclassAlgue_inspireextendsCommand{
/** Creates a new Algue_inspire. */
privatePincepince;
publicAlgue_inspire(Pincepince){
this.pince=pince;
addRequirements(pince);
// Use addRequirements() here to declare subsystem dependencies.
}
// Called when the command is initially scheduled.
@Override
publicvoidinitialize(){}
// Called every time the scheduler runs while the command is scheduled.
//ajouter l'amperage pour arreter les moteurs
@Override
publicvoidexecute(){
pince.aspirealgue(0.5);
}
// Called once the command ends or is interrupted.