Go to Post Blue Nitrile Tread is the best smelling wheel tread. #thingsyoufigureoutat2AM - Ginger Power [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 11-01-2006, 15:03
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: 2006 Autonomous Disappointment

Quote:
Originally Posted by chris31
How fast can the camera track. Do i need to write some code to make it be able to track better. I havent yet set up the camera so i dont know how fats it really reacts.
You're free to modify/re-write the code any way you see fit. The camera, out of the box, tracks pretty well and can potentially be made faster by adjusting the two proportional gain values that are documented in tracking.h. You might also consider adding some more intelligence to the tracking algorithm. As an example, consider implementing some kind of forward predictor of where the center of the green blob (also known as the centroid) will be in the next t-packet and move the servos ahead of time. If the centroid moves 30 pixels to the left between the last t-packet and the current t-packet, it might be safe to assume that the centroid will move around 30 pixels left in the next frame. With that knowledge, command the servos such that the camera will move, say, half that distance left so that the calculated error on the next t-packet will be much smaller. If you don't understand this, don't worry as it's advanced stuff you'll get later in college if you take a control theory class.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
 


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
2006 game poll #3 (mor or less emphasis on autonomous) dhitchco Rumor Mill 3 19-11-2005 19:45
2006 game poll #4 (type of "sensing" in autonomous mode) dhitchco Rumor Mill 1 18-11-2005 12:27
A Warning to Human Players During Autonomous The Lucas General Forum 21 07-04-2005 02:29


All times are GMT -5. The time now is 07:34.

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