Skip to content

Ever wanted to send joystick commands over NetworkTables? Now you can! Useful for the rare case that your robot contains a neural network that can only make inputs with physical controls (i.e. a person).

Notifications You must be signed in to change notification settings

BlockBusterBPL/swervecontrolthing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swervecontrolthing

Connect a joystick to your FRC Robot via NetworkTables.

Instructions

  1. Clone the repository
  2. Set your robot's team number in NetworkTableSwerveAdapter.java
  3. run mvn package to build the Jar file
  4. run mvn exec:exec to start the program

Usage

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.

About

Ever wanted to send joystick commands over NetworkTables? Now you can! Useful for the rare case that your robot contains a neural network that can only make inputs with physical controls (i.e. a person).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages