February 2020
Intermediate to advanced
432 pages
10h 50m
English
The servo package consists of a Pulse Width Modulation (PWM) servomotor. It is controlled in an open loop by applying a voltage that produces a proportional rotation of the motor shaft in a 180° amplitude coverage. In the following image there is a small rod that lets us visualize the rotation. In our GoPiGo3 assembly, we will see rotating the distance sensor:

The servo package is part of the GoPiGo3 API library described in the Distance sensor unit test section. Its API methods are detailed at ...