Go to Post "FIRST isn't what it used to be anymore. It makes me upset and it makes me question many things." - Arefin Bari [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 15-12-2007, 08:06
RGuindon RGuindon is offline
Registered User
FRC #1072
 
Join Date: Nov 2006
Location: california
Posts: 1
RGuindon is an unknown quantity at this point
How long to understand camera and write useful code

Hi,

I am a 11th grade student. I have never used the camera before
but would like to this year.

How long does it take to become familar with the camera?
How long before I'll write useful code.

Thanks for your help
  #2   Spotlight this post!  
Unread 15-12-2007, 08:31
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: How long to understand camera and write useful code

IMO, The best way to get started with the camera is to use Kevin Watson's code from http://www.kevin.org/frc/. He has not only great documentation but some code that can get you up and running with the camera in no time. Currently it is all for the 2007 and older RCs but I don't think it will take him long to update it for 2008 if needed.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
  #3   Spotlight this post!  
Unread 15-12-2007, 13:32
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,381
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: How long to understand camera and write useful code

Quote:
Originally Posted by jtdowney View Post
IMO, The best way to get started with the camera is to use Kevin Watson's code from http://www.kevin.org/frc/. He has not only great documentation but some code that can get you up and running with the camera in no time.
I will second this recommendation!
The key in learning and understanding Kevin's code is to READ HIS COMMENTS AND EXPLANATIONS. (I wrote that in all caps for emphasis, I'm not yelling.)
Start by reading the READ ME file he includes. Pay close attention to his .h files, they hold a wealth of information. Then, read the comments in the associated .c files. Lastly, read the code it's self, you will find it is actually simple to follow.
I would not wait until Kick Off to start this. You can download the files to any PC and start the process of learning right now, you do not need MPLAB to read the files, just open them in Notepad or any text editor.

When you have question about his code, search here for the answers, or, ask the question if your search does not provide a satisfactory explanation.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #4   Spotlight this post!  
Unread 16-12-2007, 01:37
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: How long to understand camera and write useful code

I would have to agree. As long as you have a basic understanding of the C language, read Kevin's camera.c, and tracking.c

Camera.c has the lower level functions in it that interface directly with the serial port. Tracking.c uses the data acquired by Camera.c to "track" the light with the servos around the camera.

I am a 10th grade student, and my knowledge is limited as well, but after a whole year (9th grade) of not understanding it, I finally sat down and read the code. Needless to say, it helped!

Last edited by neutrino15 : 16-12-2007 at 06:37.
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
how to write a good proposal and sponsorship letter for a event alanelf Fundraising 17 03-05-2011 06:58
Problems Combining Camera Code and Driving Code cmurdoch Programming 20 10-02-2007 16:34
Some things i'm trying to understand on Kevin's Accelerometer Code Squall Programming 2 03-02-2005 12:01
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
How long does it take you to load the default code? vegasmcse Robotics Education and Curriculum 10 03-11-2003 21:41


All times are GMT -5. The time now is 19:47.

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