docs: def connect(portname, baudrate):
      """ Connect to the Herkulex bus
  
      Connect to serial port to which Herkulex Servos are attatched
  
      Args:
          portname (str): The serial port name
          baudrate (int): The serial port baudrate
      Raises:
          SerialException: Error occured while opening serial port
      """
      global SERPORT
      try:
          SERPORT = serial.Serial(portname, baudrate, timeout = 0.1)
  
      except:
          raise HerkulexError("could not open the serial port")