![]() |
mecanum wheel postioning
Yesterday while talking with one of my mentors about the use of mecanum wheels on our bot this year, he mentioned concern about whether the wheels must be configured in a square. I told him that I was pretty sure that we could have them in a wide configuration as well (to aid in turning) however I wanted to double check here.
Can I place mecanum wheels like this without doing mass amounts of math and programming to compensate: |--------| |--------| Or Must they be square like this: |--------| |--------| |
Re: mecanum wheel postioning
There should be no change with regards to the programming for a long, wide, or square robot. Ether, you want to chime in here?
|
Re: mecanum wheel postioning
From my experience, the only difference it will make is the side with the longer aspect ratio will be more difficult to move directly in that direction. For example:
|------------| |------------| would be more diffcult to drive straight vs. strafe left and right, while |---| |---| would have much more difficulty strafing, and would be able to easily drive forwards and back. |
Re: mecanum wheel postioning
Quote:
|
Re: mecanum wheel postioning
That is what I had thought. One other question is do both left wheels have to be collinear with each other, or can they be spaced apart so long as they are parallel.
-|--------|- |----------| or must they be like this: |----------| |----------| |
Re: mecanum wheel postioning
Quote:
Code:
If you don't scale the rotation, it won't cause wheel scrub. It just won't correspond to the rotation you expected. |
Re: mecanum wheel postioning
Quote:
The inverse kinematic computations in WPILib and LabVIEW expect the wheels to be colinear on both sides. A small non-colinearity would likely still work, but wouldn't be ideal. |
Re: mecanum wheel postioning
1 Attachment(s)
Quote:
Code:
FWD = 4Of course, if the driver interface is simply going to be forward, strafe, and rotate commands, then it doesn't matter. The driver just adjusts the commands (after much practice!) to make the vehicle do what he wants. |
Re: mecanum wheel postioning
1 Attachment(s)
Here's another example. Suppose you want to pivot the bot clockwise around the front right wheel (see sketch) at 90 degrees per second. Trackwidth = W = 22/12 ft. Wheelbase = L = 26/12 ft. Code:
ω = π/2 rad/sec |
Re: mecanum wheel postioning
Because of stability, I would space them as far from each other as possible. We have ours outboard of the KOP chassis but we'll be raising them up a little from the stock holes as the chassis is dragging just slightly on the scoring ramps.
|
Re: mecanum wheel postioning
In case you find a source code example helpful:
Here's a link to some java drive subsystem code that's based on Ether's Inverse Kinematics equations, there are some coefficients in there for the wheel base (length and width) as well as for wheel diameter that account for the issues being discussed. This code also has optional field-oriented drive in it as well, and support for speed control via quadrature encoders ("traction control"). Team 2465 has found both of these to be helpful, and think they're useful for this year's game. This code is written to work w/black Jaguar motor controllers. There are other examples posted on ChiefDelphi that you'll find, too. |
Re: mecanum wheel postioning
Quote:
|
Re: mecanum wheel postioning
Quote:
|
Re: mecanum wheel postioning
Quote:
The previous link works for me, but it leads to a source code browse view, so you need to navigate around a bit to get to the Drive.java file above. |
| All times are GMT -5. The time now is 03:32. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi