Go to Post I guess it all just goes back to the fact that you need to finish your robot before it goes in the crate. - sanddrag [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2008, 20:53
arhajder's Avatar
arhajder arhajder is offline
Arkadiusz Hajder
FRC #0640 (Viro)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Thomas A. Edison
Posts: 60
arhajder will become famous soon enougharhajder will become famous soon enough
Send a message via AIM to arhajder
Question Gyro vs Dead Reckoning

Which is better The Gyro sensor or Dead Reckoning?

Dead Reckoning is when you program the autonomous through given intervals that are calculated by the programmer.
  #2   Spotlight this post!  
Unread 25-01-2008, 20:56
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: Gyro vs Dead Reckoning

Almost certainly the gyroscope. I'd try to avoid dead reckoning as much as possible, just because the counters are quite 'messy,' as far as flexibility is concerned. I can see it set up to work just as well using an interrupt-driven timer, but I just like the gyro because you can use PID control to get more refined values. (And just tell the robot to turn until it's at an angle. Much easier!)
  #3   Spotlight this post!  
Unread 25-01-2008, 20:59
lukevanoort lukevanoort is offline
in between teams
AKA: Luke Van Oort
no team
 
Join Date: Oct 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 1,873
lukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond repute
Send a message via AIM to lukevanoort
Re: Gyro vs Dead Reckoning

Sensor feedback in autonomous is almost always better than dead-reckoning; in fact, the only situation I can think of where dead-reckoning would be preferred is if your sensor was really buggy and gave false reading often (in which case you probably should be using a different sensor). The question is like asking "Is it better to drive by looking at a map the whole time or by remembering where you want to go and watching the road instead?"

I have written both sensor-driven and dead-reckoning autonomous modes, but the dead-reckoning ones were always rush jobs that weren't expected to do much (like just deploy our arm). We use a hardware timer and interrupts for timing a dead-reckoning autonomous modes. If you do use dead-reckoning (many autonomous modes will have at least some time-dependent stuff, so the advice will probably apply with gyros too), I would definitely suggest using timers. Loop-counting seems like a bit of an unreliable and undesirable solution to me.
__________________
Team 1219: 2009 - Mentor
Team 587: 2005 - Animator, 2006-2008 - Team Captain

Last edited by lukevanoort : 25-01-2008 at 21:05.
  #4   Spotlight this post!  
Unread 25-01-2008, 21:10
arhajder's Avatar
arhajder arhajder is offline
Arkadiusz Hajder
FRC #0640 (Viro)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Thomas A. Edison
Posts: 60
arhajder will become famous soon enougharhajder will become famous soon enough
Send a message via AIM to arhajder
Re: Gyro vs Dead Reckoning

unfortunately for me my team got none of the sensors and FIRST has yet to send them in to us.
  #5   Spotlight this post!  
Unread 25-01-2008, 21:18
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Gyro vs Dead Reckoning

We didn't either! According to Update #5 FIRST has begun shipping replacement parts out via Fedex 2-day and will be doing so through the beginning of next week, so you should be getting them soon
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #6   Spotlight this post!  
Unread 25-01-2008, 21:22
arhajder's Avatar
arhajder arhajder is offline
Arkadiusz Hajder
FRC #0640 (Viro)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Thomas A. Edison
Posts: 60
arhajder will become famous soon enougharhajder will become famous soon enough
Send a message via AIM to arhajder
Re: Gyro vs Dead Reckoning

Quote:
Originally Posted by Vikesrock View Post
We didn't either! According to Update #5 FIRST has begun shipping replacement parts out via Fedex 2-day and will be doing so through the beginning of next week, so you should be getting them soon
Finally! We are almost done as it is!
  #7   Spotlight this post!  
Unread 26-01-2008, 14:49
jacobhurwitz jacobhurwitz is offline
Registered User
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Maryland
Posts: 45
jacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura aboutjacobhurwitz has a spectacular aura about
Re: Gyro vs Dead Reckoning

Our team purchased an ADXRS150 from Spark Fun electronics for two reasons:
(1) It is 180 degrees/sec instead of the 80 degrees/sec one that came in the kit.
(2) It works with Kevin Watson's gyro code and with WPILib, but the one in the KoP works with neither.

However, we've been having some problems with the accuracy of the sensor. Nevertheless, using a gyro is definitely better than dead reckoning. If you use timers or something, a slight change in battery voltage may affect your times. If you use loop count, adding more code will increase the time per loop.
Closed Thread


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
Simple dead-reckoning autonomous JimGRobot Programming 16 16-05-2007 23:59
Autonomous: CMUCam or dead reckoning? Andrew Blair Rules/Strategy 18 26-02-2005 19:36
dead reckoning st28 Programming 1 24-02-2004 11:34
Dead Reckoning Ryan Cumings Programming 3 24-02-2004 10:57
A DEAD reckoning program rcubes85 Programming 5 19-03-2003 14:21


All times are GMT -5. The time now is 12:03.

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