Servo

class compLIB.Servo.Servo

Control the servo ports on the robot

static set_position(channel: int, angle: int)

Set position of servo connected to port

Parameters
  • channel – channel between 0 and 7

  • angle – Angle of servo

static setup_position()

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