Title: A real-time embedded drive-by-wire control module for self-driving cars with ROS2

Authors: Hang Cui; Jiaming Zhang; William R. Norris

Addresses: Department of Mechanical Science and Engineering, University of Illinois at Urbana-Champaign, Urbana, Illinois, 61801, USA ' Department of Mechanical Science and Engineering, University of Illinois at Urbana-Champaign, Urbana, Illinois, 61801, USA ' Department of Industrial and Enterprise Systems Engineering, University of Illinois at Urbana-Champaign, Urbana, Illinois, 61801, USA

Abstract: The objective for attaining safety and reliability for an autonomous driving vehicle has provided numerous challenges for researchers. The widely used robot operating system (ROS) is centralised and wastes computing resources due to innate features of the architecture. This paper proposes a safety-critical Simulink compatible real-time operating system (RTOS)-based high-low level controller framework with real-time online parameter tuning for self-driving cars. In addition, a method for leveraging the new features of robot operating system 2 (ROS2), an enhanced safe and reliable self-driving platform, was designed and built. Two geometric path trackers, namely the pure pursuit controller and the Stanley controller were implemented on this high-low level controller framework. Both controllers were evaluated using both indoor and outdoor experiments with reliable performance. This is the first application of ROS2 on a small-scale Ackermann steering platform, and in the use of Simulink modelling for rapid control system prototyping.

Keywords: safety critical; real-time drive-by-wire; self-driving; robot operating system 2; ROS2.

DOI: 10.1504/IJMA.2021.10043905

International Journal of Mechatronics and Automation, 2022 Vol.9 No.2, pp.61 - 71

Received: 12 Oct 2020
Accepted: 06 Oct 2021

Published online: 12 Apr 2022 *

Full-text access for editors Access for subscribers Purchase this article Comment on this article