A codebase for using our prototyping board, written in Python
- 1x RoboRIO 1.0
- 4x Talon SRX Motor Controllers
- 4x PWM inputs
- For each, positive powers the motor up, negative powers the motor down
- 10 digital inputs
- 2 for each motor, one steps up 5%, the other steps down 5%
- The other two buttons sets all to 50%, and the other sets all to 0%
Clone this repository:
git clone https://github.com/FRC-Team3484/PrototypingBoardCreate a virtual environment:
python -m venv .venvActivate it:
source ./.venv/bin/activate # LinuxInstall the dependencies:
pip install -r requirements.pyAnd download the RoboRIO libraries:
robotpy syncTest your code using:
robotpy testAnd deploy it to a RoboRIO using:
robotpy deploy- Create base motor class
- Create base digital input class
- Create base PWM input class
- Connect together in
robot.py - Use
PowerMotorfromFRC3484_Libinstead