Code composante fini
This commit is contained in:
@@ -9,7 +9,7 @@ import frc.robot.subsystems.Balayeuse;
|
||||
|
||||
/* 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 */
|
||||
public class MonterBalyeuse extends Command {
|
||||
Balayeuse balayeuse;
|
||||
private Balayeuse balayeuse;
|
||||
/** Creates a new MonterBalyeuse. */
|
||||
public MonterBalyeuse(Balayeuse balayeuse) {
|
||||
this.balayeuse = balayeuse;
|
||||
@@ -29,6 +29,7 @@ public class MonterBalyeuse extends Command {
|
||||
}
|
||||
else{
|
||||
balayeuse.Reset();
|
||||
balayeuse.Pivoter(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user