![]() |
mecanum drive and joystick
Ok our idea was to use a 4 wheel mecanum drive set up. The issue is its our first time using them so we have no idea how to program it in labview. Problem number 2 is that we want to use the logitech extreme 3d pro controller because of the fact that you can turn the stick. We wanted to use one controller to do all the driving,so forward and backward and to go right and left but to use the twist to spin (or turn the bot left and right). Again we have no idea how to do this or implement it into the code.
So if any one could help and explain it (to beginners) wile having pictures for examples it would be really appreciated:D . |
Re: mecanum drive and joystick
Quote:
|
Re: mecanum drive and joystick
I feel badly posting this, because I don't like to discourage teams from trying things. But:
Meccanum is not trivial to implement, and perhaps you might consider getting some off-season experience with it before committing to it during build season. |
Re: mecanum drive and joystick
1 Attachment(s)
This is our code but the problem is that (twist right= forward) (twist left= back) (stick forward= spin right) (stick back= spin left'ish) (stick left= right wheel error) (stick right= right wheel error).
|
Re: mecanum drive and joystick
Quote:
|
Re: mecanum drive and joystick
Check your motor controllers to make sure they are plugged into the correct spots on the Digital Sidecar. If that doesn't help, remember that 2 of the motors must be inverted in Begin.vi for it to work correctly (I generally invert both left motors. If they all function correctly, but the joystick is backwards, then invert the other two instead.) Hover over the Open 4 Motors.vi and you will see 4 green dots (2 on top and 2 on bottom) that reference the inversions.
|
Re: mecanum drive and joystick
1 Attachment(s)
Ok ill try that out thank you, also this is my begin if you think there can be any changes.
|
Re: mecanum drive and joystick
Quote:
|
Re: mecanum drive and joystick
Quote:
If you are going the code route, two of them should be inverted. Just make sure they are both from the same side (either right or left), not front and back inverted from each other. |
Re: mecanum drive and joystick
Another thing to check on is the mapping of your joystick axes.
They may not match what LabVIEW is calling axis 1,2, & 3 and it's easy to verify with Joystick Explorer or your own front panel. |
Re: mecanum drive and joystick
Quote:
|
Re: mecanum drive and joystick
Diagonal movement is a combination of left/right and forward/back motion. Try pushing your joystick to the upper left or right corner. It should move diagonally in that direction.
|
Re: mecanum drive and joystick
lol yah we found that out. Thank you for all the help and thank you for dealing with my stupid questions.
|
Re: mecanum drive and joystick
Quote:
|
| All times are GMT -5. The time now is 09:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi