![]() _send_type def cycle_time ( self ) -> Optional : """The message cycle time, or ``None`` if unavailable. receivers ) return result def send_type ( self ) -> Optional : """The message send type, or ``None`` if unavailable. contained_messages is not None for cmsg in self. This is equivalent to the set of nodes which receive at least one of the signals contained in the message. _senders def receivers ( self ) -> Set : """A set of all receiver nodes of this message. _comments = value def senders ( self ) -> List : """A list of all sender nodes of this message. setter def comments ( self, value ): self. bit_length () if is_extended_frame : if frame_id_bit_length > 29 : raise Error ( 'Extended frame id 0x def comments ( self ): """The dictionary with the descriptions of the message in multiple languages. If you want the signals to be sorted in another way pass something like `sort_signals = lambda signals: list(sorted(signals, key=lambda sig: sig.name))` """ def _init_ ( self, frame_id : int, name : str, length : int, signals : List, # if the message is a container message, this lists # the messages which it potentially features contained_messages : Optional ] = None, # header ID of message if it is part of a container message header_id : Optional = None, header_byte_order : str = 'big_endian', unused_bit_pattern : int = 0x00, comment : Optional ] = None, senders : Optional ] = None, send_type : Optional = None, cycle_time : Optional = None, dbc_specifics : Optional = None, autosar_specifics : Optional = None, is_extended_frame : bool = False, is_fd : bool = False, bus_name : Optional = None, signal_groups : Optional ] = None, strict : bool = True, protocol : Optional = None, sort_signals : type_sort_signals = sort_signals_by_start_bit, ) -> None : frame_id_bit_length = frame_id. If you don't want them to be sorted pass `sort_signals = None`. By default signals are sorted by their start bit when their Message object is created. ![]() ![]() If `strict` is ``True`` an exception is raised if any signals are overlapping or if they don't fit in the message. Communications can be made between either individuals or a group, allowing users to send end-to-end encrypted text, picture, and audo & video messages, as well as engage in live video and audio calls. Class Message : """A CAN message with frame id, comment, signals and other information. Signal is a free and open source software application for Android, iOS, and Desktop that employs end-to-end encryption to keep communications safe.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |