talon a wpi_talonsrx

This commit is contained in:
Olivier Dubois 2023-10-24 18:13:53 -04:00
parent dfbedc1b46
commit 959cda75ec

View File

@ -5,13 +5,16 @@
package frc.robot.subsystems;
import com.ctre.phoenix.motorcontrol.can.TalonSRX;
import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.motorcontrol.Talon;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import frc.robot.Constants;
public class Accumulateur extends SubsystemBase {
private Talon moteuracc = new Talon(Constants.accumulateur);
private WPI_TalonSRX moteuracc = new WPI_TalonSRX(Constants.accumulateur);
/** Creates a new Accumulateur. */
public Accumulateur() {