![]() |
HELP; moving omni robot to move sideways
Hey guys!
I have made a robot with four omni wheels in its corners, like this: o-o o-o My question is which direction to rotate which in order for the robot to move sideways? Thanks in advance. |
Re: HELP; moving omni robot to move sideways
First question. Are you using omni wheels or mecanum wheels?
The answer will change depending. If you are using omni wheels, they should be aligned at four corners like so. If not, you will need to use mecanums or move them to that orientation. Mecanums need to be on the correct side, as there are left mecanums and right mecanums. After that, is this an FRC robot or something else? If you are, there's a nice method in WPILib called mecanumDrive_Cartesian that will resolve the motcrs from joystick axes for you. If you are not using WPILib, then you can still look at that code to find the math. |
Re: HELP; moving omni robot to move sideways
Do you have Omni Wheels:
![]() or Mecanum Wheels: ![]() If you have omni wheels you aren't gonna go sideways unless you add something to push you sideways or have them at 45 degrees to each other. If you have mecanum wheels then this is the simple version: http://www.superdroidrobots.com/prod...heel-Guide.pdf And this is the more in depth version: http://thinktank.wpi.edu/resources/3...canumDrive.pdf I'm sure there are other FRC specific resources available as well. |
Re: HELP; moving omni robot to move sideways
You could also use 5 omni wheels in a "H" configuration to achieve the movement you want.
Search CD for "kiwi drive" which is a term that describes the 4-omni wheels (seen in the previous post) positioned on 45 degree 'slants' in relationship to the front, back, and sides of your robot. Search "mecanum wheel set up" (or similar) if you're using those wheels. These wheels should form a "X" pattern when mounted. Search CD for "H Drive" for the five omni setup. - Both Kiwi and Mecanum set ups generally require some moderate to advanced programming/configuration while the "H" drive will "cost" you an extra motor and wheel, but can generally be controlled with little to no extra programming (depending on your platform/hardware choice). |
Re: HELP; moving omni robot to move sideways
Quote:
So you are saying I have to put them in a 45 degree orientation, and no other way like controlling the speed of each motor? Looks like I have made a mistake going for omni wheels. I was told that omni are very similar to Mecanum. |
Re: HELP; moving omni robot to move sideways
I have omni wheels.
So there is no way to make it move sideways and it has to be a 45 degree orientation? What if I control the speed of each motor independently? I was told omni are very similar to mecanum, and I was able to get them for a good price; that's why I went with omni wheels. |
Re: HELP; moving omni robot to move sideways
Quote:
|
Re: HELP; moving omni robot to move sideways
Quote:
//---\\ |-------| \\---// that and achieve somewhat what you're looking for (akin to a Kiwi Drive) but be aware that an all omni wheel drive gives everyone around you just as much say in where your robot is going as you do. |
If you want your project to move sideways then yes you have to have them at 45 degrees.
If you aren't able to mount at 45 then and H drive is your best bet seeing as you already have the wheels. But you will need another omni wheel, motor, (gear box recommended) and motor controller. |
Re: HELP; moving omni robot to move sideways
Quote:
Code:
/....\Quote:
Quote:
|
Re: HELP; moving omni robot to move sideways
I appreciate your help guys!
I can still salvage this situation. I will be able to mount them in 45 degree orientation; that's no problem. One more thing, does the distance between the wheels have to be square, or rectangle will be fine? |
Re: HELP; moving omni robot to move sideways
Quote:
|
Re: HELP; moving omni robot to move sideways
Quote:
|
Re: HELP; moving omni robot to move sideways
Quote:
|
Re: HELP; moving omni robot to move sideways
1 Attachment(s)
In order to drive in an arbitrary direction with omni wheels, the wheels must be independently driven (four gearboxes for four wheels) and not all pointing the same direction. The angle does not actually have to be 45 degrees; if you will be driving forward/reverse most of the time and just need the "strafe" motion for minor adjustments, you can angle them at (for example) 30 degrees.
To search for various configurations of omni wheels, I suggest:
Another variant of killough that we played with diagrams o a few years ago had four wheels at the corners of the robot, each aligned with a different side. This should drive similarly to regular killough or mecanum, but be more stable due to the larger wheelbase and not require non-square cuts. See attached image. (Again, we just brainstormed the idea; we never tried to build one.) |
Re: HELP; moving omni robot to move sideways
Quote:
|
Re: HELP; moving omni robot to move sideways
Quote:
|
Re: HELP; moving omni robot to move sideways
Quote:
|
Re: HELP; moving omni robot to move sideways
Quote:
The inverse kinematics would be entirely different. To go forward you would power only 2 wheels (with possible small corrections to the other 2 wheels to track straight). To strafe you would power only 2 wheels. Also when going true forward or true strafe, angular wheel speed times wheel radius would translate directly to forward (or strafe) vehicle speed with GeeTwo's "Killough variant". Not so with "standard" Killough with angled wheels. |
Re: HELP; moving omni robot to move sideways
Quote:
1 2 3 4 As pictured, an assuming that a positive input to each motor causes a clockwise torque to the robot chassis, and assuming a "strafe plus rotation" joystick setup, the linear inverse kinematics would be: Wheel 1: R + X Wheel 2: R - Y Wheel 3: R + Y Wheel 4: R - X Edit2: Also, it would have more usable interior space for controls and other mechanisms. |
Re: HELP; moving omni robot to move sideways
Quote:
|
Re: HELP; moving omni robot to move sideways
Quote:
Note that swerve drives are NOT holonomic by either definition - in order to drive in the three degrees of freedom of the carpet, typically 5-8 independent actuators control motion, and the wheels resist motion in the direction they do not apply force. That said, I have rarely seen kiwi used to refer to anything other than 3 omni wheels. |
| All times are GMT -5. The time now is 08:39. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi