View Single Post
  #3   Spotlight this post!  
Unread 16-02-2013, 22:13
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Re: Help with Mecanum Code

Quote:
Originally Posted by normaldude8825 View Post
SpeedController frontLeftMotor =new Jaguar(1),
rearLeftMotor = new Jaguar (2),
frontRightMotor = new Jaguar (3),
rearRightMotor = new Jaguar (4);
Also, you don't need these SpeedController lines at all, just call the RobotDrive constructor class like this:
RobotDrive drive = new RobotDrive(1,2,3,4);
__________________
Wendy
Team 3502
Reply With Quote