Go to Post It doesn't seem hard, but it is. You can do it with enough time, dedication, and skill, but that doesn't stop it from being hard. - lemiant [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-10-2006, 22:03
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,372
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Omni-wheels and driver-centric drive

Question. Have any teams successfully made and coded a robot that drove in relation to the driver? (i.e. driver pushes joy to left, robot goes to the driver's left, instead of left in relation to itself)?

The programming guys on our team this year wants our robot to do that, so right now we're trying to figure out how to do that.

another question:
How difficult was it to program, and what sensors did you use?
Can I see your source code ?
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #2   Spotlight this post!  
Unread 31-10-2006, 22:09
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Omni-wheels and driver-centric drive

We have not done this, I know of teams that have.

67 (2005), 190 (2005), and a few others have done full-joystick holonomic drives with turning.

The thing you need is a gyro and a lot of trig. Do a lot of theory before-hand and try to simplify it as much as possible.

Do lots of testing. A co-processor may not be out of the question for this.

[edit]I believe both 67 and 190 (I know 190) used mecanum wheels, which are slightly different than omni-wheels.[/edit]

Last edited by Astronouth7303 : 31-10-2006 at 22:16.
  #3   Spotlight this post!  
Unread 31-10-2006, 22:22
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Omni-wheels and driver-centric drive

If you have sort of drive base that can be driven by a vector input it is relatively easy.

Take the vector output from the joystick, rotate it based on your onboard gyro, and then apply it to your wheels.

This requires knowledge of a holomonic drive platform beforehand though.
  #4   Spotlight this post!  
Unread 31-10-2006, 22:54
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Omni-wheels and driver-centric drive

Quote:
Originally Posted by Astronouth7303
We have not done this, I know of teams that have.

67 (2005), 190 (2005), and a few others have done full-joystick holonomic drives with turning.

The thing you need is a gyro and a lot of trig. Do a lot of theory before-hand and try to simplify it as much as possible.

Do lots of testing. A co-processor may not be out of the question for this.

[edit]I believe both 67 and 190 (I know 190) used mecanum wheels, which are slightly different than omni-wheels.[/edit]
67 has actually never used mechanum that I know of, but they did build a crab in 2005. Not sure if that was driver-centric, but I do know that they almost filled all the code space with drive code, so I would imagine it was...

I would think that you'd run into problems with drift after awhile, but not sure if it would be < 3 minutes.
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #5   Spotlight this post!  
Unread 01-11-2006, 07:01
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Omni-wheels and driver-centric drive

Read this entire thread: http://www.chiefdelphi.com/forums/sh...5&page=1&pp=15
  #6   Spotlight this post!  
Unread 01-11-2006, 20:01
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,372
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Omni-wheels and driver-centric drive

How effective would it be using 3 or 4 non-powered omni wheels with optical encoders on them as directional feedback, instead of using a gyro? Would that be more precise (unless theres a ramp of course)?
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #7   Spotlight this post!  
Unread 01-11-2006, 20:10
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Omni-wheels and driver-centric drive

Quote:
Originally Posted by efoote868
How effective would it be using 3 or 4 non-powered omni wheels with optical encoders on them as directional feedback, instead of using a gyro? Would that be more precise (unless theres a ramp of course)?
For angle a gyro would be most accurate. For more consistent drive encoders would be nice, but are not necessary for the effect that is desired.

However, a gyro to keep a constant front and encoders to maintain even speeds would result in a very nice and friendly base to the driver.

EDIT: Hmm... I didn't see where you said nonpowered... I'm not sure how well that works for angles, I bet it works well for distance/ location but I doubt it would give more precise angle readings than a gyro.

Last edited by AdamHeard : 01-11-2006 at 20:14.
  #8   Spotlight this post!  
Unread 01-11-2006, 20:46
Eko's Avatar
Eko Eko is offline
Registered User
#0868
Team Role: Programmer
 
Join Date: Jan 2004
Location: Carmel, IN
Posts: 17
Eko is an unknown quantity at this point
Re: Omni-wheels and driver-centric drive

Team 868 toyed with this last year, and our experience was mixed.

We used the mecanum wheel system, which allowed for arbitrary translational vectors with arbitrary rotation vectors to describe the movement. Adding the yaw rate gyro offset was easy enough, but the gyro could only report angular velocity values up to a certain speed, something like 80 degrees per second. This was not a valid option for us, as our robot could spin around almost one full revolution per second. That aside however, the code for it was very simple. It turned out to only require a minimum of trigonometry as well, as a lot of the trigonometry falls away when you realize the relationships between the various pairs of wheels. Unfortunately, I don't have the code at hand right now, but I'm sure if you sent an email or PM to one the Team 868'ers on the forum, they could get this year's programmers to dig it up for you.

~Kyle
__________________
  #9   Spotlight this post!  
Unread 01-11-2006, 20:54
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,494
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Omni-wheels and driver-centric drive

Quote:
Originally Posted by Eko
Team 868 toyed with this last year, and our experience was mixed.

We used the mecanum wheel system, which allowed for arbitrary translational vectors with arbitrary rotation vectors to describe the movement. Adding the yaw rate gyro offset was easy enough, but the gyro could only report angular velocity values up to a certain speed, something like 80 degrees per second. This was not a valid option for us, as our robot could spin around almost one full revolution per second. That aside however, the code for it was very simple. It turned out to only require a minimum of trigonometry as well, as a lot of the trigonometry falls away when you realize the relationships between the various pairs of wheels. Unfortunately, I don't have the code at hand right now, but I'm sure if you sent an email or PM to one the Team 868'ers on the forum, they could get this year's programmers to dig it up for you.

~Kyle
That's good to hear. That means all you have to do is buy a gyro with a higher angular velocity (i've seen 300 something). Or... I've seen magnetic compasses w/ analog ouputs. Does anyone know how well those work? they could accomplish the same thing probably.
  #10   Spotlight this post!  
Unread 01-11-2006, 21:07
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: Omni-wheels and driver-centric drive

The magnetic compass could work, but I doubt you could get one with high enough resolution that still wouldn't be affected by that giant mass of electrical components we call a robot. Or maybe you could...
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #11   Spotlight this post!  
Unread 01-11-2006, 22:22
efoote868 efoote868 is online now
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,372
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: Omni-wheels and driver-centric drive

Quote:
Originally Posted by Eko
Team 868 toyed with this last year, and our experience was mixed.
....
I don't have the code at hand right now, but I'm sure if you sent an email or PM to one the Team 868'ers on the forum, they could get this year's programmers to dig it up for you.
Yeah, i know that.

thanks for making me look slow, eko . I haven't found the source code from last year, and as you know the laptop with the source is dead.

Any teams other than my own that have done this?
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!

Last edited by Karthik : 01-11-2006 at 23:17. Reason: Language offensive to some
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Driver and 2K6 Encoder Driver Not compatible Tom Bottiglieri Programming 6 12-02-2006 01:11
CMU cam and drive wheels BrittanyV Programming 2 21-01-2006 16:01
And you thought you had cool omni-wheels Matt Reiland Technical Discussion 22 27-06-2004 15:32
Omni Wheels??? Alex Cormier General Forum 1 24-01-2004 18:00
Omni Wheels! jrgrim12 Technical Discussion 5 04-02-2003 16:07


All times are GMT -5. The time now is 09:48.

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