9.24.2010

Day 6: TROUBLESHOOTING RULE #1: IS IT PLUGGED IN?

or "BLUH!!!"

SO. This is where we started today-
with that block of code from day 5 for line following with sobriety.
i am completely in love with nested if-then-else statements
but try as we might, we couldn't get it to work.
SO. several hours of confused coding and hair pulling later we have a workspace that looks something like this.
horrible.
that is not one or two but four different code for the same thing.
none of which work. 
at all.
(that is not all! there were several scrapped attempts from other angles! 
including several wait until's 
and parallel sensor-motor programs 
and attempts to recalibrate the sensor values
and 
etc 
etc 
etc)


but then. we addressed the obvious.

see.

The problem with working in code is that the world is not as nice as a simulation.
and sometimes. robots are not as nice as a simulation.


and sometimes-

sensors are plugged into slightly broken ports.

No comments:

Post a Comment