Go to Post It's not GP, its not un-GP, its just a strategy. - AndyB [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 19-04-2015, 21:41
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Accuracy of Omni drive?

Hi all! I'm building a robot with my money to finalize my arduino-wifi control system. Before I spend my own money on a lemon I want to know what drive system I want going to go with. I was wondering if any one had experience with 4 wheel X shaped omni drive. like this http://i.ytimg.com/vi/Z0lUTMBbu9A/maxresdefault.jpg

I don't want to spend money on encoders. I programmed encoders on my teams bot this year for mecanum, I just don't want that headache for this

So basically, can I even drive in straight line with this, or is it just as bad as encoder-less mecanum?!

Thanks
  #2   Spotlight this post!  
Unread 19-04-2015, 21:58
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,373
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Accuracy of Omni drive?

It should be fairly simple to add a gyro to that bot.
The gyro can easily be used to stabilize rotation without the use of encoders.
Encoders would still be needed for certain functions, like controlling distance, but they would no longer be needed for maintaining a heading.

Here is a quick example where a gyro is used on an omni drive robot.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist

Last edited by billbo911 : 19-04-2015 at 23:14.
  #3   Spotlight this post!  
Unread 19-04-2015, 23:23
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Re: Accuracy of Omni drive?

Does that use a PID?
  #4   Spotlight this post!  
Unread 20-04-2015, 00:08
The other Gabe's Avatar
The other Gabe The other Gabe is offline
Too many events, not enough time
AKA: I'm a volunteer now!
no team (2046 Bear Metal Alumn)
Team Role: Alumni
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Bellingham, WA
Posts: 429
The other Gabe has much to be proud ofThe other Gabe has much to be proud ofThe other Gabe has much to be proud ofThe other Gabe has much to be proud ofThe other Gabe has much to be proud ofThe other Gabe has much to be proud ofThe other Gabe has much to be proud ofThe other Gabe has much to be proud ofThe other Gabe has much to be proud of
Re: Accuracy of Omni drive?

From a scout's perspective, robots with that drive tend to be ...iffy... like, unstable and not that mobile. now 1425 on the other hand, was super elegant and mobile in 2014 on Kiwi drive, so maybe it's just a matter of building it well
__________________
Do the best you can with what you are given

FRC 2046 2012-2015
Field Scout lead 2014-2015
  #5   Spotlight this post!  
Unread 20-04-2015, 00:24
Dunngeon Dunngeon is offline
Pumped
AKA: Ryan
FRC #0973 (Greybots)
Team Role: College Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Cal Poly San Luis Obispo
Posts: 299
Dunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond repute
Re: Accuracy of Omni drive?

Quote:
Originally Posted by The other Gabe View Post
From a scout's perspective, robots with that drive tend to be ...iffy... like, unstable and not that mobile. now 1425 on the other hand, was super elegant and mobile in 2014 on Kiwi drive, so maybe it's just a matter of building it well
This isn't for FRC:

Quote:
Originally Posted by teslalab2 View Post
Hi all! I'm building a robot with my money to finalize my arduino-wifi control system.


Quote:
Originally Posted by teslalab2 View Post
Does that use a PID?
The gyro correction would require a PID loop.
__________________
(2015-?): 973
(2012-2015): 955
  #6   Spotlight this post!  
Unread 20-04-2015, 01:17
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,373
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Accuracy of Omni drive?

Quote:
Originally Posted by teslalab2 View Post
Does that use a PID?
Quote:
Originally Posted by Dunngeon View Post

The gyro correction would require a PID loop.
Hate to burst your bubble Dunngeon, but the gyro stabilized Kiwi drive in the video has no PID control at all.
I'm not saying that all omni drives would not need it, I'm just saying that this one didn't. I have a suspicion that it is entirely dependent on the drive train and how the control code is implemented.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #7   Spotlight this post!  
Unread 20-04-2015, 01:35
Dunngeon Dunngeon is offline
Pumped
AKA: Ryan
FRC #0973 (Greybots)
Team Role: College Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Cal Poly San Luis Obispo
Posts: 299
Dunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond repute
Re: Accuracy of Omni drive?

Quote:
Originally Posted by billbo911 View Post
Hate to burst your bubble Dunngeon, but the gyro stabilized Kiwi drive in the video has no PID control at all.
I'm not saying that all omni drives would not need it, I'm just saying that this one didn't. I have a suspicion that it is entirely dependent on the drive train and how the control code is implemented.
Interesting, I didn't realize that teslalab2 was referring to your video.

The reason I said yes to the PID loop is that if the end goal is to have something be held by the bot, or for the bot to be heavy, our team has had very good success using P-control in those scenarios (very little oscillation, if at all).

In your heading control are you just adding a rotation value to make it rotate in the opposite direction whenever the heading changes to something other than 0 when translating?
__________________
(2015-?): 973
(2012-2015): 955

Last edited by Dunngeon : 20-04-2015 at 01:50.
  #8   Spotlight this post!  
Unread 20-04-2015, 01:46
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 147
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
Re: Accuracy of Omni drive?

I've seen a lot of PID and that oscillation is DEFINITELY characteristic a PID loop with just a little bit of tuning left to do. I havent seen the code obviously but thats what it seems like.
  #9   Spotlight this post!  
Unread 20-04-2015, 07:34
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,666
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: Accuracy of Omni drive?

Quote:
Originally Posted by teslalab2 View Post
Hi all! I'm building a robot with my money to finalize my arduino-wifi control system. Before I spend my own money on a lemon I want to know what drive system I want going to go with. I was wondering if any one had experience with 4 wheel X shaped omni drive. like this http://i.ytimg.com/vi/Z0lUTMBbu9A/maxresdefault.jpg

I don't want to spend money on encoders. I programmed encoders on my teams bot this year for mecanum, I just don't want that headache for this

So basically, can I even drive in straight line with this, or is it just as bad as encoder-less mecanum?!

Thanks
While I don't have any experience with this configuration per se, the kinematics on the four-wheel killough drive are the same as mecanum, which we used for Aerial Assist. This means that you can use the canned "holonomic drive" class/block. For AA, we did not use encoders. We added a gyro so we could use "field coordinates", but we did not get it working for competition (it turned out to be a bad gyro). The drivers never expressed any problems getting it to drive in a straight line, in any direction. As with mecanum, you will want to balance the load across the wheels as much as possible, and I'd also recommend a flexible frame or a suspension to keep all wheels on the floor. If you are planning to take it over humps and dips and don't have some sort of suspension, expect lousy performance, including unintended rotation.
__________________

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 : 20-04-2015 at 07:37.
  #10   Spotlight this post!  
Unread 20-04-2015, 09:25
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: Accuracy of Omni drive?

Quote:
Originally Posted by billbo911 View Post
Hate to burst your bubble Dunngeon, but the gyro stabilized Kiwi drive in the video has no PID control at all.
There's obviously some sort of closed-loop control. So if not PID, then what? TBH maybe?


  #11   Spotlight this post!  
Unread 20-04-2015, 12:17
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,373
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Accuracy of Omni drive?

Quote:
Originally Posted by Dunngeon View Post
Interesting, I didn't realize that teslalab2 was referring to your video.
You are correct, I had made the assumption he was referring to my video based on the sequencing of the posts. So, if my tone was a bit offensive, I apologize.

Quote:
Originally Posted by Dunngeon View Post
The reason I said yes to the PID loop is that if the end goal is to have something be held by the bot, or for the bot to be heavy, our team has had very good success using P-control in those scenarios (very little oscillation, if at all).

In your heading control are you just adding a rotation value to make it rotate in the opposite direction whenever the heading changes to something other than 0 when translating?
The basic code I used for Kiwi drive is:

Code:
Wheel1 = -1/2 X - sqrt(3)/2 Y + R 
Wheel2 = -1/2 X + sqrt(3)/2 Y + R
Wheel3 = X + R
Where X is the x-axis input, Y is the y-axis input, and R is the Rotation input.

When I added the gyro, the code was modified as follows:

Code:
Wheel1 = -1/2 X - sqrt(3)/2 Y + (R + gyro) 
Wheel2 = -1/2 X + sqrt(3)/2 Y + (R + gyro)
Wheel3 = X + (R + gyro)
Fortunately the scale of the gyro input matched the original values in the control that I really didn't need to change it's scale at all. Later experimentation's determined that a P gain of 1.2 yeilded the best overall performance, but leaving the P gain off was sufficient for prototyping and education purposes.

Quote:
Originally Posted by Ether View Post
There's obviously some sort of closed-loop control. So if not PID, then what? TBH maybe?


As seen in the code blocks above, the loop is closed by adding the heading value from the gyro. A "P" gain can be implied to be 1, but for the video, no gain was actually applied. It was simply adding the heading to the rotation input.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #12   Spotlight this post!  
Unread 20-04-2015, 18:48
teslalab2's Avatar
teslalab2 teslalab2 is offline
RogueBotix LLC
VRC #8091
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2014
Location: Austin MN
Posts: 109
teslalab2 will become famous soon enoughteslalab2 will become famous soon enough
Re: Accuracy of Omni drive?

that makes sense of how a plain p controller would work well for a gyro. Also, you shouldn't be getting any oscillations in a PID, that is partially the point of a PID. If it is tuned correctly. You can get oscillations however if you use too much Ki., that constant needs to be very low. Our robot this year with mecanum had encoders with PID's. I spent days tuning it, but when everything was said and done, the PID could account for 6 totes and a container on our robot, and it would strafe with very little deviation.

Anyways I am still torn on which Drive train to go with, I could not find a video of an FRC robot with omni on youtube. Does anyone know of a video of one?

Thanks

Last edited by teslalab2 : 20-04-2015 at 18:52.
  #13   Spotlight this post!  
Unread 20-04-2015, 18:59
BBray_T1296's Avatar
BBray_T1296 BBray_T1296 is offline
I am Dave! Yognaut
AKA: Brian Bray
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Rockwall, TX
Posts: 947
BBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond repute
Re: Accuracy of Omni drive?

Quote:
Originally Posted by teslalab2 View Post
I was wondering if any one had experience with 4 wheel X shaped omni drive.

Thanks
I would like to make the observation that an 'X' shaped omni-wheel drivetrain cannot rotate.
If the center of gravity is along the line of action of all 4 wheels (ie: in the intersection of the 'X' [ie: in the middle]) no wheel can exert a moment on the robot generating rotation.

An 'O' or diamond shaped configuration can turn by moving all wheels clockwise or CCW
__________________
If molecular reactions are deterministic, are all universes identical?

RIP David Shafer: you will be missed



Last edited by BBray_T1296 : 20-04-2015 at 19:02.
  #14   Spotlight this post!  
Unread 20-04-2015, 20:25
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,968
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: Accuracy of Omni drive?

Quote:
Originally Posted by teslalab2 View Post
Hi all! I'm building a robot with my money to finalize my arduino-wifi control system. Before I spend my own money on a lemon I want to know what drive system I want going to go with. I was wondering if any one had experience with 4 wheel X shaped omni drive. like this http://i.ytimg.com/vi/Z0lUTMBbu9A/maxresdefault.jpg

I don't want to spend money on encoders. I programmed encoders on my teams bot this year for mecanum, I just don't want that headache for this

So basically, can I even drive in straight line with this, or is it just as bad as encoder-less mecanum?!

Thanks
The picture you show is a diamond shaped Omni drive, and it drives very well.

It has the same motion profile as a mechanum drive (direction of forces and slippage) and the same drawbacks (low resistance to being pushed, less thrust in direction of travel).

PID is not needed for this drivetrain but it can help if the motors (or frictional drag) are not closely matched. A gyro will allow you to do some field-centric control (however it also introduces gyro drift), otherwise the control will be robot-centric which gives some drivers issues.
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
  #15   Spotlight this post!  
Unread 21-04-2015, 17:41
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,666
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: Accuracy of Omni drive?

Quote:
Originally Posted by BBray_T1296 View Post
I would like to make the observation that an 'X' shaped omni-wheel drivetrain cannot rotate.
If the center of gravity is along the line of action of all 4 wheels (ie: in the intersection of the 'X' [ie: in the middle]) no wheel can exert a moment on the robot generating rotation.

An 'O' or diamond shaped configuration can turn by moving all wheels clockwise or CCW
I had to do a bit of googling to learn this, but the term X drive is used in the Vex community for the 4-wheel Omni drive FRC usually calls Killough. If you pay attention to the axles instead of the wheels, you can see the X.
__________________

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.
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:22.

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