Closed KyleQ1 closed 3 years ago
This will require replacing any instances of frc::Joystick with indices 0 or 1 with a single instance of frc::XboxController. You'll find them in the subsystem periodic functions.
frc::Joystick
frc::XboxController
The header for frc::XboxController is <frc/XboxController.h> and the docs are at https://first.wpi.edu/FRC/roborio/release/docs/cpp/classfrc_1_1XboxController.html.
<frc/XboxController.h>
Drivers prefer joysticks over Xbox controllers.
This will require replacing any instances of
frc::Joystick
with indices 0 or 1 with a single instance offrc::XboxController
. You'll find them in the subsystem periodic functions.The header for
frc::XboxController
is<frc/XboxController.h>
and the docs are at https://first.wpi.edu/FRC/roborio/release/docs/cpp/classfrc_1_1XboxController.html.