|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
||||
|
||||
|
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:
Last edited by Ether : 25-11-2011 at 00:17. |
|
#17
|
|||
|
|||
|
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? |
|
#18
|
||||
|
||||
|
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". |
|
#19
|
|||
|
|||
|
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? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|