Connect a joystick to your FRC Robot via NetworkTables.
- Clone the repository
- Set your robot's team number in NetworkTableSwerveAdapter.java
- run
mvn packageto build the Jar file - run
mvn exec:execto start the program
This program creates a Network Table called JoystickControls.
Values will only be updated when the controller you are using sends an event.
The format for how each entry is named is (ControllerID)(EventID).
For instance, the X axis on the first controller would be 0x.
Likewise, the Z Rotation axis on the second controller would be 1rz.