Go to Post Too many hours of robotics and too little sleep causes me to forget things.... - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 31-03-2016, 15:27
Parrot62 Parrot62 is offline
Registered User
no team
 
Join Date: Mar 2016
Location: UAE
Posts: 5
Parrot62 is an unknown quantity at this point
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   Spotlight this post!  
Unread 31-03-2016, 15:36
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Not Allowed Near Power Tools
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 153
nickbrickmaster is an unknown quantity at this point
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.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-

Last edited by nickbrickmaster : 31-03-2016 at 15:46. Reason: More info
  #3   Spotlight this post!  
Unread 31-03-2016, 15:42
headlight headlight is offline
Registered User
no team
 
Join Date: May 2013
Rookie Year: 2012
Location: Rochester Hills, MI
Posts: 69
headlight is an unknown quantity at this point
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   Spotlight this post!  
Unread 31-03-2016, 15:49
Rich Kressly's Avatar
Rich Kressly Rich Kressly is offline
Robot/STEM troublemaker since 2001
no team (Formerly 103 & 1712. Now run U.P. Robotics (other programs))
Team Role: Mentor
 
Join Date: Oct 2001
Rookie Year: 2001
Location: Pennsburg, PA
Posts: 2,045
Rich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond reputeRich Kressly has a reputation beyond repute
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).
__________________
technology, innovation, and invention without a social conscience will only allow us to destroy ourselves in more creative ways
  #5   Spotlight this post!  
Unread 31-03-2016, 16:03
Parrot62 Parrot62 is offline
Registered User
no team
 
Join Date: Mar 2016
Location: UAE
Posts: 5
Parrot62 is an unknown quantity at this point
Re: HELP; moving omni robot to move sideways

Quote:
Originally Posted by nickbrickmaster View Post
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.
I have omni wheels.

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   Spotlight this post!  
Unread 31-03-2016, 16:06
Parrot62 Parrot62 is offline
Registered User
no team
 
Join Date: Mar 2016
Location: UAE
Posts: 5
Parrot62 is an unknown quantity at this point
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   Spotlight this post!  
Unread 31-03-2016, 16:09
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: HELP; moving omni robot to move sideways

Quote:
Originally Posted by Parrot62 View Post
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.
If you run the wheels at different speeds, you might turn, but you won't go sideways if all the wheels are facing forward.
__________________
Head Programmer / Driver
  #8   Spotlight this post!  
Unread 31-03-2016, 16:13
CalTran's Avatar
CalTran CalTran is offline
Missouri S&T Senior
FRC #2410 (BV CAPS Metal Mustang Robotics)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Overland Park, Kansas
Posts: 2,369
CalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond reputeCalTran has a reputation beyond repute
Re: HELP; moving omni robot to move sideways

Quote:
Originally Posted by Parrot62 View Post
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.
They're similar in the fact that they're "budget alternatives to developing a swerve drive" but they function incredibly differently. You could put them something like:

//---\\
|-------|
\\---//

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.
__________________
Team 2410 thinks KISSing is amazing! Keep It Super Safe!
  • "You know you've been in robotics too long when you start talking to your tools." "Well, you've been in robotics CLEARLY too long when they start talking back"
  • Theory is when you know everything but nothing works. Practice is when everything works but you don't know why. On our team, theory and practice comes together - nothing works and nobody knows why.
MMR 2410 Student (2010 - 2013) | MMR 2410 Mentor (2013 - Present)
FTC Game Announcer / EmCee (2014 - Present) | FRC EmCee (2015 - Present) | FRC Referee (2016)
Academic Student (Forever)
  #9   Spotlight this post!  
Unread 31-03-2016, 16:13
dradel's Avatar
dradel dradel is offline
Registered User
FRC #4557 (Full Metal Falcons)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: CT
Posts: 404
dradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to beholddradel is a splendid one to behold
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   Spotlight this post!  
Unread 31-03-2016, 16:15
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,038
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: HELP; moving omni robot to move sideways

Quote:
Originally Posted by Parrot62 View Post
So there is no way to make it move sideways and it has to be a 45 degree orientation?
If you want to strafe (move sideways) the omni wheels should be mounted at 45 degrees, like this:

Code:
/....\
|....|
|....|
\..../

Quote:
What if I control the speed of each motor independently?
Nope.

Quote:
I was told omni are very similar to mecanum
They are similar . But they're not identical.


  #11   Spotlight this post!  
Unread 31-03-2016, 16:21
Parrot62 Parrot62 is offline
Registered User
no team
 
Join Date: Mar 2016
Location: UAE
Posts: 5
Parrot62 is an unknown quantity at this point
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   Spotlight this post!  
Unread 31-03-2016, 17:02
ctt956 ctt956 is offline
Too many threads, too little time
FRC #0900 (♞The Zebracorns♞)
Team Role: Student
 
Join Date: Oct 2015
Rookie Year: 2016
Location: Planet Earth
Posts: 688
ctt956 is a splendid one to beholdctt956 is a splendid one to beholdctt956 is a splendid one to beholdctt956 is a splendid one to beholdctt956 is a splendid one to beholdctt956 is a splendid one to behold
Re: HELP; moving omni robot to move sideways

Quote:
Originally Posted by Parrot62 View Post
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?
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.
__________________

"You know, it's amazing how many things you can take apart with just one ordinary screwdriver!" - Calvin, from Calvin and Hobbes
"There's nothing a little duct tape and surgical tubing can't accomplish." - Sheldon J. Plankton
  #13   Spotlight this post!  
Unread 31-03-2016, 17:17
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: HELP; moving omni robot to move sideways

Quote:
Originally Posted by Parrot62 View Post
One more thing, does the distance between the wheels have to be square, or rectangle will be fine?
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   Spotlight this post!  
Unread 31-03-2016, 17:48
Parrot62 Parrot62 is offline
Registered User
no team
 
Join Date: Mar 2016
Location: UAE
Posts: 5
Parrot62 is an unknown quantity at this point
Re: HELP; moving omni robot to move sideways

Quote:
Originally Posted by Alan Anderson View Post
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.
But basically the robot will be able to go sideways whether the frame was square or rectangular, right?
  #15   Spotlight this post!  
Unread 31-03-2016, 17:59
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,574
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
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:
  • omni tank (4 wheels on two drive trains, no sideways driving)
  • kiwi (three wheels, most commonly oriented 120 degrees apart)
  • killough (3 wheels in Vex and FTC, but more commonly 4 wheels at an angle in FRC)
  • slide or H drive (5+ wheels on 3 axes); omni tank plus one or more wheels mounted perpendicularly, most commonly forming the letter H.

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.)
Attached Thumbnails
Click image for larger version

Name:	killough-alt.png
Views:	36
Size:	25.1 KB
ID:	20502  
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 31-03-2016 at 18:01.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:39.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi