Go to Post A team pulls together when things get rough. - Aignam [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 12-01-2015, 20:10
igorjavaroni igorjavaroni is offline
Registered User
FRC #1382 (ETEP Team)
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Brazil
Posts: 20
igorjavaroni is an unknown quantity at this point
Omini Wheels!

Hey Guys, it's our first year that we are going to use omini wheels, our omini Wheels is in 45º Degrees. Someone can help us with Omini Wheels Programming?
  #2   Spotlight this post!  
Unread 12-01-2015, 20:35
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,113
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: Omini Wheels!

If your omni (it's short for omnidirectional) wheels are mounted at 45 degree angles in the corners of your robot, the programming is exactly like having mecanum wheels. You can use the provided mecanum drive functions.
  #3   Spotlight this post!  
Unread 13-01-2015, 07:48
sanelss sanelss is offline
Registered User
FRC #1658
 
Join Date: Dec 2012
Location: saint louis
Posts: 258
sanelss is a splendid one to beholdsanelss is a splendid one to beholdsanelss is a splendid one to beholdsanelss is a splendid one to beholdsanelss is a splendid one to beholdsanelss is a splendid one to behold
Re: Omini Wheels!

what do you need help with? we've been doing it for years and believe we've mastered it so ask me anything! The way we do it is first convert the joystick input into a vector(direction and magnitude) and a rotation input, this is done with simple trig(the rotation is simple just the x axis scaled by some factor). so you have your X axis and Y axis, with A^2+B^2=C^2 you can calculate the magnitude and with the sin/cos/tan you can calculate the direction(angle). when you know this you add or subtract your gyro angle and other compensation. this will give you a desired output vector. From that you just go backwards. With a desired output vector you calculate the X and Y components which you then multiply by the magnitude to get the raw values to send to your X axis wheels and Y axis wheels. The rotation is a rather simple, just add/subtract a constant value to every wheel then normalize the outputs and send it to the speed controllers. It's a very simple system that only requires basic trig.

You can do it in fancier ways but this way has worked brilliantly for us with no issues and is very simple to implement.

if you want to take it further you can also calibrate each wheel so your robot doesn't rotate as it moves. if you map the pwm value to wheel speed of each wheel with a known load, you can assure your robot will always move in straight lines without rotating or drifting. You can also use PID feedback but from what we've discovered in previous years is that while yes it works, it takes away from the responsiveness so it's better to just let the driver deal with any potential unwanted rotation.

Hope this helps if you need more information feel free to ask.
  #4   Spotlight this post!  
Unread 13-01-2015, 07:56
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,723
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: Omini Wheels!

This drive configuration is known as Killough. You can search this term for lots more tips, I'm sure.
  #5   Spotlight this post!  
Unread 13-01-2015, 08:19
T3_1565 T3_1565 is offline
Registered User
AKA: Twitch Drive Designer
FRC #1360
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Burlington, Ontario
Posts: 855
T3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant future
Send a message via MSN to T3_1565
Re: Omini Wheels!

Quote:
Originally Posted by GeeTwo View Post
This drive configuration is known as Killough. You can search this term for lots more tips, I'm sure.
To be fair, Killough Drive is specifically the 3 wheeled Omni Directional Drive Base (also called Kiwi Drive) If they are doing a 4 wheeled base looking up Holonomic Drive or Omni Drive would probably yield better results.

That being said, no reason to not look up all of them to get a better understanding on what you can do with these drive bases
  #6   Spotlight this post!  
Unread 13-01-2015, 09:04
Nate Laverdure's Avatar
Nate Laverdure Nate Laverdure is offline
Registered User
FRC #2363
Team Role: Coach
 
Join Date: Apr 2005
Rookie Year: 1999
Location: Newport News, VA
Posts: 834
Nate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond reputeNate Laverdure has a reputation beyond repute
Re: Omini Wheels!

Quote:
Originally Posted by T3_1565 View Post
To be fair, Killough Drive is specifically the 3 wheeled Omni Directional Drive Base.
I think we can allow the term to be more general. Stephen Killough's original 1994 design was something really different from the designs seen in modern FRC:
Quote:
Picture a round platform with three motors underneath, each governing the motion of two wheels that look like miniature balloon tires. The wheels in each pair are mounted in a cage at right angles to each other; the motor can rotate the cage so that one wheel or the other is touching the ground at any one time. By configuring the three pairs of wheels to allow the same type of motion found in three pivoting casters, and by changing the relative speeds of the motors, Killough can make his robotic platform rotate, follow a straight or curved path, and even rotate while moving forward.
  #7   Spotlight this post!  
Unread 13-01-2015, 14:35
T3_1565 T3_1565 is offline
Registered User
AKA: Twitch Drive Designer
FRC #1360
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Burlington, Ontario
Posts: 855
T3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant future
Send a message via MSN to T3_1565
Re: Omini Wheels!

Quote:
Originally Posted by Nate Laverdure View Post
I think we can allow the term to be more general. Stephen Killough's original 1994 design was something really different from the designs seen in modern FRC:
I'm simply referring to the number of wheels. Killough search results in a lot of 3 wheel drive bases (as that's what he made). Whereas using the other words I mentioned would lead to other results.

No reason to not look up as much as possible right?
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 03:04.

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