|
Drive motors spin wrong way
We were using a basic simple template code to deploy to an old bot for practice a while ago, but when we tried to drive the robot using our joystick the bot span in a circle when you pushed the joystick forward. However, if you pushed the joystick sideways, then the bot would drive forward. I we tired fixing this by code but couldn't find the culprit. we ended up switching a jaguar hook-up in order to fix it and that seemed to work. I was wondering how to code to switch the direction of drive motors through jaguars.
|