Rooms - Wiser93/Programming-Things-Zumo-Assignment GitHub Wiki
Rooms
When the Zumo is outside a room the user must press the 'r' key. The robot then waits for the user to turn either left or right towards the room. Once the Zumo has been turned and stopped facing the room it will recognise this behaviour and move into the room slightly. It will then turn left 90 degrees and then turn right 180 degrees and then back left 90 degrees to face straight on. While doing this the U/s sensors will be scanning for people inside the room. Once it has returned to facing straight on it will display a message if it has found a person inside the room. The user can then navigate the robot out of the room and press 'c' once it is back in the corridor and ready to move on.