|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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. Last edited by nickbrickmaster : 31-03-2016 at 15:46. Reason: More info |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||||
|
|||||
|
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). |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
||||
|
||||
|
Re: HELP; moving omni robot to move sideways
Quote:
|
|
#8
|
||||
|
||||
|
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. |
|
#9
|
||||
|
||||
|
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. |
|
#10
|
||||
|
||||
|
Re: HELP; moving omni robot to move sideways
Quote:
Code:
/....\ |....| |....| \..../ Quote:
Quote:
|
|
#11
|
|||
|
|||
|
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? |
|
#12
|
|||
|
|||
|
Re: HELP; moving omni robot to move sideways
Mounting three in a triangular shape at 45 degrees to each other could also allow it to move sideways I think, but that could make it unstable depending on your design. I think rectangle should be fine as long as the distances are equal(front to back on both sides and front(or rear) left to front(or rear) right.
|
|
#13
|
|||||
|
|||||
|
Re: HELP; moving omni robot to move sideways
Rectangle will be fine. As you deviate from a square, the robot will not turn as quickly for the same motor speed, but lower turning speed is not usually a problem for a holonomic drive system.
|
|
#14
|
|||
|
|||
|
Re: HELP; moving omni robot to move sideways
But basically the robot will be able to go sideways whether the frame was square or rectangular, right?
|
|
#15
|
|||||
|
|||||
|
Re: HELP; moving omni robot to move sideways
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.) Last edited by GeeTwo : 31-03-2016 at 18:01. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|