-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Team3309/FRC2021-Offseason …
…into main
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Code for our 2021 offseason robot! | ||
|
||
# Button bindings | ||
The driver uses two large joysticks and the operator uses an xbox controller. | ||
|
||
**Left joystick (port 0)**: | ||
- Up/down: drivetrain throttle | ||
|
||
**Right joystick (port 1)**: | ||
- Left/right: drivetrain rotation | ||
|
||
**Xbox controller (port 2)**: | ||
- Left bumper: deploy climber | ||
- Left trigger (only after climber has been deployed): activate climber winch | ||
- Up d-pad: TBD | ||
- Down d-pad: Automatically aim | ||
- Left d-pad: TBD | ||
- Right d-pad: TBD | ||
- A: intake | ||
- B (when flywheels are running): shoot powercells | ||
- X: outtake | ||
- Y: reverse serializer roller | ||
|
||
# Startup | ||
When powering on the robot, ensure that the arm is level with the floor and the robot is facing in the same direction it will be when autonomous mode starts. | ||
|
||
*IMPORTANT: if the gyroscope is not zeroed correctly, the robot will move out-of-control and destroy itself in autonomous!* |