|
1 | 1 | controller indices |
2 | | - manipulator |
3 | | - buttons |
4 | | - 1 A |
5 | | - 2 B |
6 | | - 3 X |
7 | | - 4 Y |
8 | | - 5 LB |
9 | | - 6 RB |
10 | | - 7 back |
11 | | - 8 start |
12 | | - 9 N/a |
13 | | - 10 N/a |
14 | | - press mode to toggle mode light |
15 | | - axes |
16 | | - 0 left thumbstick X axis (D-pad if mode light on) |
17 | | - 1 left thumbstick Y axis (D-pad if mode light on) |
18 | | - 2 left trigger |
19 | | - 3 right trigger |
20 | | - 4 right thumbstick X axis |
21 | | - 5 right thumbstick Y axis |
22 | | - mode light off: |
23 | | - POV |
24 | | - D-pad (left joystick if mode light on) |
25 | | - rumble |
26 | | - fake news |
27 | | - left joystick |
| 2 | + left joystick [0] |
28 | 3 | buttons |
29 | 4 | 1 |
30 | | - 2 |
| 5 | + 2 toggle drive type (arcade/tank) [ShiftDriveType] |
31 | 6 | 3 |
32 | 7 | 4 |
33 | 8 | 5 |
34 | 9 | 6 |
35 | | - 7 |
36 | | - 8 |
| 10 | + 7 move with PID by inches from SmartDashboard "Move Targ" [PIDMove] |
| 11 | + 8 turn with PID by degrees from SmartDashboard "Turn Targ" [PIDTurn] |
37 | 12 | 9 |
38 | | - 10 |
| 13 | + 10 reset left and right drivetrain encoders to 0 [ResetEncoders] |
39 | 14 | 11 |
40 | 15 | axes |
41 | 16 | 0 X axis |
42 | 17 | 1 Y axis (forward is negative) |
43 | 18 | 2 Z axis (knob at base) |
44 | | - right joystick |
| 19 | + right joystick [1] |
45 | 20 | buttons |
46 | 21 | 1 |
47 | | - 2 |
48 | | - 3 |
| 22 | + 2 shift drivetrain to low gear [ShiftLowGear] |
| 23 | + 3 shift drivetrain to high gear [ShiftHighGear] |
49 | 24 | 4 |
50 | 25 | 5 |
51 | 26 | 6 |
52 | 27 | 7 |
53 | | - 8 |
54 | | - 9 |
55 | | - 10 |
56 | | - 11 |
| 28 | + 8 update the PIDController constants with SmartDashboard values [UpdatePIDConstants] |
| 29 | + 9 set the left and right encoder distance per pulse with SmartDashboard values [SetDistancePerPulse] |
| 30 | + 10 run lift motor up [RunLift] |
| 31 | + 11 run lift motor down [RunLift] |
57 | 32 | axes |
58 | 33 | 0 X axis |
59 | 34 | 1 Y axis (forward is negative) |
60 | 35 | 2 Z axis (knob at base) |
| 36 | + manipulator [3] |
| 37 | + buttons |
| 38 | + 1 A close intake [CloseIntake] |
| 39 | + 2 B open intake [OpenIntake] |
| 40 | + 3 X raise intake [RaiseIntake] |
| 41 | + 4 Y lower intake [LowerIntake] |
| 42 | + 5 LB take in [IntakeCube] |
| 43 | + 6 RB take out [OuttakeCube] |
| 44 | + 7 back |
| 45 | + 8 start |
| 46 | + 9 N/a |
| 47 | + 10 N/a |
| 48 | + press mode to toggle mode light |
| 49 | + axes |
| 50 | + 0 left thumbstick X axis (D-pad if mode light on) |
| 51 | + 1 left thumbstick Y axis (D-pad if mode light on) |
| 52 | + 2 left trigger |
| 53 | + 3 right trigger |
| 54 | + 4 right thumbstick X axis |
| 55 | + 5 right thumbstick Y axis |
| 56 | + mode light off: |
| 57 | + POV |
| 58 | + D-pad (left joystick if mode light on) |
| 59 | + rumble |
| 60 | + fake news |
0 commit comments