From a05de612330e6e347264c7a963bd70a324bfe2f4 Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Tue, 23 Jan 2024 18:30:33 -0500 Subject: [PATCH] moteuracc Follow --- src/main/java/frc/robot/subsystem/Accumulateur.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystem/Accumulateur.java b/src/main/java/frc/robot/subsystem/Accumulateur.java index 71e9274..6b6918c 100644 --- a/src/main/java/frc/robot/subsystem/Accumulateur.java +++ b/src/main/java/frc/robot/subsystem/Accumulateur.java @@ -17,7 +17,7 @@ public class Accumulateur extends SubsystemBase { final WPI_TalonSRX Moteuracc = new WPI_TalonSRX(Constants.Moteuracc); final DigitalInput limitacc = new DigitalInput(0); public void Deaccumuler(double vitesse){Moteuracc2.set(vitesse);} - + public void moteuraccfollow(){Moteuracc.follow(Moteuracc2); Moteuracc.setInverted(true);} @Override public void periodic() {