Download Final Report (Main Document)

Transcript
Figure 4.7 - BeemoBot line sensing algorithm flowchart
If a line sensor is asserted, this subroutine will be called above all others. Depending on which
line sensors were asserted at the time of the input data collection, the appropriate maneuver is
decided. Multiple line sensor assertion takes priority over only a single line sensor being
asserted. If any rear line sensor is asserted, the aforementioned “direction flag” will be set, and
the robot will reverse its directions.
20 |F i n a l R e p o r t