mode auto
This commit is contained in:
		@@ -98,7 +98,9 @@ public class RobotContainer {
 | 
				
			|||||||
      grimpeur.droit(manette.getLeftX());}
 | 
					      grimpeur.droit(manette.getLeftX());}
 | 
				
			||||||
      ,grimpeur));
 | 
					      ,grimpeur));
 | 
				
			||||||
      LED.setDefaultCommand(allumeLED);
 | 
					      LED.setDefaultCommand(allumeLED);
 | 
				
			||||||
      SmartDashboard.putData("autochooser",autoChooser);
 | 
					      dashboard.add("autochooser",autoChooser)
 | 
				
			||||||
 | 
					      .withSize(2,1)
 | 
				
			||||||
 | 
					      .withPosition(1,1);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  private void configureBindings() {
 | 
					  private void configureBindings() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,7 +29,7 @@ public class Grimpeur extends SubsystemBase {
 | 
				
			|||||||
  ShuffleboardLayout layout = Shuffleboard.getTab("dashboard")
 | 
					  ShuffleboardLayout layout = Shuffleboard.getTab("dashboard")
 | 
				
			||||||
  .getLayout("grimpeur", BuiltInLayouts.kList)
 | 
					  .getLayout("grimpeur", BuiltInLayouts.kList)
 | 
				
			||||||
  .withSize(2,4)
 | 
					  .withSize(2,4)
 | 
				
			||||||
  .withPosition(1,1);
 | 
					  .withPosition(2,1);
 | 
				
			||||||
  final CANSparkMax grimpeurd = new CANSparkMax(Constants.grimpeurd,MotorType.kBrushless);
 | 
					  final CANSparkMax grimpeurd = new CANSparkMax(Constants.grimpeurd,MotorType.kBrushless);
 | 
				
			||||||
  final CANSparkMax grimpeurg = new CANSparkMax(Constants.grimpeurg,MotorType.kBrushless); 
 | 
					  final CANSparkMax grimpeurg = new CANSparkMax(Constants.grimpeurg,MotorType.kBrushless); 
 | 
				
			||||||
  // limit switch
 | 
					  // limit switch
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user