docs: def get_model(servoid):
      """ Get the servo model
  
      This function gets the model of the herkules servo, provided its id
  
      Args:
          servoid(int): the id of the servo
  
      Returns:
          int:  an integer corresponding to the model number
                0x06 for DRS-602
                0x04 for DRS-402
                0x02 for DRS-202
      """
      data = []
      data.append(0x09)
      data.append(servoid)
      data.append(EEP_READ_REQ)
      data.append(MODEL_NO1_EEP)
      data.append(BYTE1)
      send_data(data)
      rxdata = []
      try:
          rxdata = SERPORT.read(12)
          return ord(rxdata[9])&0xFF
      except:
          raise HerkulexError("could not communicate with motors")