Transmit Ethernet Frame Queue

Transmits queue of packets with respect to the delays between successive frames.
timestamped_queue contains list tuples, each tuple contains:
  • Tthe delay between the previous message and the current message

  • The payload to be sent [(0,[1,2,3]), (2,[1,2,3]) …..]

Arguments Description

channel_name (str): channel name

timestamped_queue (list(tuple(int,list))): list of messages

note : first delay means we will send the packets immediately or after certain delay. The delay between each message is measured in nanoseconds. 1 000 000 000 ns = 1 s

Returns

bool: True if the listener is stopped. False otherwise.

Example

# payload example: [(0,[1,2,3]), (100000000,[1,2,3]), (100000000,[1,2,3])]
Transmit Ethernet Transmit Ethernet Frame Queue ${channel_name} ${payload}