id
This commit is contained in:
parent
6437b9f152
commit
a54ebb16e9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user