View Single Post
  #3   Spotlight this post!  
Unread 28-01-2010, 16:32
Darkknight512 Darkknight512 is offline
Programmer/Electronics
FRC #3375 (North Stars)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Canada
Posts: 26
Darkknight512 is on a distinguished road
Re: Inverted Turning

Quote:
Originally Posted by Alan Anderson View Post
The reason one speed controller goes green and the other goes red is that the motors need to turn in opposite directions for the wheels to go in the same direction. That's not a problem.

Can you make absolutely certain that the PWM cables are going to the speed controllers they ought to? (If you accidentally swap the cables between PWM1 and PWM2, the robot will behave as you observe.)
I did swap them to test, and instead of inverting the turning it inverted forward and backward. I tried this in both software and hardware (rebooting the cRIO in between to be sure the code changed, also verified that by changing something in autonomous to confirm the code made it. ).

I'll give it another try tmrw, I just got home, internet at school was a bit funky.

Last edited by Darkknight512 : 28-01-2010 at 16:38.
Reply With Quote