This commit is contained in:
samuel desharnais 2024-02-15 20:23:22 -05:00
parent 8962660b60
commit 11d35c9357
2 changed files with 4 additions and 4 deletions

View File

@ -33,9 +33,9 @@ public class Grimpeur extends SubsystemBase {
//fonction
public Grimpeur() {
pistonouvre();
layout.add("grimpeurencodeurd", encoderd());
layout.add("grimpeurencodeurg", encoderg());
layout.add("pitchgyrogrimpeur", getpitch());
layout.addDouble("grimpeurencodeurd", this::encoderd);
layout.addDouble("grimpeurencodeurg", this::encoderg);
layout.addDouble("pitchgyrogrimpeur", this::getpitch);
}
public void droit(double vitesse){
grimpeurd.set(vitesse);