Thread: arcade drive
View Single Post
  #5   Spotlight this post!  
Unread 13-03-2015, 17:37
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is online now
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,722
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: arcade drive

Quote:
Originally Posted by SirGibbs View Post
At first thank you very much!!!

Question 1: Yes we do.

Question 2: I am sorry, I am not sure I am already home. Do you think that it could be just wired wrong? I tried the default labview code just for fun and it worked perfectly with the arcade drive. So shouldn't it also work with the java code with the "default example"?
The way you have the ports in your RobotDrive constructor call they should be plugged in like this:
Left Front = 0
Left Rear = 1
Right Front = 2
Right Rear = 3

The constructor call has this order for the parameters:

Code:
RobotDrive(int leftFront, int leftRear, int rightFront, int rightRear)
If they are not in the right order the drivetrain will act funny.
Reply With Quote