Pause, Sleep, Rest

Sequential programs sometimes require that your robot take a break, pausing for some other actions.

It's like standing at a red light.

In order to tell your robot to take a break, you need to pause the sequential operation for some time.

Sleep Block

The Sleep Block under the Control Blocks category will do just that.

Challenges:

Use THIS LINK to add Sleep into your code.

Test

Computational Thinking Hints

Remember some of the processes that can help you think like a robot:

Decomposition - Break the problem down into little bits

You need:

Abstraction

Figure out the degrees/rotations/time needed to move forward to the first rest stop.

Once you have that you can forget about all the numbers in that move forward block.

Pattern Recognition

Note that the space between each rest stop is the same... you can probably reuse that forward block.

The rest can be the same length of time, so also can ruse!

Algorithmic Thinking

Try to write down in English what you need to do:

This is the plan...