Quote:
Originally Posted by DFZXA
Right now it's set up so one joystick does it all (I just did it for fun and ease of carrying things around) Rotation of the joystick rotates the bot (working fine) Forward/reverse on joystick=forward/reverse on bot lastly left and right is strafing.
|
So the picture you put in your first post doesn't actually match the code you're running right now?
When I read your description of what was happening, the first thing I thought was that the robot was trying to rotate a little whenever you told it to strafe. Since the picture showed the rotate input coming from a separate joystick, that didn't make sense. Now that you say otherwise, it seems a likely possibility. When you're pushing the joystick to the side, it's easy to twist it a little without realizing it.