Work through the tutorial and answer the following questions. You can submit your answers on a separate paper or email them to [email protected].

Question 1

The robot has six bumpers. In a few sentences, please describe how these sensors work. Describe what the sensors detect and how they do this.

Question 2

The following code reads the values of the sensors. Explain briefly what the values in bumpers mean.

bumpers = robot.get_bumpers()

Question 3

What does the following line of code accomplish? Explain in a few sentences.

robot.kinematic(50, 10)

Question 4

What code could you use to make the robot stop when it is currently moving? There are multiple possible answers to this question. Please provide one possibility.

Question 5

Suppose you want to have the robot turn 90 degrees. What code could you use for this?