In this lesson, we will assemble a model of a walking robot that can move forward, backward and sideways, as well as turn around on the spot. We will control such movements by tilting the robot in the appropriate direction, as well as using the hub buttons (for U-turns).
In the SPIKE program, after connecting the hub, you will find the angles of inclination in degrees: the angle of yaw, pitch and roll. In the “orientation” you can see which side of the hub is turned up.
All these readings are based on data from the gyroscope built into the hub. A gyroscope is a device with which you can measure the orientation angles of the body on which it is installed. The simplest example of a gyroscope is a spinning top.