Go to Post Like fishing, some may get away as you are reeling them in, but never letting out enough line to get the big ones at the bottom is just disappointing. - Eric O [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2009, 00:08
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
gyro counting up

This is something that we've been having trouble with--when we plug the gyro into an analog input, and call getAngle, we get no meaningful signal, but instead basically a number that keeps counting up. The number isn't altered by actually moving the gyro about its axis, which means it isn't drift.

Does anyone have any ideas on what could cause this, or how to fix it? It should be noted that we are using a 2008 gyro due to our new one frying
__________________
Get yer robot source code here!
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2009, 03:38
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: gyro counting up

Perhaps you've connected to the Temperature output of the YRS instead of the Rate output. They were badly labeled last year, with "R" for "relative temperature" and "T" for "twist".

Or perhaps that one too is fried. What happened to your 2009 sensor?

But I have to point out that the Yaw Rate Sensor/Gyro from the 2008 Kit of Parts was a custom part that year, is not (and never was) commercially available, and is thus not a legal part for this year's robot.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2009, 11:19
elstaqub elstaqub is offline
Purported Programming Mentor
AKA: Ed Staub
FRC #0131 (C.H.A.O.S.)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Manchester NH
Posts: 5
elstaqub is an unknown quantity at this point
Re: gyro counting up

See http://forums.usfirst.org/showthread...5204#post25204.

Yes, some of them are mis-wired.
Reply With Quote
Reply


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
Encoder Counting Problems RyanW Programming 1 14-02-2007 15:17
12 Hours and Counting Jherbie53 Championship Event 0 27-04-2006 20:33
GTS Counting gnirts Programming 13 21-04-2006 21:15
counting digital input CharlieWilken Programming 9 22-03-2004 19:56
PUlse counting junkyarddawg Technical Discussion 1 31-01-2002 15:33


All times are GMT -5. The time now is 07:59.

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