|
Control Problems
We have our bot set up for one-joystick drive, with the two-motor transmissions hooked up to PWMs 13-16. here's the set-up:
(right side)
PWM 13 = PWM 14 = Limit_Mix(2000 + p1_y + p1_x - 127)
(left side)
PWM 15 = PWM 16 = Limit_Mix(2000 _ p1_y + p1_x + 127)
The wheels go forwards and backwards correctly, but turns like a boat (turns left when you push the joystick right; turns right when you push the joystick left).
Any idea why this isn't working??
|