Design

To solve a set of missions it is important to first create a Design which communicates the steps that will be taken in solving missions. Breaking down the missions into steps simplifies the next step of writing the code. It also help communicate how you solved the missions to others.

Before programming a mission or a set of missions to be completed on a single run (a single launch from Home area) the following design steps need to be completed:

  • Pseudocode writing out all the moves the robot will make. Include every step to get to a mission model, perform an action with the model, and return to home.

  • Drawing of the path with steps labeled on the RePLAY Wireframe and Grid.

  • Simple drawing and written description of attachment used for the run, if one is included. From this it should be clear the direction of type of movement of the attachment as well as any gearing used to move the attachment. For example does it move straight up/down, left/right, pivot along an axis.
    How is the motion driven from a motor? How does the attachment hook, grab, lift, or otherwise manipulate an object?

Pseudocode Example (to get to Boccia court)

Starting Point: 1B
Move 1: Move straight to F1 ____ cm
Move 2: Square on the North-South line
Move 3: Backup 9 cm
Move 4: Turn left 90 degrees
Move 5: Move straight 60 cm
Move 6: Turn Motor A to ............. (replace this with action(s) taken at model)
Move 7: Move straight back 60 cm
Move 8: Turn Left 90 degrees
Move 9: Drive straight ____ cm to return home