|
Tank Drive is backwards
Ok, I have a strange issue that makes me think that my joysticks Y axies are 'inverted'. Here's the deal, I'm driving with code like this:
m_robotDrive->TankDrive(LeftJoystick, RightJoystick);
I know that my left and right joysticks are defined correctly because the buttons of each control the desired actions. However, the drive train output isn't correct.
When I press forward on the left joystick, the left hand jaguar leds turn RED and the left motors run backwards. Similarly, when I move the right joystick forward, the right side motors run backwards and the leds are again RED. Moving the joysticks backward, cause the respective motors to run forward and the jaguar LEDs turn GREEN.
Now, obviously I could rewire the motors to get the robot to travel in the correct direction. But shouldn't the LEDs be GREEN for FORWARD and RED for REVERSE?
|