|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Out of the Box Camera Code
Well, I guess it could, but isnt that in user_routines.c? One of my goals with this was to create code that was sort of modular; all you have to do is insert this file into your code and as long as you have all the stuff to support the camera it should work. Also I thought some team might find it handy to be able to reset counter to zero and have that code run again. The reason that bit wasnt in the autonomous section was so the camera can scan before the match starts. I changed one thing since I posted this, and this was that I changed the name of the variable tracking, as tracking is used by the default code and I didnt want this to interfere with that or vice versa. Anyway if you get a chance to test it let me know how it goes. I have a readme file done, so Im gonna try to figure out how to post that without having to quote the whole thing.
Edit: Alright, figured it out. Here is the Readme, along with the most recent version of the code (note that I had to change the file type to .txt in order to attach it. You will have to change it back to .c). Last edited by russell : 18-02-2005 at 00:55. Reason: Added Readme |
|
#2
|
|||
|
|||
|
Re: Out of the Box Camera Code
I tested it as a quick setup to see if the camera would track an whatnot and it works. I had to change a few things, I think for some reason I got a code error without the camera installed, but I fixed that. I couldn't tell you anything I changed right now because my brain hurts... but you did an excellent job. I think this will help many many teams.
|
|
#3
|
||||
|
||||
|
Quote:
I see your thinking, good idea. Thanks for the help |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Combined Camera and PID/Encoder Code | Terry Sherman | Programming | 1 | 14-03-2005 17:59 |
| Problem downloading any Camera code | zuckie13 | Programming | 4 | 07-02-2005 20:32 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |
| CMUCam2 Camera Code - Are important parts commented out? | Mr. Lim | Programming | 4 | 14-01-2005 12:11 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |