Hello, I'm a first year FRC programmer and was curious on how to use the Xbox 360 controller as both joysticks for the
Code:
myDrive.mecanumDrive_Polar(moveStick.getY(),moveStick.getX() , rotateStick.getTwist());
I don't know how to designate the certain sticks of the controller to either moveStick or Rotate stick and also am confused on how to assign them in the declaration
Code:
myDrive = new RobotDrive(0,1,2,3);
moveStick = new Joystick(1);
rotateStick = new Joystick(2);
Any help appreciated; Ive already looked over the other chief delphi post over this subject but am still lost. Thanks!!