Go to Post I don't think we really fit into those rigidly defined categories, my team builds our robot. - AdamHeard [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 11-02-2010, 00:55
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Cross-Language Question ... Control Systems Practices ... Encoders/Gyros/Accels

I've been struggling with some decisions for a while now and have finally decided to surrender to the "cloud" of knowledge & advice here on CD.

In practice, in general, do you find yourself depending on these various sensors for different reasons within your code? We have many navigational sensors at our disposal and sometimes I find it hard to decide which one to pick.

When do you choose to use the encoder values over the gyro angles? When do you trust your accels over your encoder positions?

I find myself jumping between encoder distances (but then worry if/when we lose traction), and the gyro (which drifts, but is good for short bursts), and the accels that summarize the situation (provided we haven't been recently jarred).

For you advanced control systems gurus, what sorts of advice can you offer for all of these various trade-offs.

I'm interested in general overall theories/practices ... and ... to perhaps spur some conversation, provide a simple example of the best way to "perfectly" rotate your 'bot by exactly 90-degrees (CW or CCW) with the single push of a joystick button. There may be subtle differences depending on the drive-train type, but I'd like to steer the conversation towards more "generic" theory/practice.

... I'm all ears ...
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
  #2   Spotlight this post!  
Unread 11-02-2010, 10:56
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
Re: Cross-Language Question ... Control Systems Practices ... Encoders/Gyros/Accels

For the past three year's I've coded our robot, we've alway stuck to encoders for autonomous naviagation (albeit to a much more limited extent last year due to all the sliding). We've played around with the idea of using gyros and accelerometers, but their drift over time and sensitivity to bumping has always led us to distrust them.
__________________
  #3   Spotlight this post!  
Unread 11-02-2010, 11:17
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: Cross-Language Question ... Control Systems Practices ... Encoders/Gyros/Accels

Our team uses the gyro to drive straight. It may seem unnecessary, but a little difference in the speed of the motors and/or gearboxes results in the robot curving when driven straight. The gyro, despite it's drift, is capable of detecting the unwanted rotation and, after a little scaling, the error between that rotation and the desired rotation can simply be added to the motors. You'd be amazed how much this makes a difference in driving.

As for encoders, we generally use them for controlling any mechanism that is driven by a motor and requires control feedback to operate.
__________________
Twitter Profile
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
Question: Team practices to promote/support academics evergreen General Forum 13 31-08-2008 23:47
Wiring Gyros and Encoders? SuspectZero Electrical 3 03-02-2008 15:30
Position idlers to get better chain wrap -- a question about good practices. Madison Technical Discussion 23 31-01-2008 09:35
encoders/gyros/potentiometers nehalita Programming 12 31-01-2005 23:08
Control Systems archiver 2000 1 23-06-2002 22:15


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

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