Master Branch Testing Controls - Team1100/FRCDeepSpace GitHub Wiki
Xbox R Joystick = Intake Up/Down
Xbox L Joystick = Elevator Up/Down
xbox.getButtonB().whenPressed(new ElevatorBottom());
xbox.getButtonA().whenPressed(new PIDElevatorL1());
xbox.getButtonX().whenPressed(new PIDElevatorL2());
Xbox.getButtonY().whenPressed(new PIDElevatorL3());
xbox.getButtonRightBumper().whenPressed(new RollersIn());
xbox.getButtonLeftBumper().whenPressed(new PushBallOut());
xbox.getDPad().getRight().whenPressed(new KickCargo());
xbox.getDPad().getRight().whenReleased(new RetractCargoKicker());
xbox.getDPad().getDown().whenPressed(new IntakeCargo());
leftStick.getButton(8).whenPressed(new SwitchSides());
rightStick.getButton(8).whenPressed(new SwitchSides());
leftStick.getButton(5).whenPressed(new ChangeHeading(180, .4));
rightStick.getButton(1).whenPressed(new PickupHatchHPS());
leftStick.getButton(1).whenPressed(new TranslateClawToCenter(10));
leftStick.getButton(3).whenPressed(new CenterRobot(10));