no more joystick warning

This commit is contained in:
Abhishrek05
2024-02-17 11:06:50 -07:00
parent cb35732f2b
commit 5482cd7fb9
2 changed files with 6 additions and 5 deletions
@@ -7,6 +7,7 @@
package frc4388.robot;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.GenericHID;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.ConditionalCommand;
@@ -115,6 +116,8 @@ public class RobotContainer {
public RobotContainer() {
configureButtonBindings();
DriverStation.silenceJoystickConnectionWarning(true);
/* Default Commands */
// drives the robot with a two-axis input from the driver controller
m_robotSwerveDrive.setDefaultCommand(new RunCommand(() -> {