Our Teleop.vi appears to be working correctly, and our motors and PWMs are all in proper order. However, we’re getting a problem when we attempt to drive.
In Arcade Drive:
When the joystick is moved left, the robot rotates to the right.
Similarly, when the joystick is moved right, the robot rotates to the left.
Driving forward and backward presents no similar problem.
In Holonomic Drive:
When the joystick is moved forward, the robot drives backward.
When the joystick is moved backward, the robot drives forward.
Crabbing left and right presents no problems.
Our Begin and Teleop VIs are in the image attached below. We’ve been trying different motor inversions, and so far, none of them have worked.
FrontLeft | T | F | T |
FrontRight | F | T | F |
RearLeft | T | F | F |
RearRight | F | T | T |
Load the 2011 FRC LabVIEW Framework default 4-motor tank drive with 2 joysticks. Put the robot up on blocks. Operate the each joystick, one at a time, and observe and record the wheel movements. Then tell us what you observed.
It certainly sounds, in arcade mode, as if you have your wires swapped between your left and right motors. This would correct your left/right issue, and not affect your forward and back (which works fine).
Tank mode would tell you if you have them correct or swapped. I assume Ether suspects the same.