Controllers - Team1100/FRCDeepSpace GitHub Wiki
This section lists out the uses of each button on the controllers. These will align with the button commands defined in the use case section above and a few extra simple command buttons.
Joystick (for driving related commands) - 4 inputs available
- Left Joystick Axis - 2 Joysticks for Tank Drive
- Left Trigger - 1 Button to Align w/ Tape using Camera
- Right Joystick Axis - 2 Joysticks for Tank Drive
- Right Trigger - 1 Button to Open Claw, Align w/ Tape Using Camera, & Close Claw to Capture Hatch
- Right Trigger B Button - 180 PID Turn
- Left and Right - Button to switch left and right joysticks (Due to random unknown error that switches left and right joysticks)
XBOX (for non-driving related commands) - 16 inputs available
- Y-Button - Raise Elevator to Appropriate Height (L3)
- X-Button - Raise Elevator to Appropriate Height (L2)
- A-Button - Raise Elevator to Appropriate Height (L1)
- B-Button - Collapse Elevator
- Left Trigger - N/A
- Left Bumper - Push the Hatch forward, Close the Claw, & Pull the Claw Back
- Right Trigger - Spit Out Rollers
- Right Bumper - 1 Button to Open Claw and Push Ball Out
- Left Axis Stick - N/A
- Right Axis Stick - Manual Control of Elevator
- Left on D-Pad - N/A
- Right on D-Pad - N/A
- Down on D-Pad - Lower the Intake & Spin the Rollers In & Stop
- Up on D-Pad - Raise the Intake, Spin the Rollers and Stop the Rollers
- Back Button - Activate Manual Control
- Start Button - N/A
List of Commands We Need
- 1 Button to Lower the Intake & Spin the Rollers In & Stop *
- 1 Button to Spit Out Rollers *
- 1 Button to Raise the Intake, Spin the Rollers and Stop the Rollers *
- 2 Joysticks for Tank Drive *
- 1 Button to Open Claw, Align w/ Tape Using Camera, & Close Claw to Capture Hatch *
- 1 Button to Align w/ Tape using Camera *
- 1 Button to Raise Elevator to Level 1 & Align w/ Tape Using Camera N/A
- 3 Buttons to Raise Elevator to Appropriate Height (L1, L2, & L3) *
- 1 Button to Open Claw and Push Ball Out *
- 1 Button to Collapse Elevator *
- 1 Button to Push the Hatch forward, Close the Claw, & Pull the Claw Back *
List of What Commands go to What Method:
Picking Up Cargo Manual:
- 1 Button to Lower the Intake & Spin the Rollers In
- 1 Button to Raise the Intake, Spin the Rollers and Stop the Rollers
Driving
- Tank Drive
Picking Up Hatch Manual:
- 1 Button to Open Claw, Align w/ Tape Using Camera, & Close Claw to Capture Hatch
Store & Score Cargo:
- 1 Button to Raise Elevator to Level 1 & Align w/ Tape Using Camera
- 3 Buttons to Raise Elevator to Appropriate Height (L1, L2, & L3)
- 1 Button to Open Claw and Push Ball Out
- 1 Button to Collapse Elevator
Store the Hatch Manual:
- 1 Button to Raise Elevator to Level 1 & Align w/ Tape Using Camera
- 3 Buttons to Raise Elevator to Appropriate Height (L1, L2, & L3)
- 1 Button to Push the Hatch forward, Close the Claw, & Pull the Claw Back
- 1 Button to Collapse Elevator