|
4 | 4 |
|
5 | 5 | package frc.robot;
|
6 | 6 |
|
| 7 | +import static com.team2363.utilities.ControllerMap.*; |
| 8 | + |
7 | 9 | import static com.team2363.utilities.ControllerMap.RMZ_A_IN;
|
8 | 10 | import static com.team2363.utilities.ControllerMap.RMZ_D_IN;
|
9 | 11 | import static com.team2363.utilities.ControllerMap.RMZ_G_IN;
|
10 | 12 | import static com.team2363.utilities.ControllerMap.RMZ_H_IN;
|
| 13 | +import static com.team2363.utilities.ControllerMap.RMZ_F_UP; |
11 | 14 | import static com.team2363.utilities.ControllerMap.RM_SB_BACK;
|
12 | 15 | import static com.team2363.utilities.ControllerMap.RM_SB_FRONT;
|
13 | 16 | import static com.team2363.utilities.ControllerMap.RM_SC_BACK;
|
|
50 | 53 | import frc.robot.climber.commands.DeployClimber;
|
51 | 54 | import frc.robot.climber.commands.RetractClimber;
|
52 | 55 | import frc.robot.drive.Drivetrain;
|
| 56 | +import frc.robot.drive.commands.AbsoluteOrientation; |
53 | 57 | import frc.robot.drive.commands.JoystickDrive;
|
| 58 | +import frc.robot.drive.commands.RelativeOrientation; |
54 | 59 | import frc.robot.drive.commands.ResetEncoders;
|
55 | 60 | import frc.robot.drive.commands.TurnToAngle;
|
56 | 61 | import frc.robot.drive.commands.ZeroHeading;
|
@@ -226,7 +231,8 @@ public void configureButtonBindings() {
|
226 | 231 | new JoystickButton(driver, RMZ_G_IN).whenReleased(new ZeroHeading(mDrive));
|
227 | 232 |
|
228 | 233 |
|
229 |
| - // new JoystickButton(driver, RMZ_E_UP).whenHeld(new AbsoluteOrientation(mDrive, joysticks)); |
| 234 | + new JoystickButton(driver, RMZ_F_UP).whenHeld(new AbsoluteOrientation(mDrive, joysticks)); |
| 235 | +// new JoystickButton(driver, RMZ_F_DOWN).whenHeld(new RelativeOrientation(mDrive, joysticks)); |
230 | 236 |
|
231 | 237 | // new JoystickButton(driver, RMZ_F_UP).whenHeld(new DeployIntake(mIntake));
|
232 | 238 |
|
|
0 commit comments