Go to Post I never use set screws to transfer torque. Something about evil spirits or whatever. - Mark Sheridan [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 17-01-2006, 00:55
Andrew Schuetze's Avatar
Andrew Schuetze Andrew Schuetze is offline
499 Founder / Alamo FTC & FLL AP
no team
Team Role: Leadership
 
Join Date: Jan 2002
Rookie Year: 2001
Location: San Antonio, Texas
Posts: 689
Andrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond repute
Omni-drive autonomous questions

Our design meeting tonight settled on four omni-wheel drive system. Since there is significant scrub when driving forward, optical shaft encoders can't reliably calculate distance traveled. Correct

I would then think that one would have to use some combination of the gyro chip and acceleration sensors and an integral function to keep track of robot displacement.

This will be a new venture for our programming team this year. I'd appretiate any suggestions for code resources.

Thanks,

APS
__________________
APS

Founder FRC 499
Parent alumni FRC 2745 & 4219
Co-Coach FTC 4549 & 6407
Alamo FTC Affiliate Partner
Alamo FLL Affiliate Partner
  #2   Spotlight this post!  
Unread 17-01-2006, 01:17
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Omni-drive autonomous questions

http://kevin.org/frc/

Use these sensors to keep track of your location on a virtual grid.
Keep the calculations to the basic right triangle trig calculations.
I am still thinking about it but the best way i think is to know the angle <90 of the robot direction to parallel of the field. This is done by adding and subtracting the gyro values. Then use sin and cos to calulate the change in x and y based on the distance you traveled in that direction. The accelerometer will help you with this.
  #3   Spotlight this post!  
Unread 17-01-2006, 03:08
Joe Hershberger Joe Hershberger is offline
National Instruments
AKA: jhersh
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 1997
Location: Austin, TX
Posts: 148
Joe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to all
Re: Omni-drive autonomous questions

Quote:
Originally Posted by 6600gt
There are many sensors listed on Kevin's site. Which are you referring to?

Quote:
Originally Posted by 6600gt
Use these sensors to keep track of your location on a virtual grid.
Keep the calculations to the basic right triangle trig calculations.
I am still thinking about it but the best way i think is to know the angle <90 of the robot direction to parallel of the field. This is done by adding and subtracting the gyro values. Then use sin and cos to calulate the change in x and y based on the distance you traveled in that direction. The accelerometer will help you with this.
6600gt,
I'm not sure can follow your explanation. Could you please elaborate? I see a few key words but not a clear picture of what is to be done and what each component is used for.

Thanks,
-Joe
  #4   Spotlight this post!  
Unread 17-01-2006, 03:16
Joe Hershberger Joe Hershberger is offline
National Instruments
AKA: jhersh
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 1997
Location: Austin, TX
Posts: 148
Joe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to allJoe Hershberger is a name known to all
Re: Omni-drive autonomous questions

Quote:
Originally Posted by Andrew Schuetze
Our design meeting tonight settled on four omni-wheel drive system. Since there is significant scrub when driving forward, optical shaft encoders can't reliably calculate distance traveled. Correct

I would then think that one would have to use some combination of the gyro chip and acceleration sensors and an integral function to keep track of robot displacement.

This will be a new venture for our programming team this year. I'd appretiate any suggestions for code resources.

Thanks,

APS
In my experience, an inertial measurements unit is difficult to keep accurate if you integrate over a long period without a Kalman filter. Also, keeping track of the inertial measurements will consume a lot of your processing time, so depending on what else you plan to do, it may not be worth it. This year's challenge seems like it is far less necessary to know exactly where you are. It should be sufficient to be able to see your target and at least keep facing toward the correct end of the field.

Best of luck!
-Joe
  #5   Spotlight this post!  
Unread 17-01-2006, 06:24
Andrew Schuetze's Avatar
Andrew Schuetze Andrew Schuetze is offline
499 Founder / Alamo FTC &amp;amp; FLL AP
no team
Team Role: Leadership
 
Join Date: Jan 2002
Rookie Year: 2001
Location: San Antonio, Texas
Posts: 689
Andrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond repute
Re: Omni-drive autonomous questions

Quote:
Originally Posted by Joe Hershberger
This year's challenge seems like it is far less necessary to know exactly where you are. It should be sufficient to be able to see your target and at least keep facing toward the correct end of the field.

Best of luck!
-Joe
Thanks Joe,

Thinking as I type, closed loop control of sorts via visioncam if going for center goal and then maybe some proximity sensor for closed loop control if going for a dump into the low goal.

APS
__________________
APS

Founder FRC 499
Parent alumni FRC 2745 & 4219
Co-Coach FTC 4549 & 6407
Alamo FTC Affiliate Partner
Alamo FLL Affiliate Partner
  #6   Spotlight this post!  
Unread 17-01-2006, 10:54
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Omni-drive autonomous questions

We built a 4-wheel omni two years ago. We placed a small pair of free-wheeling omni-wheels (~2" dia) underneath the center of the chassis pan, and oriented them at 90deg. Each omni had a Grayhill optical encoder. This gave us local x and y movement of the chassis. Using an additional Analog Devices yaw rate sensor and integrating the yaw rate for yaw angle, we had the info we needed for field position. Any binding or slippage in the wheels, of course, led to error, but it worked OK for us.

Good Luck!
Eric
__________________

Don't PANIC!
S. P. A. M.
  #7   Spotlight this post!  
Unread 17-01-2006, 12:15
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Omni-drive autonomous questions

Quote:
There are many sensors listed on Kevin's site. Which are you referring to?
The gyro and accelerometer, that they asked for.

Quote:
6600gt,
I'm not sure can follow your explanation. Could you please elaborate? I see a few key words but not a clear picture of what is to be done and what each component is used for.
\ x |
\ | y
\ 0 |
\ |

The y axis should be kept parallel to partiquar side of the field. The gyro will give you theta(0) and the hypotenuse is the distance traveled, the accelerometer will give you this value or more accurately you have to calculate it. Form these two values you can calculate the change in x and y.
Then if you know your point on the field, you can calculate your distance away form the target.

There is more to it which has to modified based on the direcition you are facing. I am still trying to figure it out. This will keep getting more inaccurate as the match goes on.

This is for a tank dirve. For the omni drive, if you don't want to turn, all you need the accelerometer to keep track of you position. The angle you traveled and the ammount you traveled.

I thought this up a couple days ago. Still have no cule how to impliement the code. The picture is mess up becaues it dosen't keep the spacing.

Last edited by 6600gt : 17-01-2006 at 12:18.
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
Drive train and gearboxes Naveen Technical Discussion 15 16-01-2006 17:08
Globe gear box Pat Roche Motors 9 25-05-2004 22:50
Autonomous Kill Switch UCGL_Guy Programming 8 15-01-2003 17:39
what's your most important drive train advice? Ken Leung Technical Discussion 42 07-01-2003 09:58
"Motors and Drive train edition" of Fresh From the Forum Ken Leung CD Forum Support 6 29-01-2002 12:32


All times are GMT -5. The time now is 21:28.

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