Go to Post Believe that Dave knows what he is talking about. - JaneYoung [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 05-02-2008, 10:16
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,381
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: Gyro problems, crossposted from Electrical

Quote:
Originally Posted by EFastring View Post
I made the changes above to make my variable an int, but saw no difference.

Does anyone have any suggestions for testing our kit gyro to see if it is alive? Is there a way to do it with a voltage meter?

does Get_Analog_Value( rc_ana_in01 ) return a value that should change when the gyro chip is rotated, or do you have to initialize the gyro before it will function at all?
An important point to understand about the gyro is it only returns a rate of rotation while it is moving. This rate is around 2.5 vdc when still. So, the software needs to integrate the variation in rate over time to give you an angle relative to it's original angle. So, the answers given in the programming section may contain your solution.
Sorry if this was already explained, but that is what happens when you "cross-post".
As for using a multi-meter to test it may be difficult. If I recall correctly, the KOP gyro's output changes by 12mv/deg/s of rotation and is limited to 80 deg/sec. You would need a very fast and sensitive meter to catch it. So, try connecting the meter between T and gnd. Rotate the gyro by hand and see if the output changes during rotation. The other alternative is to use a o'scope.
__________________
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
 


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
gyro and accelerometer problems paulcd2000 Programming 6 16-02-2008 15:17
Gyro Autonomous Problems cprogrammer Programming 5 23-03-2007 14:28
Problems with the Gyro Guy_E Programming 21 04-12-2006 17:23
Problems with the gyro Conan Programming 7 06-02-2006 01:45
Gyro Code Problems railerobotics Programming 8 27-01-2006 10:45


All times are GMT -5. The time now is 19:11.

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