This commit is contained in:
@ -76,13 +76,15 @@ public AHRS gyroscope = new AHRS();
|
||||
public double getpitch(){
|
||||
return gyroscope.getPitch();
|
||||
}
|
||||
public void pistonouvre(){
|
||||
public boolean pistonouvre(){
|
||||
pistondroite.set(Value.kForward);
|
||||
pistondgauche.set(Value.kForward);
|
||||
return pistondroite.isFwdSolenoidDisabled();
|
||||
}
|
||||
public void pistonferme(){
|
||||
pistondroite.set(Value.kReverse);
|
||||
pistondgauche.set(Value.kReverse);
|
||||
|
||||
}
|
||||
@Override
|
||||
public void periodic() {
|
||||
|
Reference in New Issue
Block a user