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

  1. Left Joystick Axis - 2 Joysticks for Tank Drive
  2. Left Trigger - 1 Button to Align w/ Tape using Camera
  3. Right Joystick Axis - 2 Joysticks for Tank Drive
  4. Right Trigger - 1 Button to Open Claw, Align w/ Tape Using Camera, & Close Claw to Capture Hatch
  5. Right Trigger B Button - 180 PID Turn
  6. 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

  1. Y-Button - Raise Elevator to Appropriate Height (L3)
  2. X-Button - Raise Elevator to Appropriate Height (L2)
  3. A-Button - Raise Elevator to Appropriate Height (L1)
  4. B-Button - Collapse Elevator
  5. Left Trigger - N/A
  6. Left Bumper - Push the Hatch forward, Close the Claw, & Pull the Claw Back
  7. Right Trigger - Spit Out Rollers
  8. Right Bumper - 1 Button to Open Claw and Push Ball Out
  9. Left Axis Stick - N/A
  10. Right Axis Stick - Manual Control of Elevator
  11. Left on D-Pad - N/A
  12. Right on D-Pad - N/A
  13. Down on D-Pad - Lower the Intake & Spin the Rollers In & Stop
  14. Up on D-Pad - Raise the Intake, Spin the Rollers and Stop the Rollers
  15. Back Button - Activate Manual Control
  16. Start Button - N/A

List of Commands We Need

  1. 1 Button to Lower the Intake & Spin the Rollers In & Stop *
  2. 1 Button to Spit Out Rollers *
  3. 1 Button to Raise the Intake, Spin the Rollers and Stop the Rollers *
  4. 2 Joysticks for Tank Drive *
  5. 1 Button to Open Claw, Align w/ Tape Using Camera, & Close Claw to Capture Hatch *
  6. 1 Button to Align w/ Tape using Camera *
  7. 1 Button to Raise Elevator to Level 1 & Align w/ Tape Using Camera N/A
  8. 3 Buttons to Raise Elevator to Appropriate Height (L1, L2, & L3) *
  9. 1 Button to Open Claw and Push Ball Out *
  10. 1 Button to Collapse Elevator *
  11. 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. 1 Button to Lower the Intake & Spin the Rollers In
  2. 1 Button to Raise the Intake, Spin the Rollers and Stop the Rollers

Driving

  1. Tank Drive

Picking Up Hatch Manual:

  1. 1 Button to Open Claw, Align w/ Tape Using Camera, & Close Claw to Capture Hatch

Store & Score Cargo:

  1. 1 Button to Raise Elevator to Level 1 & Align w/ Tape Using Camera
  2. 3 Buttons to Raise Elevator to Appropriate Height (L1, L2, & L3)
  3. 1 Button to Open Claw and Push Ball Out
  4. 1 Button to Collapse Elevator

Store the Hatch Manual:

  1. 1 Button to Raise Elevator to Level 1 & Align w/ Tape Using Camera
  2. 3 Buttons to Raise Elevator to Appropriate Height (L1, L2, & L3)
  3. 1 Button to Push the Hatch forward, Close the Claw, & Pull the Claw Back
  4. 1 Button to Collapse Elevator