Mon 19 Feb 2007
Code error?!?!? WHAT?
Posted by Amanda Canyon under Build Season, Software
No Comments
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 */
