9.21.2010

Day 5: DOUBLE UPDATE, SO INTENSE!

or "yes, I did actually just say that"

we wrapped up the day by trying to address the issue of 'sobriety' in the black line challenge.
The old code-
man, THIS again.
lead to weaving and bobbing and general robotic drunkenness when implemented.

This new code is meant to address that.
They tried to make me go to rehab, I said no no no
Not that it actually works right now, but the general idea is to nest if-then-else statements to address straight lines (this whole two CS classes thing is starting to pay off a tiny bit!)
So when neither sensor is over the line it goes straight, and only turns when it has to to negotiate a turn or the fact that the motors don't go straight.
Hopefully!

No comments:

Post a Comment