Merge branch 'master' of https://git.demerso.net/pls5618/2024/betabot-2024
This commit is contained in:
commit
2b57758fc5
@ -38,7 +38,7 @@ public class Avancer extends CommandBase {
|
|||||||
// Called every time the scheduler runs while the command is scheduled.
|
// Called every time the scheduler runs while the command is scheduled.
|
||||||
@Override
|
@Override
|
||||||
public void execute() {
|
public void execute() {
|
||||||
drive.drive(0.5, -0.2, 0);
|
drive.drive(0.5, 0.2, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called once the command ends or is interrupted.
|
// Called once the command ends or is interrupted.
|
||||||
|
@ -24,7 +24,7 @@ public class LanceurAuto extends CommandBase {
|
|||||||
// Called every time the scheduler runs while the command is scheduled.
|
// Called every time the scheduler runs while the command is scheduled.
|
||||||
@Override
|
@Override
|
||||||
public void execute() {
|
public void execute() {
|
||||||
lanceur.lancer(0.6);
|
lanceur.lancer(0.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Called once the command ends or is interrupted.
|
// Called once the command ends or is interrupted.
|
||||||
|
@ -21,7 +21,7 @@ public class Accumulateur extends SubsystemBase {
|
|||||||
moteuracc.set(0.5);
|
moteuracc.set(0.5);
|
||||||
}
|
}
|
||||||
public void reaccumuler(){
|
public void reaccumuler(){
|
||||||
moteuracc.set(-0.5);
|
moteuracc.set(-0.7);
|
||||||
}
|
}
|
||||||
public double tourneavant(){
|
public double tourneavant(){
|
||||||
return(moteuracc.getSelectedSensorPosition());
|
return(moteuracc.getSelectedSensorPosition());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user