|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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.
|
|
#2
|
|||
|
|||
|
Re: mecanum drive and joystick
Ok ill try that out thank you, also this is my begin if you think there can be any changes.
|
|
#3
|
|||
|
|||
|
Re: mecanum drive and joystick
Quote:
|
|
#4
|
||||
|
||||
|
Re: mecanum drive and joystick
True means it is inverted. Basically, you have to do this because motors face the opposite direction on different sides of the robot. The same concept can be achieved by setting all motor inversions to False and swapping the leads of the motor around at the motor controllers on one side of the robot. (Note: Do NOT swap the power leads leading from the Power Distribution board. If you decide to go this route, only swap the leads on the motor side of the speed controller.)
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. |
|
#5
|
|||||
|
|||||
|
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. |
|
#6
|
|||
|
|||
|
Re: mecanum drive and joystick
Quote:
|
|
#7
|
||||
|
||||
|
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.
|
|
#8
|
|||
|
|||
|
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.
|
|
#9
|
||||
|
||||
|
Re: mecanum drive and joystick
No problem. That's what we are here for.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|