A Portable Implementation of the Real-Time Publish-Subscribe Protocol for Microcontrollers in Distributed Robotic Applications

This paper presents embeddedRTPS, a portable and open source implementation of the Real-Time Publish-Subscribe Protocol (RTPS). RTPS is the underlying protocol for the Data Distribution Service (DDS), which is a standardized middleware that allows for implementing distributed, loosely-coupled applications. DDS is not only the core protocol for the Robot Operating System (ROS) 2, but is also one of the few protocols that are part of the AUTOSAR Adaptive platform. In contrast to the available open-source RTPS implementations, embeddedRTPS is based on FreeRTOS and lightweightIP and targets resource-constrained embedded platforms. Our contribution allows microcontrollers to become independent, first-class participants in distributed automotive and robotic applications. We benchmark our implementation using a consumer-grade STM32 microprocessor as well as an ASIL-D certified, automotive microcontroller.

[1]  Ingolf Krüger,et al.  Addressing the Integration Challenge for Avionics and Automotive Systems—From Components to Rich Services , 2010, Proceedings of the IEEE.

[2]  Andreas Winckler,et al.  Design and Realization of an IP-based In-Car Network Architecture , 2008 .

[3]  Simon Fürst,et al.  AUTOSAR for Connected and Autonomous Vehicles: The AUTOSAR Adaptive Platform , 2016, 2016 46th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshop (DSN-W).

[4]  David B. Stewart,et al.  A study of the applicability of existing exception-handling techniques to component-based real-time software technology , 1998, TOPL.

[5]  Manfred Broy,et al.  Engineering Automotive Software , 2007, Proceedings of the IEEE.

[6]  Alois Knoll,et al.  An Automotive Side-View System Based on Ethernet and IP , 2012, 2012 26th International Conference on Advanced Information Networking and Applications Workshops.

[7]  Björn Franke,et al.  Low-cost deterministic C++ exceptions for embedded systems , 2019, CC.

[8]  Manfred Broy,et al.  On Service-Orientation for Automotive Software , 2017, 2017 IEEE International Conference on Software Architecture (ICSA).

[9]  G. Pardo-Castellote,et al.  OMG data distribution service: architectural overview , 2003, IEEE Military Communications Conference, 2003. MILCOM 2003..

[10]  Qing Li,et al.  Real-Time Concepts for Embedded Systems , 2003 .