![]() |
Re: help with mecanum drive code
Quote:
If jX is zero, your forward command to the wheels is limited to +/-0.5. If jY is zero, your strafe command to the wheels is limited to +/-0.5 Only when |jX|=|jY|=1 will you ever be commanding full power. Quote:
|
Re: help with mecanum drive code
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? |
Re: help with mecanum drive code
Quote:
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". |
Re: help with mecanum drive code
yes we have the x made by the mecanum wheels. i will post the results up tomorrow when i go back in, thanks.
also in the code itself we have leftFrontspeed, rightFrontspeed do we need the back wheels set-up in the class the same way? |
| All times are GMT -5. The time now is 11:30. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi