Svashasan Logo
Simulated data

Robotics and Middleware · Communication property

Real-Time Communication

Also known as deterministic communication, time-critical communication, real-time networking

AdvancedSource-checked · awaiting technical reviewLast reviewed 6 December 2026

Communication whose correctness depends on delivering messages within specified time bounds (maximum latency and jitter) rather than simply being fast, achieved through deterministic protocols, scheduling and analysis along the whole path.

Explanation

In a vehicle, a control or perception message that arrives late can be as harmful as one that is lost. Real-time communication therefore specifies deadlines, latency budgets and jitter limits end to end, from the sending task through the operating system, middleware and network layers to the receiving task.

Different technologies provide different guarantees. CAN resolves contention by identifier priority, so the worst-case response time of high-priority frames can be calculated with response-time analysis. FlexRay reserves static time slots with guaranteed latency and jitter. Ethernet becomes deterministic through time-sensitive networking features such as time synchronisation and scheduled traffic. In middleware, DDS and ROS 2 QoS policies such as deadline, lifespan and reliability express timing expectations, while real-time operating systems and PREEMPT_RT bound software delays.

The ROS 2 documentation notes that real-time loops must avoid non-deterministic operations such as page faults, dynamic memory allocation and synchronisation that can block indefinitely. Guarantees require worst-case analysis, including retransmissions, queueing and CPU contention, not just average measurements.

How it works

Engineers assign each data flow a deadline and priority and choose a network mechanism: priority arbitration, time slots or scheduled Ethernet windows. Clocks are synchronised where scheduling depends on time. Software paths are bounded with real-time scheduling, pre-allocated memory and non-blocking or priority-inheritance synchronisation. Analysis, or measurement under worst-case load, then confirms that every flow meets its latency and jitter limits.

Automotive applications

  • Transmission of brake and steering commands
  • Synchronised sensor data for fusion
  • Motor control over field buses
  • Coordinated actuation across zonal controllers

Example

A steering-angle command must reach its actuator within 5 ms with less than 0.5 ms jitter. It travels in a reserved TSN window on the Ethernet backbone, is received by a SCHED_FIFO thread on the zone controller, and is forwarded on CAN FD with the highest-priority identifier on that bus.

An illustrative example: any figures in it are worked numbers, not measurements.

References

  1. Understanding real-time programming (ROS 2 documentation source) (opens in a new tab)

    Open Robotics / ROS 2 documentation project · Project documentation · Background; source of the docs.ros.org rolling page; docs.ros.org blocked automated access · retrieved 6 December 2026

    “To make a real-time computer system, our real-time loop must update periodically to meet deadlines.”
  2. Time-Sensitive Networking (TSN) Task Group (opens in a new tab)

    IEEE 802.1 Working Group · Standard · Charter · retrieved 6 December 2026

  3. Controller Area Network (CAN) schedulability analysis: Refuted, revisited and revised (Davis, Burns, Bril, Lukkien), Real-Time Systems 35(3):239-272, 2007 (opens in a new tab)

    University of York Research Database (Springer journal article) · Paper · Abstract · retrieved 6 December 2026

Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.