|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
As you all know we all received those neat expensive gyro chips, but how would one go about using one of those, does anyone have any spec. about them if so please e-mail me the specs. @ biggestb59@hotmail.com i am literally dieing to figure out what the heck they can do....
|
|
#2
|
|||
|
|||
|
The gyro (Yaw Rate Sensor) connects to the controller as a digital input and the PBASIC code interprets the input and determines what to do. Check out the Technokats Auto-Balance Code from last year if you're wondering how the PBASIC works for it. The code is in the White Papers or at the following link.
http://www.chiefdelphi.com/forums/pa...per&paperid=10 |
|
#3
|
|||||
|
|||||
|
Gyro sensor specifications
Quote:
Jan Olligs Last edited by Jan Olligs : 21-01-2002 at 18:56. |
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
It made a lot of sense to use the gyro last year to help do the bridge balance, but are there good uses for it this year? Have any teams used the gyro as a "stabilizer" to help make their machine track a better line? E.g. in a tank style drive with variations in motors and transmissions perhaps 50% power equates to 50% in the left and 48% in the right. Would the gyro be useful for "fixing" that? We've messed with scaling in the code but it seems that one day its left, the next day its right.
|
|
#6
|
|||
|
|||
|
I believe at this point, my team is still planning on a somewhat complex steering system. I won't go into details, because it's our teams "secret". In any case, (since I'm the programmer) I was thinking I'd use the gyro to "kick in" the advanced steering system. Basically, if the robot's not turning, and it should be, apply the steering mechanism. I think that would be easier on the driver than having to manually apply it. Just an idea that others may also be able to use.
|
|
#7
|
||||
|
||||
|
Quote:
I suppose the code and sort of "average" all that out of the data. Since many teams probably used the Gyro last year, there must be some that have a sense of how useful it is. (I know that many had remarked that if you use it to calculate position, you can have alot of long-term error because of the missed sample time between iterations of the program loop...integration error) -Quentin |
|
#8
|
|||
|
|||
|
RE: Filtering Gyro Input
Quentin,
You are correct that the gyro is very sensitive to noise. When using the gyro last year the Technokats used both mechanical and software filtering. We mounted the gyro on a foam pad that reduced some of the noise, and also used a simple filtering algorithm in the code. Details for both of these are provided in the white paper listed above. Obviously the sensitivity is only in the direction (or plane) you're measuring. If you're concerned about responses to impacts, I suspect it will max out (i.e. read 0 or 255) with even a fairly slight bump. This can be a good thing since it's not too hard to filter out spikes. If I remember right the gyro maxes out at an angle rate that's equivelant to about 1 robot revolution in 5 seconds, so if you're trying to use it to track your robot's heading you better not turn too fast. :-) |
|
#9
|
|||||
|
|||||
|
Also, how sensitive is it? Not to bumps really, but to your position?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New FIRST Word: MEGA-REGIONALs | Rich Wong | Rumor Mill | 28 | 21-10-2003 15:42 |
| 3 letter word restrictions??? Yucky!!! | Elgin Clock | CD Forum Support | 4 | 15-12-2002 16:19 |
| Goal on side... What's the final word! | archiver | 2001 | 4 | 23-06-2002 22:39 |
| ??? Copyrighted Music: The Final Word ??? | Ranma | 3D Animation and Competition | 2 | 16-03-2002 18:06 |
| Fun Little Word Game | Torchin | Chit-Chat | 14 | 10-11-2001 11:42 |