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