Merge branch 'main' of https://git.demerso.net/pls5618/2024/robot
This commit is contained in:
		| @@ -28,7 +28,7 @@ public class Accumulateur extends SubsystemBase { | ||||
|      | ||||
|    | ||||
|   public boolean limitswitch(){ | ||||
|     return !photocellacc.get(); | ||||
|     return photocellacc.get(); | ||||
|   } | ||||
|   public Accumulateur() { | ||||
|      | ||||
|   | ||||
| @@ -24,12 +24,12 @@ public class Limelight extends SubsystemBase { | ||||
|      /** Creates a new Limelight. */ | ||||
|   public Limelight() { | ||||
|     for (int port = 5800; port <= 5807; port++) { | ||||
|     PortForwarder.add(port, "limelight.local", port); | ||||
|     } | ||||
|       PortForwarder.add(port, "limelight.local", port); | ||||
|   } | ||||
|   } | ||||
|    | ||||
|   public  double getx(){ | ||||
|     return tx.getDouble(0); | ||||
|     return tx.getDouble(0);  | ||||
|   } | ||||
|   public double gety(){ | ||||
|     return ty.getDouble(0); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user