original_docstring: 
          Sends a command with the given data to the Carmen sensor.
          The CRC16 is calculated and appended.
  
          :param command: Command to send.
          :param data: Data to send if necessary. Default ist None.
          :return: True on success, else false.
          
docstring: Sends a command with the given data to the Carmen sensor.
  The CRC16 is calculated and appended.
docstring_tokens: Sends a command with the given data to the Carmen sensor . The CRC16 is calculated and appended .
code: def send(self, command: int, data: List[int] = None) -> bool:
          """
          Sends a command with the given data to the Carmen sensor.
          The CRC16 is calculated and appended.
  
          :param command: Command to send.
          :param data: Data to send if necessary. Default ist None.
          :return: True on success, else false.
          """
          if data is None:
              data = []
          crc = calculate_crc16([command] + data)
          return self._send_raw([command] + data + [crc & 0xFF, crc >> 8])
code_tokens: def send ( self , command : int , data : List [ int ] = None ) -> bool : if data is None : data = [ ] crc = calculate_crc16 ( [ command ] + data ) return self . _send_raw ( [ command ] + data + [ crc & 0xFF , crc >> 8 ] )
short_docstring: Sends a command with the given data to the Carmen sensor.
short_docstring_tokens: Sends a command with the given data to the Carmen sensor .
comment: """
          Sends a command with the given data to the Carmen sensor.
          The CRC16 is calculated and appended.
  
          :param command: Command to send.
          :param data: Data to send if necessary. Default ist None.
          :return: True on success, else false.
          """