def __str__(self):
        return "Servo #{}: pos:{} duty/period: {}/{} pol:{}".format(
            self.pwm_num,
            self.position,
            self.pwm.duty,
            self.pwm.period,
            self.pwm.polarity)
Override string representation of this object for readability.
dataset/ETHPy150Open IEEERobotics/bot/bot/hardware/servo.py/Servo.__str__