Go to Post OMG this topic again. Those who stir the pot should lick the spoon. - nuggetsyl [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

 
View Poll Results: Did you have this gyro issue?
Yes 5 38.46%
No 8 61.54%
Voters: 13. You may not vote on this poll

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 28-01-2008, 22:04
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
Gyro Warning

This is just a warning to teams who have experienced the same problems we have been having with this year's gyro:

To start out, we read to manual, ect and wired up the left pins (The side with the white cable connected to the pin labeled "R" where the other were ground or 5 volts) and plugged it into analog port 1 on our RC. We proceeded to code up a simple test and print program using WPILib.

What we got for output was one of two things:

Consistent zeros

OR

A constantly increasing value

These are not the results we expected. All information indicated that the values should increase when the gyro was rotated right, decrease when rotated left, and stay the same when the gyro wasn't being moved.

So I went to the WPILib forums and described the problem. Being new to analog sensors in general and WPILib in specific this year, I firgured I messed up the code somehow. I went back and forth with Brad Miller, who was very helpful and even ran the code I posted for him on a VEX to check it, and everything seemed in order to him, except the fact that it would behave for me.

So I left it for awhile and helped with other stuff on the robot, tinkering once and awhile.

So today, I was working on it, and asked another team member to take another look at the electrical part. i had already checked it with a multimeter, and didn't have much hope for that option. I went and did something he needed me for, and he took a look at it.

I get back and he says "You know, there are more paths to this other set of pins than the one we're hooked up to. I've seen boards mislabeled before."

So, hoping he was right, I plugged a cable into the other set of pins. then I rant he same program I had been running. Low and behold, it worked. It started behaving like it should.

So, basically, what I'm saying is that this year's gyro, which IS a different model than last year's, is either labeled using different conventions (T no longer stands for temp but twist or something) or some of the boards were just plain mislabeled. If you are having the same problems we did, give it a try, the worst you can do is output a weird number to the terminal.
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
 


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
Autonomous Warning petek Chit-Chat 3 15-01-2007 18:58
Misinformation warning Lil' Lavery Rumor Mill 96 03-12-2004 19:28
warning about taxes robot180 Chit-Chat 3 16-10-2003 17:36
Warning Label!!! Mark Garver General Forum 15 05-01-2003 23:55
RSAD Warning archiver 2000 4 23-06-2002 21:59


All times are GMT -5. The time now is 23:46.

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