Go to Post Lose lips sink... robots? (during a water game at least) - Zach O [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #31   Spotlight this post!  
Unread 14-04-2003, 10:07
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
GregT - you need to go back and look at the Team 578...physics lesson photo again.

yes we slowed the turning part of our V-turn down enough to stay closed looped with the gyro

and we beat you to the wall

anytime you use feedback you must run 'slower' than the systems top speed - otherwise you have no room / margin for making corrections.

We could have made our auton mode even faster if we wanted to. We had the bot going back to the center of the field before making its 45° turn - and we also had the motors running at less than half speed while going backwards AND while turning.

We didnt have a full sized ramp to practice on, and we couldnt get enough carpet time at the events to adjust it any finer. If we had added a wheel revolution counter then we could have backed up until we barely cleared the ramp side wall, then turned just enough to start going forwards, continuing to turn as we climbed the ramp.

Feedback is like magic in engineering. You can take a sloppy, loose system and make it as fast, accurate and precise as you want by using feedback. MUCH easier to do than to try to build a system (bot) that is accurate and precise all by itself and let it run blind (open loop).
Reply With Quote
  #32   Spotlight this post!  
Unread 14-04-2003, 10:14
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
I forgot to mention:

DO NOT SHOCK MOUNT YOUR GYRO!

you dont want it padded from the frame - you want it firmly mounted so it moves exactly as the frame moves. If the gyro is wobbling around or is acting like its mounted on springs, then your feedback system is going to be wacked out!

also make sure you mount it on the most solid part of your frame, not anyplace that bends or twists when the bot is in use.

the gyro already has an internal bandwidth limit (filtering) so random impacts and vibrations will be averaged out over time - if something hits your bot so hard that it accelerates faster than 75°/S then you need to put bumpers on your ROBOT! - not on your gyro :c)

Last edited by KenWittlief : 14-04-2003 at 10:16.
Reply With Quote
  #33   Spotlight this post!  
Unread 14-04-2003, 10:47
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
An extension to that:

Mount the gyro as low as possible to the ground to reduce jitter (vibrations are more exaggerated on taller superstructures).
Reply With Quote
  #34   Spotlight this post!  
Unread 29-04-2003, 10:26
Caleb Fulton's Avatar
Caleb Fulton Caleb Fulton is offline
Z = Z^2 + C ......WHEEEE!
AKA: aXvXiA
#0461 (West Side Boiler Invasion)
Team Role: College Student
 
Join Date: Dec 2002
Location: West Lafayette, Indiana
Posts: 205
Caleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura about
Send a message via AIM to Caleb Fulton
I got the gyro hooked up, but I'm having a slight problem; when the robot is sitting still, the gyro reads 129 or 130...not 127...

Is there any way to "reset" it?

It is sitting at a slight angle because the robot itself is angled...would this cause the problem?
__________________
Reply With Quote
  #35   Spotlight this post!  
Unread 29-04-2003, 10:42
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
the gyro will only change its output when you turn on its axis of rotation

so when its sitting still, whatever it puts out is 'zero'

I suggest you have your SW read the gyro when the robot is first powered up, and use that reading (whatever it is) as your zero

also, you might want to code in a dead band, to ignore zero-1, zero, zero+1 when you are integrating the output

then the compass heading you are creating will not drift when the bot is not turning.
Reply With Quote
  #36   Spotlight this post!  
Unread 29-04-2003, 10:43
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Quote:
Originally posted by Caleb Fulton
when the robot is sitting still, the gyro reads 129 or 130...not 127... Is there any way to "reset" it?
This is normal, and no there's not a way to reset it. Every gyro that we've examined here has it's own "normal" center value. I've also been told that some teams have seen the gyro have a different center value each time it's powered up, although I didn't see this myself.

To combat this problem, we had our custom circuit take 256 samples from the gyro on powerup and average them to determine it's center value. Worked perfectly. One word of caution if you try this: when the gyro first receives power, it's output will be all over the place for a few seconds, so you don't want to take these samples right away when your robot is powered up. Our custom circuit had a 4 second delay before reading the gyro and it worked great.
Reply With Quote
  #37   Spotlight this post!  
Unread 08-06-2003, 15:12
bobtheblob bobtheblob is offline
Registered User
#0159
 
Join Date: Jun 2003
Location: Fort Collins, CO
Posts: 4
bobtheblob is an unknown quantity at this point
How did you guys find out the sampling rate of the RC? I'll trust that it is in fact 26 ms, but is there a data sheet somewhere, or does it depend on the size of the main loop of the program?
Thank you
-Bobby Sakurai
Reply With Quote
  #38   Spotlight this post!  
Unread 09-06-2003, 11:57
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,954
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
It's stated in the kickoff presentation by Bob Mimlitch on the FIRST website under Team Resources & Kickoff Workshop Archive.

I believe it's based on the radio packet transmission rate and is imposed by the IFI implementation of the Robot Controller, not the Basic Stamp itself.

Last edited by Mark McLeod : 09-06-2003 at 12:02.
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
gyro code odin892 Programming 2 08-04-2003 14:50
Team 469 and the Gyro archiver 2001 0 24-06-2002 02:57
This Gyro is driving me crazy! archiver 2001 2 23-06-2002 23:35
Is any team using the gyro chip? Ragin_Kage Kit & Additional Hardware 4 10-04-2002 12:11
Have YOU used the gyro chip? FotoPlasma Technical Discussion 10 31-01-2002 13:26


All times are GMT -5. The time now is 06:08.

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