|
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.
|