changements
This commit is contained in:
parent
ad5a6e2a94
commit
63cb92107e
@ -13,6 +13,7 @@ import edu.wpi.first.math.MathUtil;
|
|||||||
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
|
import edu.wpi.first.wpilibj.shuffleboard.Shuffleboard;
|
||||||
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardTab;
|
import edu.wpi.first.wpilibj.shuffleboard.ShuffleboardTab;
|
||||||
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
|
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
|
||||||
|
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
|
||||||
import edu.wpi.first.wpilibj2.command.Command;
|
import edu.wpi.first.wpilibj2.command.Command;
|
||||||
import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
|
import edu.wpi.first.wpilibj2.command.ParallelCommandGroup;
|
||||||
import edu.wpi.first.wpilibj2.command.RunCommand;
|
import edu.wpi.first.wpilibj2.command.RunCommand;
|
||||||
@ -97,7 +98,7 @@ public class RobotContainer {
|
|||||||
grimpeur.droit(manette.getLeftX());}
|
grimpeur.droit(manette.getLeftX());}
|
||||||
,grimpeur));
|
,grimpeur));
|
||||||
LED.setDefaultCommand(allumeLED);
|
LED.setDefaultCommand(allumeLED);
|
||||||
|
SmartDashboard.putData("autochooser",autoChooser);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void configureBindings() {
|
private void configureBindings() {
|
||||||
@ -105,7 +106,7 @@ public class RobotContainer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Command getAutonomousCommand(){
|
public Command getAutonomousCommand(){
|
||||||
return autoChooser.getSelected()
|
return autoChooser.getSelected();
|
||||||
;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user