Quote:
Originally Posted by austin1743
well we have tried out code and it works but wants to go to the left the entire time as if it is in constant strafing mode. Also we have the joystick set-up in the code so when it goes forward to go forward but it goes backwards when we press forward.
I have tried changing the drive to being negative but this doesn't change anything. any suggestions?
|
Do you have the mec wheels mounted properly*? If so, continue:
Put the robot up on blocks.
Make an empty table on a clean sheet of paper and fill it in as you run these tests:
Give a pure forward command, and for each wheel record the direction it is spinning.
Give a pure reverse command, and for each wheel record the direction it is spinning.
Give a pure strafe_right command, and for each wheel record the direction it is spinning.
Give a pure strafe_left command, and for each wheel record the direction it is spinning.
Give a pure rotate_right command, and for each wheel record the direction it is spinning.
Give a pure rotate_left command, and for each wheel record the direction it is spinning.
Post the test results here.
* viewed from the top, rollers should form an "X" pattern, not an "O".