This commit is contained in:
samuel desharnais 2024-10-28 19:07:29 -04:00
parent 938198d4e2
commit ee263139c1

View File

@ -28,6 +28,7 @@ public class Lanceur extends SubsystemBase {
lanceur2.configSelectedFeedbackSensor(FeedbackDevice.CTRE_MagEncoder_Relative);
lanceur1.setStatusFramePeriod(StatusFrameEnhanced.Status_2_Feedback0, 1);
lanceur2.setStatusFramePeriod(StatusFrameEnhanced.Status_2_Feedback0, 1);
lanceur1.configFactoryDefault();
}
public void lance(double vitesse){
lanceur1.set(vitesse);