|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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.
|
|
#3
|
||||
|
||||
|
Re: How long to understand camera and write useful code
Quote:
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. |
|
#4
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |