ajout encodeur Lanceur
This commit is contained in:
parent
e39f421225
commit
f7388256d0
@ -18,6 +18,10 @@ public class Lanceur extends SubsystemBase {
|
|||||||
public void lancer(double vitesse){
|
public void lancer(double vitesse){
|
||||||
lanceur.set(vitesse);
|
lanceur.set(vitesse);
|
||||||
}
|
}
|
||||||
|
// Encodeur
|
||||||
|
// public double distance(){
|
||||||
|
// return(lanceur.getEncoder().getPosition());
|
||||||
|
// }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void periodic() {
|
public void periodic() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user