View Single Post
  #2   Spotlight this post!  
Unread 16-02-2015, 15:27
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Python: Robot's turning is opposite?

If front/back are correct but turns are reversed, it is likely that you have two separate problems that are almost but not quite cancelling each other out. First, you have your left and right motors swapped. Second, you have the wrong motors inverted.

I am not familiar with how to define drive motors in Python, so I can't give you specific instructions for how to fix them in code. If you'd rather swap the wiring, you can do that instead. Just don't change both the hardware and the software.