Thread: Gyro Sensors
View Single Post
  #4   Spotlight this post!  
Unread 21-02-2004, 19:57
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Re: Gyro Sensors

Here's a cool trick for the gyro sensors:

have your code print out a debug value, one per line, of the gyro sensor, and an increasing value before it. So you get this:

1,127
2,127
3,127
etc...

Use hyperterm or some other terminal program with a large scrollback buffer, attach a long cable, and drive your robot up a ramp or some object you want to climb while capturing the output. Copy and paste the entire thing into a text file with csv at the end, so foobar.csv or what not. Open the file in excel and graph it. It's great for finding thresholds and understanding what the gyro is trying to tell you at various points along the way.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...