id
This commit is contained in:
		| @@ -13,7 +13,7 @@ import frc.robot.subsystems.Grimpeur; | ||||
|  | ||||
| public class RobotContainer { | ||||
|   CommandXboxController manette1 = new CommandXboxController(0); | ||||
|   CommandXboxController manette2 = new CommandXboxController(0); | ||||
|   CommandXboxController manette2 = new CommandXboxController(1); | ||||
|   Grimpeur grimpeur = new Grimpeur(); | ||||
|   public RobotContainer() { | ||||
|     configureBindings(); | ||||
|   | ||||
| @@ -14,7 +14,7 @@ import edu.wpi.first.wpilibj2.command.SubsystemBase; | ||||
| public class Grimpeur extends SubsystemBase { | ||||
|   /** Creates a new Grimpeur. */ | ||||
|   public Grimpeur() {} | ||||
|   final SparkMax grimpeur = new SparkMax(8,MotorType.kBrushless); | ||||
|   final SparkMax grimpeur = new SparkMax(10,MotorType.kBrushless); | ||||
|   final DigitalInput limit1 = new DigitalInput(3); | ||||
|   public void grimpe(double vitesse){ | ||||
|     grimpeur.set(vitesse); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user