Thread: Code Failing
View Single Post
  #4   Spotlight this post!  
Unread 19-01-2012, 14:34
abrightwell abrightwell is offline
Lead Software Engineer
FRC #0342 (Burning Magnetos)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Charleston, SC
Posts: 20
abrightwell is an unknown quantity at this point
Re: Code Failing

Also, another item I thought I'd mention. You might want to consider inverting your right side motors so that you don't have to multiply the output of the throttle by -1.

You can invert through the RobotDrive object.

Code:
robotDrive.setInvertedMotor(RobotDrive.MotorType.kFrontRight, true);
robotDrive.setInvertedMotor(RobotDrive.MotorType.kRearRight, true);
Just a recommendation, it isn't necessary but it is very convenient.
Reply With Quote