j'aide oli

This commit is contained in:
samuel desharnais
2024-11-04 18:23:33 -05:00
parent 810ea210b1
commit 954c82a7a0
3 changed files with 12 additions and 1 deletions

View File

@ -48,6 +48,9 @@ public class Lanceur extends SubsystemBase {
public void tourelRotation(double x, double y, double rotation){
tourelle.set(rotation);
}
public double vitessetourel(){
return(tourelle.getEncoder().getVelocity());
}
public double distancetourel(){
return(tourelle.getEncoder().getPosition());
}