View Single Post
  #3   Spotlight this post!  
Unread 18-02-2005, 00:46
russell's Avatar
russell russell is offline
Registered User
#1430 (WRONG)
Team Role: Electrical
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Anchorage AK
Posts: 402
russell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to allrussell is a name known to all
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).
Attached Files
File Type: txt readmev1.txt (7.7 KB, 207 views)
File Type: txt user_routines_fast.txt (12.1 KB, 203 views)

Last edited by russell : 18-02-2005 at 00:55. Reason: Added Readme