talon a wpi_talonsrx
This commit is contained in:
		| @@ -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() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user