27.09.2017 Views

Tickle-Tutorial-for-Drones

Este tutorial es de gran ayuda para aprender a programar y usar minidrones Parrot

Este tutorial es de gran ayuda para aprender a programar y usar minidrones Parrot

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Fly in a Square Route using <br />

Loops <br />

• A loop is used when the number of iterations <br />

can be calculated and known in advance. In our case <strong>for</strong> flying along a <br />

square route, the same blocks <br />

( and ) <br />

will be per<strong>for</strong>med 4 identical times. There<strong>for</strong>e, we can use the block <br />

to replace the redundant blocks, and the <br />

program would look like this:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!