Motor Label | Motor Location | CAN ID |
---|---|---|
Motor #1 | Left Drive | 1 |
Motor #2 | Left Drive | 2 |
Motor #3 | Right Drive | 3 |
Motor #4 | Right Drive | 4 |
Motor #5 | Intake | 5 |
Motor #6 | Shooter | 6 |
Motor #7 | Queue Loading | 7 |
Motor #8 | Queue Shooter | 8 |
Left Axis: Controls left motors /n
Right Axis: Controls right motors /n
Left Stick: Push out balls from intake /n
Right Stick: Pull in balls into intake /n
A: Start shoot queue /n
B: Stop shoot queue /n
X: Start shooting /n
Y: Stop shooting /n
Setup: https://docs.wpilib.org/en/stable/docs/zero-to-robot/step-2/offline-installation-preparations.html
WPILib Java Examples: https://docs.wpilib.org/en/stable/docs/software/examples-tutorials/wpilib-examples.html
- Define a subsystem class
- Define components of the subsystem in the subsystem class - motors, motor groups, sensors
- Define functions - at a basic level what can this subsystem do - shoot, drive, etc.
- Publish telementry through NetworkTables
- Define command classes
- There can be more than one - collect balls, eject balls
- Pass subsystem to the constructor
- Wire up subsystems, commands and buttons in RobotContainer
- Instance of subsystem
- Wireup code
git clone https://github.com/FRCTeam1719/2022Robot_3
commeand to get brand new repository
git pull
pull down any updates from github
git add .
add all files that were added or modified to the local repo
git commit -m "<message goes here>"
stage files to commit
git push
push your commits to github
Harrison
Andrew Makarevich @andrewm24 (Space Programmer)
Owen