while (1) butt.kick();
Introduction Design
Process
Mechanical
Hardware
Electrical
Hardware
Software Gems of
Wisdom
Pictures/
Video
Links

Design

Due to the relatively linear sequence of tasks needed to be accomplished by the robot, it was decided not to use a formal state machine architecture for the software. Each task the robot had to accomplish usually only had to be done once. Therefore, it made sense to use a purely procedural architecture with nested if statements.

Pseudocode

Main Program

Show/Hide

Action Module

Show/Hide

Tape Module

Show/Hide

Motor Module

Show/Hide

IR Module

Show/Hide

Sorter Module

Show/Hide

Encoder Module

Show/Hide