A microservice-based architecture for autonomous driving software that adheres to the software-defined vehicle (SDV) paradigm is presented in this study. The architecture supports effective real-time performance and improves flexibility, scalability, and maintainability by segmenting Autoware's ROS 2-based system into modular containers.A microservice-based architecture for autonomous driving software that adheres to the software-defined vehicle (SDV) paradigm is presented in this study. The architecture supports effective real-time performance and improves flexibility, scalability, and maintainability by segmenting Autoware's ROS 2-based system into modular containers.

Modular Design Is Solving Autonomous Driving's Biggest Challenges

2025/10/15 13:00
4 min read
For feedback or concerns regarding this content, please contact us at [email protected]

:::info Authors:

(1) Tobias Betz, Technical University of Munich, Germany;

(2) Long Wen, Technical University of Munich, Germany;

(3) Fengjunjie Pan, Technical University of Munich, Germany;

(4) Gemb Kaljavesi, Technical University of Munich, Germany;

(5) Alexander Zuepke, Technical University of Munich, Germany;

(6) Andrea Bastoni, Technical University of Munich, Germany;

(7) Marco Caccamo, Technical University of Munich, Germany;

(8) Alois Knoll, Technical University of Munich, Germany;

(9) Johannes Betz, Technical University of Munich, Germany.

:::

Abstract and I. Introduction

II. Related Work

III. Microservice Architecture for an Autonomous Driving Software

IV. Experiments

V. Results

VI. Discussion

VII. Conclusion, Acknowledgments, and References

\

III. MICROSERVICE ARCHITECTURE FOR AN AUTONOMOUS DRIVING SOFTWARE

Following the paradigms of software-definedness, the microservice architecture for autonomous driving software is designed to enhance the modularity of the software, enabling

\ Fig. 2: Schematic of the build and deployment process of the microservice architecture: After committing code changes to the Autoware repository on the CI server, the test procedure and docker image build steps are triggered. The built images are stored in the container registry and can be pulled from the cloud onto the host system. The corresponding module images are based on a base image that contains the necessary basic installations. This module image, in turn, also serves as a container for the development of features.

\ efficient development and corresponding software deployment. The core of our architecture is a base image that forms the basic building block for the individual module containers. Specialized containers implementing dedicated functionalities are derived from the base image. The base image can also be used for development as it has the requirements for building the complete code. The base image includes essential installations such as ROS 2 and optional libraries like cuda, cuDNN, and TensorRT, which are not necessarily required by every specialized module. The advantages of using a single base image are manifolds. The configuration and installation of all packages can be centralized using a multi-step process that relies on, e.g., Ansible roles, rosdep installation, and manual configuration. This also simplifies the management of cross-package dependencies, facilitates freezing packages to specific versions, and avoids introducing incompatibilities between (updated) packages and our code.[1] Once configured, the base image rarely needs to be rebuilt. Fig. 2 depicts the build and deployment process of the microservice architecture. We divided the Autoware software into eight dedicated containers based on the functional modules in the software. The containers are sensing, perception, localization, map, planning, control, vehicle, and system. Each container consists of multiple ROS 2 nodes, as shown in Table I. In our architecture, the entire ROS 2 launch structure of Autoware was restructured with the separation of individual modules. The centralized launch package, which listed all packages as dependencies, was split into individual launch packages for each module (with only

\ TABLE I: Description of the individual services and number of executed ROS 2 nodes for the Autoware microservices.

\ the needed dependencies). As a result, each module can be built and launched individually. The former central launch package included all launch parameters. In contrast, in our architecture, a separate package was created to contain these launch parameters, which are accessible by the module launch files. Additionally, we integrated the launch parameters to be located outside the containers and mounted during the startup of the respective containers. This approach provides the advantage that changes affecting several module containers, such as the vehicle model, only need to be modified in one location, ensuring consistent parameters for all modules. We developed a continuous integration (CI) pipeline for building custom module containers that ensures compatibility with both x86 and aarch64 architectures by using cloud-native hardware resources. The CI pipeline consists of several stages that enable both the creation of the entire software and the targeted creation of individual modules. This approach offers efficiency advantages, eliminating the need to rebuild all containers for each code change. Additionally, it facilitates selective updates and maintenance via a CI pipeline-based multi-stage testing process. Initially, unit tests are conducted, followed by modular tests in which several functions and their interactions are assessed. Due to the modular container structure, a test does not have to be executed repeatedly, but only within the respective container module. We utilize the CI cloud infrastructure to store our built containers in the container registry. The built containers can be seamlessly deployed on both simulation infrastructure and actual vehicles, offering a flexible deployment strategy. Compared to a monolithic architecture, our microservice architecture improves the development and deployment of the software. During development, the software developer only needs to handle the dependencies related to the respective functionality. The building of the software is automatized in the cloud, and the deployment is simplified. This development and deployment workflow of the microservice architecture is successfully used in real vehicle projects [7], [26].

\

:::info This paper is available on arxiv under CC by 4.0 Deed (Attribution 4.0 International) license.

:::


[1] Managing dependencies in ROS 2 is particularly complex and manual optimization, as well as package updates, quickly become a daunting task.

Market Opportunity
RealLink Logo
RealLink Price(REAL)
$0.05731
$0.05731$0.05731
+2.57%
USD
RealLink (REAL) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact [email protected] for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.
Tags:

You May Also Like

Tennis Death Threats & Match Fixing: WTA Players Targeted

Tennis Death Threats & Match Fixing: WTA Players Targeted

Cryptsy - Latest Cryptocurrency News and Predictions Cryptsy - Latest Cryptocurrency News and Predictions - Experts in Crypto Casinos WTA players Panna Udvardy
Share
Cryptsy2026/03/10 18:37
Swiss Crypto Bank Just Became the First Regulated Bank Inside the EU’s Blockchain Trading System

Swiss Crypto Bank Just Became the First Regulated Bank Inside the EU’s Blockchain Trading System

AMINA Bank AG joined 21X as its first fully regulated bank participant, connecting institutional-grade custody to the European Union’s only DLT-regulated trading
Share
Ethnews2026/03/10 18:10
Curve Finance Pitches Yield Basis, a $60M Plan to Turn CRV Tokens Into Income Assets

Curve Finance Pitches Yield Basis, a $60M Plan to Turn CRV Tokens Into Income Assets

The post Curve Finance Pitches Yield Basis, a $60M Plan to Turn CRV Tokens Into Income Assets appeared on BitcoinEthereumNews.com. Curve Finance founder Michael Egorov unveiled a proposal on the Curve DAO governance forum that would give the decentralized exchange’s token holders a more direct way to earn income. The protocol, called Yield Basis, aims to distribute sustainable returns to CRV holders who stake tokens to participate in governance votes, receiving veCRV tokens in exchange. The plan moves beyond the occasional airdrops that have defined the platform’s token economy to date. Under the proposal, $60 million of Curve’s crvUSD stablecoin will be minted before Yield Basis starts up. Funds from selling the tokens will support three bitcoin-focused pools; WBTC, cbBTC and tBTC, each capped at $10 million. Yield Basis will return between 35% and 65% of its value to veCRV holders, while reserving 25% of Yield Basis tokens for the Curve ecosystem. Voting on the proposal runs from Sept. 17 to Sept. 24. The protocol is designed to attract institutional and professional traders by offering transparent, sustainable bitcoin yields while avoiding the impermanent loss issues common in automated market makers. Diagram showing how compounding leverage can remove risk of impermanent loss (CRV) Impermanent loss occurs when the value of assets locked in a liquidity pool changes compared with holding the assets directly, leaving liquidity providers with fewer gains (or greater losses) once they withdraw. The new protocol comes against a backdrop of financial turbulence for Egorov himself. The Curve founder has suffered several high-profile liquidations in 2024 tied to leveraged CRV purchases. In June, more than $140 million worth of CRV positions were liquidated after Egorov borrowed heavily against the token to support its price. That episode left Curve with $10 million in bad debt. Most recently, in December, Egorov was liquidated for 918,830 CRV (about $882,000) after the token dropped 12% in a single day. He later said on…
Share
BitcoinEthereumNews2025/09/18 18:00