Compare commits
5 Commits
grimpe
...
6fb4e0c1ac
Author | SHA1 | Date | |
---|---|---|---|
6fb4e0c1ac | |||
9af46de189 | |||
688315bcd0 | |||
bd180e9153 | |||
bff426ef0f |
@ -6,15 +6,29 @@ package frc.robot;
|
|||||||
|
|
||||||
import edu.wpi.first.wpilibj2.command.Command;
|
import edu.wpi.first.wpilibj2.command.Command;
|
||||||
import edu.wpi.first.wpilibj2.command.Commands;
|
import edu.wpi.first.wpilibj2.command.Commands;
|
||||||
|
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
|
||||||
|
|
||||||
|
|
||||||
public class RobotContainer {
|
public class RobotContainer {
|
||||||
public RobotContainer() {
|
|
||||||
configureBindings();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void configureBindings() {}
|
private final CommandXboxController manette1 = new CommandXboxController(0);
|
||||||
|
private final CommandXboxController manette2 = new CommandXboxController(0);
|
||||||
|
|
||||||
public Command getAutonomousCommand() {
|
public RobotContainer() {
|
||||||
return Commands.print("No autonomous command configured");
|
|
||||||
}
|
configureBindings();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void configureBindings() {
|
||||||
|
// Note that X is defined as forward according to WPILib convention,
|
||||||
|
// and Y is defined as to the left according to WPILib convention.
|
||||||
|
|
||||||
|
// Run SysId routines when holding back/start and X/Y.
|
||||||
|
// Note that each routine should be run exactly once in a single log.
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public Command getAutonomousCommand() {
|
||||||
|
return Commands.print("");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user