Skip to content

Alternative joystick for SHARP FRC Simulator which supports Xbox One controllers.

Notifications You must be signed in to change notification settings

SarahHeinzHouseFRC/frcsim2020-xbox-one-joystick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Controller

This project is designed to connect an Xbox 360 or Xbox One controller to the FRC sim. Upon connecting a controller over USB and launching this application, the user can send commands from the joystick to the sim core via UDP as JSON, which will be conveyed to the sim. The core will send back a simple heartbeat signal to let the joystick know it's connected.

This project uses Python 3 and is built on top of the xbox360controller pip library. This library was chosen over xboxdrv because:

  • It does not require sudo privileges
  • It contains access to more buttons, such as the buttons under the left and right joysticks
  • It allows feedback in the form of rumble and control of the LED status lights

Installation

sudo apt install python3-pip
pip3 install -U xbox360controller

About

Alternative joystick for SHARP FRC Simulator which supports Xbox One controllers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages