|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: How to program mecanum wheels with two joysticks
Quote:
Quote:
If you want to use the gyro to prevent unwanted rotation, or to make the robot turn and align with a joystick direction command, that can be done, but it's a separate problem from the field-centric gyro support built in to the LabVIEW vi. Last edited by Ether : 25-01-2011 at 21:29. |
|
#2
|
||||
|
||||
|
Re: How to program mecanum wheels with two joysticks
I'll get the code posted tomorrow, however, I swear there doesn't seem to be as much drift while driving with the NI VI than with our homemade code. Maybe it's just me.
|
|
#3
|
||||
|
||||
|
Re: How to program mecanum wheels with two joysticks
Quote:
|
|
#4
|
||||
|
||||
|
Re: How to program mecanum wheels with two joysticks
Sorry for the vague terminology. By "drift" I mean unwanted rotation. We start driving forward but slowly rotate to the left or right while maintaining the same vector of velocity. The drive tries to change this yaw rotation, to put it in aeronautical terms, but creates a whole other set of problems (think new car driver who isn't looking far enough ahead of where they are).
|
|
#5
|
||||
|
||||
|
Re: How to program mecanum wheels with two joysticks
Quote:
The drive tries to change this yaw rotation : did you mean the driver tries to change this yaw rotation? If not, what did you mean? creates a whole other set of problems : what sort of problems? Could you give a couple of examples please? I re-read your earlier posts and you never stated whether you are using omni or mec wheels. Last edited by Ether : 25-01-2011 at 22:07. |
|
#6
|
||||
|
||||
|
Re: How to program mecanum wheels with two joysticks
a video is worth at least 2000 words...
http://www.youtube.com/watch?v=V1ifzK1Q14w We keep the same joystick position and the yaw rotation changes. It could be due to slight differences in the wheels or motor strengths. What I mean about problems is the over correction that "small" corrections can make. BTW: it's mech wheels in an "X" formation \ / \ / \ / / \ / \ / \ Last edited by wilsonmw04 : 25-01-2011 at 22:31. |
|
#7
|
||||
|
||||
|
Re: How to program mecanum wheels with two joysticks
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|