Navigating Corridors - Wiser93/Programming-Things-Zumo-Assignment GitHub Wiki

Corridors

Move the Zumo by using w, a, s and d keys and if the Zumo sensors detect that it is moving over the corridor boundaries then it will automatically re-align itself by turning in towards the center of the corridor. If the central sensors detect a line then the Zumo assumes that it has reached a corner and will stop then reverse to allow space for turning.

Detecting in the corridors

The Zumo can also detect people in corridors and if it does it will stop and display a message telling the user that a person has been found. Once the person has been removed then the user can press 'c' to continue normal functionality.