original_docstring: 
          Receives data from the Carmen sensor.
  
          :param size: Number of bytes to receive.
          :return: True on success, else false.
          :return: The received data.
          
docstring: Receives data from the Carmen sensor.
docstring_tokens: Receives data from the Carmen sensor .
code: def _receive_raw(self, size: int) -> Tuple[bool, List[int]]:
          """
          Receives data from the Carmen sensor.
  
          :param size: Number of bytes to receive.
          :return: True on success, else false.
          :return: The received data.
          """
          data = list(self.__serial.read(size))
          logging.info('read <- {}'.format(' '.join('0x{:02X}'.format(x) for x in data)))
          success = size == len(data)
          if not success:
              logging.error('read timeout after {} s'.format(self.__serial.timeout))
              data = []
          return success, data
code_tokens: def _receive_raw ( self , size : int ) -> Tuple [ bool , List [ int ] ] : data = list ( self . __serial . read ( size ) ) logging . info ( 'read <- {}' . format ( ' ' . join ( '0x{:02X}' . format ( x ) for x in data ) ) ) success = size == len ( data ) if not success : logging . error ( 'read timeout after {} s' . format ( self . __serial . timeout ) ) data = [ ] return success , data
short_docstring: Receives data from the Carmen sensor.
short_docstring_tokens: Receives data from the Carmen sensor .
comment: """
          Receives data from the Carmen sensor.
  
          :param size: Number of bytes to receive.
          :return: True on success, else false.
          :return: The received data.
          """