File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,7 @@ private void configureButtonBindings() {
315
315
PIVOT_TO_SPEAKER .whileTrue (pivot .PIDCommandForever (PivotArmConstants .PIVOT_SUBWOOFER_ANGLE ));
316
316
PIVOT_PODIUM .whileTrue (pivot .PIDCommandForever (PivotArmConstants .PIVOT_PODIUM_ANGLE ));
317
317
PIVOT_ANYWHERE .whileTrue (pivot .PIDCommandForever (this ::getAngle ));
318
+ PIVOT_HOLD .whileTrue (pivot .PIDHoldCommand ());
318
319
319
320
// Intake Commands
320
321
INTAKE_IN .whileTrue (indexer .manualCommand (IndexerConstants .INDEXER_IN_VOLTAGE ));
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ public class DriveControls {
45
45
public static Trigger PIVOT_TO_SPEAKER ;
46
46
public static Trigger PIVOT_PODIUM ;
47
47
public static Trigger PIVOT_ANYWHERE ;
48
+ public static Trigger PIVOT_HOLD ;
48
49
49
50
// Intake Controls
50
51
public static Trigger INTAKE_IN ;
@@ -123,6 +124,7 @@ public static void configureControls() {
123
124
PIVOT_TO_SPEAKER = operator .getX ();
124
125
PIVOT_PODIUM = EMPTY_TRIGGER ;
125
126
PIVOT_ANYWHERE = operator .getY (); // uses vision
127
+ PIVOT_HOLD = operator .rightTrigger ();
126
128
127
129
// intaking things
128
130
INTAKE_ROTATE = () -> operator .getLeftYD ();
You can’t perform that action at this time.
0 commit comments