f
This commit is contained in:
parent
0d73ed1193
commit
3833e98952
@ -3,7 +3,7 @@
|
|||||||
"front": -12.375,
|
"front": -12.375,
|
||||||
"left": 12.375
|
"left": 12.375
|
||||||
},
|
},
|
||||||
"absoluteEncoderOffset": 299.443,
|
"absoluteEncoderOffset": 0.416259765625,
|
||||||
"drive": {
|
"drive": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 8,
|
"id": 8,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"front": -12.375,
|
"front": -12.375,
|
||||||
"left": -12.375
|
"left": -12.375
|
||||||
},
|
},
|
||||||
"absoluteEncoderOffset": 95.537,
|
"absoluteEncoderOffset": -0.023193359375,
|
||||||
"drive": {
|
"drive": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 11,
|
"id": 11,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"front": 12.375,
|
"front": 12.375,
|
||||||
"left": 12.375
|
"left": 12.375
|
||||||
},
|
},
|
||||||
"absoluteEncoderOffset": 348.223 ,
|
"absoluteEncoderOffset": 0.2744140625,
|
||||||
"drive": {
|
"drive": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 2,
|
"id": 2,
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"front": 12.375,
|
"front": 12.375,
|
||||||
"left": -12.375
|
"left": -12.375
|
||||||
},
|
},
|
||||||
"absoluteEncoderOffset": 200.215,
|
"absoluteEncoderOffset": -0.297119140625,
|
||||||
"drive": {
|
"drive": {
|
||||||
"type": "sparkmax",
|
"type": "sparkmax",
|
||||||
"id": 18,
|
"id": 18,
|
||||||
|
@ -31,10 +31,10 @@ public class Guideur extends SubsystemBase {
|
|||||||
guideur.set(vitesse);
|
guideur.set(vitesse);
|
||||||
}
|
}
|
||||||
public boolean haut(){
|
public boolean haut(){
|
||||||
return guideurhaut.get();
|
return !guideurhaut.get();
|
||||||
}
|
}
|
||||||
public boolean bas(){
|
public boolean bas(){
|
||||||
return guideurbas.get();
|
return !guideurbas.get();
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public void periodic() {
|
public void periodic() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user