Merge branch 'master' of https://git.demerso.net/pls5618/2024/betabot-2024
This commit is contained in:
commit
0637770e17
@ -78,7 +78,7 @@ public class RobotContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Command getAutonomousCommand() {
|
public Command getAutonomousCommand() {
|
||||||
return new SequentialCommandGroup(new Avancer(drive), new Force7(lanceur, force7, accumulateur)
|
/* return new SequentialCommandGroup(new Avancer(drive), new Force7(lanceur, force7, accumulateur)
|
||||||
, new Force1(lanceur, accumulateur, force1), new Reculer(drive));
|
, new Force1(lanceur, accumulateur, force1), new Reculer(drive));*/
|
||||||
}
|
return null;}
|
||||||
}
|
}
|
@ -42,7 +42,7 @@ public class Force1 extends CommandBase {
|
|||||||
accumulateur.tournearriere();
|
accumulateur.tournearriere();
|
||||||
accumulateur.reaccumuler();
|
accumulateur.reaccumuler();
|
||||||
}
|
}
|
||||||
if(accumulateur.tournearriere()>-256){
|
if(accumulateur.tournearriere()<-256){
|
||||||
accumulateur.stop();
|
accumulateur.stop();
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user