View Single Post
  #6   Spotlight this post!  
Unread 01-28-2016, 09:46 AM
CjDace CjDace is offline
Registered User
FRC #4284
 
Join Date: Jan 2016
Location: Cincinnati, Ohio
Posts: 10
CjDace is an unknown quantity at this point
Re: Xbox Controller with mecanum drive

honestly at this point no. I just want the drive to work correctly, Do we have the gyro assigned correctly?
Code:
  RobotDrive myDrive, catcherDrive;
	    	Joystick moveStick;
	    	Gyro gyro; 
myDrive.mecanumDrive_Cartesian(moveStick.getRawAxis(1), moveStick.getRawAxis(1), moveStick.getRawAxis(1), gyro.getAngle());
Reply With Quote