This commit is contained in:
samuel desharnais 2024-02-12 17:55:21 -05:00
parent 108f73436b
commit 9d9784565b
3 changed files with 10 additions and 2 deletions

View File

@ -4,6 +4,11 @@
"window": {
"visible": true
}
},
"Solenoids": {
"window": {
"visible": true
}
}
},
"NTProvider": {
@ -37,6 +42,9 @@
}
}
},
"NetworkTables Info": {
"visible": true
},
"NetworkTables View": {
"visible": false
},

View File

@ -45,7 +45,7 @@ public class GrimpeurDroit extends Command {
else{
grimpeur.droit(0);
}
if(grimpeur.encoderd()>0){
if(grimpeur.encoderd()>1){
grimpeur.resetencodeurd();
grimpeur.droit(0);

View File

@ -44,7 +44,7 @@ public class GrimpeurGauche extends Command {
else{
grimpeur.gauche(0);
}
if(grimpeur.encoderd()>0){
if(grimpeur.encoderd()>1){
grimpeur.resetencodeurg();
grimpeur.gauche(0);