Go to Post It would also level the playing field by bringing the bottom up, rather than the top down. - russell [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 30-04-2007, 11:47
gmiller_1249 gmiller_1249 is offline
Registered User
#1249 (Robo Rats)
Team Role: Coach
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Delbarton, WV
Posts: 20
gmiller_1249 is an unknown quantity at this point
two gyros?

Does easyC support the use of two gyroscopes, or do you have to use custom code to create an analog to digital converter?
__________________
The RoboRats
Team 1249
2008 Palmetto Regional Delphi "Driving Tomorrow's Technology" Award
2007 Roboburgh Regional Imagery Award
2005 Pittsburgh Regional Winners (w/ 128, 395, and 1708)
2005 Pittsburgh GM Industrial Design Award
  #2   Spotlight this post!  
Unread 30-04-2007, 14:46
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: two gyros?

Not sure if this will work, but when you intialize and subsequently read from the gyro (using the EasyC gyro block) you also define which analog port the gyro is plugged into. Therefore, in an object oriented sense, if you do the same thing for two gyros, the two instances should remain independent. Give it a try!

Otherwise, as you suggested, you would have to read the analog port directly which gives a 10-bit output proportional to turn rate which you can convert to deg/s which can be integrated to give heading.

Let us know how it works! I've been wondering whether it might be a good idea to use two gyros for redundancy and as some sort of quality control in applications where accurate navigation is desired.
  #3   Spotlight this post!  
Unread 01-05-2007, 12:53
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: two gyros?

Yes you can use two gyros together using two is almost the same as using one.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #4   Spotlight this post!  
Unread 09-05-2007, 14:08
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: two gyros?

what do you need 2 for? are you trying to have 3-axis of sensing? i'm not sure, but just leaern C and do it from there.

PS
C programming is very easy to do. as soon as you know the basic commands it does averything for you.
__________________


  #5   Spotlight this post!  
Unread 14-05-2007, 20:27
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: two gyros?

One use for two gyro's is using two different sensitivity gyros. For example, a 300 deg/s and a 75 deg/s could be combined (with clever kalman-filter code) to provide a single heading that is immune to abrupt changes in angle(up to 300) while sensitive to smoother changes in angle (below 75)
  #6   Spotlight this post!  
Unread 16-05-2007, 16:04
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: two gyros?

just a question (because i might have to look into gyros next year): if the robot was moving faster than 70 deg/s, even though you have a faster gyro, wouldn't the slower one not be able to keep up, or lose heading?
__________________


  #7   Spotlight this post!  
Unread 22-05-2007, 14:18
gmiller_1249 gmiller_1249 is offline
Registered User
#1249 (Robo Rats)
Team Role: Coach
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Delbarton, WV
Posts: 20
gmiller_1249 is an unknown quantity at this point
Re: two gyros?

Quote:
Originally Posted by tseres View Post
what do you need 2 for? are you trying to have 3-axis of sensing? i'm not sure, but just leaern C and do it from there.

PS
C programming is very easy to do. as soon as you know the basic commands it does averything for you.
It is for our new "super secret tech" that is under development.

No, it is for 3d sensing and some drive stuff we are going to work on this summer.

Everyone knows we spend as much time on our back as we do on our wheels and we just want to know how far on our back we are!!!!
__________________
The RoboRats
Team 1249
2008 Palmetto Regional Delphi "Driving Tomorrow's Technology" Award
2007 Roboburgh Regional Imagery Award
2005 Pittsburgh Regional Winners (w/ 128, 395, and 1708)
2005 Pittsburgh GM Industrial Design Award
  #8   Spotlight this post!  
Unread 24-05-2007, 03:23
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Re: two gyros?

Quote:
Originally Posted by tseres View Post
just a question (because i might have to look into gyros next year): if the robot was moving faster than 70 deg/s, even though you have a faster gyro, wouldn't the slower one not be able to keep up, or lose heading?
First off Gyros measure acceleration, so it doesn't really matter if you are turning 70 deg/s you could turn 500 deg/s at 0 acceleration and the gyro could probably handle it. It is angular acceleration that you need to worry about. I think the Gyros we have support 300 deg/s/s which is probably enough for almost all FIRST applications (Actually it might 150 if where using the ADXRS150 series gyros)

Either way I don't really think that you need two unless there's a good reason (i.e sensing if the robots tilted etc...)
__________________
Team 701
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
Gyros Ryan Cumings Programming 0 26-01-2004 16:22
Putting two and two together... Andy Grady General Forum 13 08-01-2004 18:29
Gyros!! RAWdealer59 Programming 1 12-02-2003 16:46
gyros archiver 2001 6 24-06-2002 02:35
Gyros archiver 2000 3 23-06-2002 22:58


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

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