Servo

class compLib.Servo.Servo

Control the servo ports on the robot

static set_position(port: int, angle: float, offset: float = 90.0)

Set position of servo connected to port

Parameters
  • port – port between 1 and 8

  • angle – Angle of servo

static setup_position()

Set position of servos to the position used during the setup process