Closed J-The-Fox closed 10 months ago
This has been done on my end, however I have not pushed to this repository as of yet. This is because I am working on fixing lint issues and will push those alongside this
Expect the next push to contain a lot of changes in regards to java docs and formatting for both Java and Python code
I will close this issue as completed since it is just waiting on a push that is completed
Overview
Switch our current controller model from using all custom controller classes at
project_root/main-bot/src/main/java/frc/controllers
to using classes underlined in theedu.wpi.first.wpilibj
package when applicable. Docs hereThe classes underlined in the
edu.wpi.first.wpilibj
package are theXboxController
class for controlling both Xbox360 and XboxOne controllers and thePS4Controller
class for controlling a PS4 controller.This would help eliminate some of the redundant code that we have for controllers. This would not remove the need for a controller folder however as only Xbox and PS4 controllers have classes. Any other controller needs it's own class using the
edu.wpi.first.wpilibj.Joystick
class