piston
This commit is contained in:
		@@ -77,13 +77,17 @@ public AHRS gyroscope = new AHRS();
 | 
			
		||||
  public double getpitch(){
 | 
			
		||||
    return gyroscope.getPitch();
 | 
			
		||||
  }
 | 
			
		||||
  public boolean pistondroiteouvre(){
 | 
			
		||||
    return pistondroite.get();
 | 
			
		||||
  public void pistonferme(){
 | 
			
		||||
     pistondroite.set(true);
 | 
			
		||||
     pistondgauche.set(true);
 | 
			
		||||
  }
 | 
			
		||||
  public boolean pistondgaucheouvre(){
 | 
			
		||||
  public void pistonouvre(){
 | 
			
		||||
    pistondgauche.set(false);
 | 
			
		||||
    pistondroite.set(false);
 | 
			
		||||
  }
 | 
			
		||||
  public boolean piston(){
 | 
			
		||||
    return pistondgauche.get();
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  @Override
 | 
			
		||||
  public void periodic() {
 | 
			
		||||
    // This method will be called once per scheduler run
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user