Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into main
  • Loading branch information
MarkGhebrial committed Nov 4, 2021
2 parents 362b565 + a91d7c7 commit d127206
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
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!*

0 comments on commit d127206

Please sign in to comment.