|
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
|