View Single Post
  #1   Spotlight this post!  
Unread 17-02-2013, 02:48
r0306 r0306 is offline
Registered User
AKA: Robert Lu
FRC #0253 (MRT)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2010
Location: California
Posts: 13
r0306 is an unknown quantity at this point
Programming Drive with a 4 Motor, 2 Wheel Setup

We've decided to move double up the power to the back wheels by moving front motors to the back and leaving the front with free-spinning low friction wheels, as shown in the picture below. However, I am unsure as how I should program the drive code as we were using the default drive constructor:

Code:
RobotDrive drive = new RobotDrive(FRONT_LEFT, REAR_LEFT, FRONT_RIGHT, REAR_RIGHT);
Now that the two front motors are relocated, should I reverse the channels so that they turn the same direction like this:

Code:
 RobotDrive drive = new RobotDrive(FRONT_RIGHT, REAR_LEFT, FRONT_RIGHT, REAR_LEFT);
__________________
Scrambled Eggs for the children
Reply With Quote