/* 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 */
publicclassexspireextendsCommand{
/** Creates a new aspire. */
privateRequinrequin;
publicexspire(Requinrequin){
// Use addRequirements() here to declare subsystem dependencies.
this.requin=requin;
addRequirements(requin);
}
// Called when the command is initially scheduled.
@Override
publicvoidinitialize(){}
// Called every time the scheduler runs while the command is scheduled.
@Override
publicvoidexecute(){
requin.balaye(-0.3);
}
// Called once the command ends or is interrupted.