FRCteam3952 / FRC2023

2022 - 2023 Season Robot Code
Other
11 stars 17 forks source link

Implement keyboard as controller into the code base #46

Open maxchen132 opened 1 year ago

maxchen132 commented 1 year ago

We want to be able to use the laptop keyboard to help with controlling the robot. The code should be able to take inputs from different pressed keys on the keyboard. Any implementations should be added in the controllers folder in a class named KeyboardController.java or something similar. I'm not sure if there's documentation on this out there, but if anyone finds anything or has any ideas for implementation feel free to try it.

ebay-kid commented 1 year ago

No WPILIB implementations actually exist, so if we continue with this it will be implemented into https://github.com/SeanSon2005/FRC2023RobotGui (i hope i linked that right) using python, over NT.

maxchen132 commented 1 year ago

The AutomaticObjectPlacement command is already set up to use NT, just requires implementation on the python code base linked above

maxchen132 commented 1 year ago

Moved code from AutomaticObjectPlacement into periodic() method of the ArmSubsystem (AutomaticObjectPlacement no longer exists)