Say Hello

This project will combine several functions from the preceding projects. The PiCar-X movement will be remotely controlled, and the PiCar’s camera will be remotely controlled by using two joystick controllers. When PiCar recognizes someone’s face, it will nod politely and then say “Hello!”.

_images/how_are_you.jpg

TIPS

_images/sp210512_161525.png

The if do block is used to nod politely once the conditional judgment of “if” is true.

_images/sp210512_161749.png

The conditional statements block is used in conjunction with the if do block. The conditions can be “=”, “>”, “<”, ” ≥ “, ” ≤ “, or ” ≠ “.

EXAMPLE

_images/sp210512_162305.png