asfdgfhjt
This commit is contained in:
parent
6d9f20d339
commit
5eb83bf7e7
@ -27,6 +27,7 @@ public class Force1 extends CommandBase {
|
||||
@Override
|
||||
public void execute() {
|
||||
lanceur.lancer(500);
|
||||
|
||||
}
|
||||
|
||||
// Called once the command ends or is interrupted.
|
||||
|
@ -19,6 +19,8 @@ public class Lanceur extends SubsystemBase {
|
||||
lanceur.set(vitesse);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// encodeur
|
||||
public double distance() {
|
||||
return(lanceur.getEncoder().getPosition());
|
||||
|
Loading…
x
Reference in New Issue
Block a user