j
This commit is contained in:
parent
f53490a1cd
commit
3e483c1b17
@ -78,7 +78,7 @@ public class RobotContainer {
|
||||
}
|
||||
|
||||
public Command getAutonomousCommand() {
|
||||
return new SequentialCommandGroup(new Avancer(drive), new Force7(lanceur, force7, accumulateur)
|
||||
, new Force1(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));*/
|
||||
return null;}
|
||||
}
|
@ -42,7 +42,7 @@ public class Force1 extends CommandBase {
|
||||
accumulateur.tournearriere();
|
||||
accumulateur.reaccumuler();
|
||||
}
|
||||
if(accumulateur.tournearriere()>-256){
|
||||
if(accumulateur.tournearriere()<-256){
|
||||
accumulateur.stop();
|
||||
}
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user