Software


For the past few days, the RC (Robot Controller) has been crashing. I tried EVERYTHING to figure out what the error was; I even commented out the entire “Default_Routine()” function, but it still crashed. I finally resorted to pulling out all the “digital i/o” pwm cables, in a desperate attempt. I did not really expect this, out of all things, to do anything…. but it worked!

I ended up un-commenting all my code in the “Default_Routine()”, and ran it successfully. So why did it not like digital input? Well… it turns out that i am incapable of reading directions (like every other engineer in the world), and didnt add all the code so the encoders could initialize correctly.

I guess the moral of the story is to read the instructions…. (Haha, I doubt that is going to happen… :P)

++<3; /* more love to you all */

~ Amanda Canyon

/* Director of Programming and Electrical */

Today I began experimenting with the CMUcam in hopes that I could get it tracking the green light which will be positioned above the rack. With the help of one of our mentors, Neil, I was able to get this camera tracking the camera wonderfully!

From that point, I took the code written for our 2006 robot and placed parts of it in the new 2007 code and loaded it onto our 2006 robot. It worked great! Well… would have if the 2006 code worked right…. For some reason, the wheel on our shooter will not slow down when it should, but I think I know how to fix it.

Wish me luck!