This commit is contained in:
parent
39b4ec218b
commit
99584ce12f
@ -14,8 +14,17 @@ public class Guideur extends SubsystemBase {
|
||||
/** Creates a new Guideur. */
|
||||
public Guideur() {}
|
||||
final WPI_TalonSRX guideur = new WPI_TalonSRX(Constants.guideur);
|
||||
private DigitalInput guideurhaut = new DigitalInput(Constants.guideurhaut);
|
||||
private DigitalInput guideurbas = new DigitalInput(Constants.guideurhaut);
|
||||
final DigitalInput guideurhaut = new DigitalInput(Constants.guideurhaut);
|
||||
final DigitalInput guideurbas = new DigitalInput(Constants.guideurhaut);
|
||||
public void guider(double vitesse){
|
||||
guideur.set(vitesse);
|
||||
}
|
||||
public boolean haut(){
|
||||
return guideurhaut.get();
|
||||
}
|
||||
public boolean bas(){
|
||||
return guideurbas.get();
|
||||
}
|
||||
@Override
|
||||
public void periodic() {
|
||||
// This method will be called once per scheduler run
|
||||
|
Loading…
x
Reference in New Issue
Block a user