betabot-2024/src/main/java/frc/robot/RobotContainer.java

31 lines
1.1 KiB
Java
Raw Normal View History

2023-10-03 19:22:33 -04:00
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot;
2023-10-31 18:52:23 -04:00
import edu.wpi.first.wpilibj.Joystick;
2023-10-25 20:02:03 -04:00
import edu.wpi.first.wpilibj.XboxController;
2023-10-03 19:22:33 -04:00
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.Commands;
2023-10-25 20:02:03 -04:00
import edu.wpi.first.wpilibj2.command.RunCommand;
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
import frc.robot.subsystems.Drive;
2023-10-03 19:22:33 -04:00
public class RobotContainer {
2023-10-25 20:02:03 -04:00
CommandXboxController manette1 = new CommandXboxController(0);
CommandXboxController manette2 = new CommandXboxController(0);
Drive drive = new Drive();
2023-10-03 19:22:33 -04:00
public RobotContainer() {
configureBindings();
2023-10-31 18:51:46 -04:00
// drive.setDefaultCommand(new RunCommand(()->{
// drive.drive(manette1.getLeftX(), manette1.getLeftY(), manette1.getRightX());
//},drive));
2023-10-03 19:22:33 -04:00
}
2023-10-25 19:01:18 -04:00
2023-10-03 19:22:33 -04:00
private void configureBindings() {}
public Command getAutonomousCommand() {
return Commands.print("No autonomous command configured");
}
}