Quote:
Originally Posted by Levansic
Outward or inward is a bit confusing
|
He defined exactly what he meant by those terms in his earlier post:
Quote:
Originally Posted by Dawg2T4
The rotate, however, has all of the wheels going outward from each other (the two front go forward while the two back go backward) or all inward (front go backward, back go forward).
|
... but he didn't clearly specify which rotate command (clockwise or counterclockwise) was causing which wheel motion ("outward" or "inward").
Quote:
Originally Posted by Levansic
If you crank the joystick clockwise, all of the wheels should appear to turn counter-clockwise, when viewed from the outside. Take note of the ones that are going clockwise.
Go into begin.vi, and right-click on the terminal on the left side of the 4-motor drive open vi, that matches the inversion for the motors which spin clockwise. Click on the new boolean constant to turn it from false to true. Do this for all motors that are turning the wrong way.
|
If he does what you recommended above, it will fix the rotate problem, but break the forward/reverse and strafe right/left motions which are presently working correctly.
What he needs to do is swap the FrontRight and BackLeft motor commands (if the rotate clockwise command is causing the wheels to turn "outward") or swap the FrontLeft and BackRight motor commands (if the rotate clockwise command is causing the wheels to turn "inward").
Quote:
|
All of this assumes that your motors are called in the correct position.
|
They are not. That's the problem.