Cliff DetectionΒΆ

This project will use the grayscale module to prevent the PiCar-X from falling off a cliff while it is moving freely around your home. This is an essential project for houses with staircases.

TIPS

_images/sp210512_164544.png

The grayscale module will be performing the same operation multiple times. To simplify the program, this project introduces a function that will return a list variable to the do forever block.

EXAMPLE

_images/sp210512_164755.png _images/sp210512_164832.png