View Single Post
  #4   Spotlight this post!  
Unread 12-02-2015, 13:43
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 243
BitTwiddler is on a distinguished road
Re: Drive Train Curves Only While Backing Up

Quote:
Originally Posted by Ozuru View Post
The lights are a solid green when backing up. This is due to the fact that our motors are sort of hooked up backwards -- from the way it was explained to me we would have to swap the negative and the positive wires to fix it in hardware (which is supposedly a big no-no) so I've been compensating for it in programming. Is this what most teams do?
I don't believe there is anything wrong with reversing the motor wiring to compensate for the left/right motor reversal problem. However we wire all of our motors the same way but in LabView we can open the motors with a parameter that tells the RoboRIO to reverse the meaning of the input values to the motors.

I suspect the call to the tank drive method or the open constructor would include similar parameters to invert the motor outputs.

Last edited by BitTwiddler : 12-02-2015 at 13:49.