arrow
Return

Model-Based Development for Event-Driven and Timer-Driven ROS 2 Nodes Considering Parallelization

delete2026-01-01
delete0
PRE
AI
K
Kenshin Obi *
T
Takumi Onozawa
R
Ryo Yoshinaka
H
Hiroshi Fujimoto
T
Takuya Azumi
DOI:10.1109/OJIES.2026.3659855delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In recent years, the increasing complexity of industrial cyber-physical systems such as autonomous vehicles has tightened real-time constraints, yet conventional model-based development (MBD) does not always exploit embedded multi/many-core processors. Obstacles include the need to manually implement ROS 2 I/O and node structure, the requirement in ROS 2 to handle execution timing such as event-driven and timer-driven callbacks and multi-input synchronization, and parallelization must be repeated for target hardware configurations. Although Model-based Parallelizer (MBP) can generate task-parallel code from Simulink models, its support for MATLAB/Simulink Toolbox blocks (e.g., ROS Toolbox) is limited, and lacking data parallelism, speedup is hard to obtain. This paper proposes a Simulink-to-ROS 2 parallel code generation method from Simulink models that include Toolbox blocks. The proposed method preserves Toolbox-equivalent functionality while preventing excessive block reduction from degrading parallelism, and generates ROS 2 C++ nodes automatically that support event-driven and timer-driven execution. Functional correctness is validated through split-merge-based verification and back-to-back tests using identical rosbag2 inputs. Beyond single-node execution time, the method measures end-to-end pipeline execution time across multiple nodes and ROS 2 latency; variability is quantified using WCET (maximum over 1,000 runs), jitter, and variance. Autoware Universe-derived ROS 2 nodes are evaluated on Raspberry Pi 4, WSL2, and the Coolidge platform. The evaluation demonstrates up to 15.92 times speedup on a 16-core Coolidge configuration. Meanwhile, ROS 2 communication and scheduling latency remains below approximately 1% of a 100 ms cycle. These results demonstrate practical, reproducible high-performance ROS 2 deployment on embedded platforms using Toolbox-based MBD.
Keywords:
Mathematical models
Codes
Software packages
Autonomous vehicles
Software
C plus plus languages
MATLAB
Real-time systems
Pipelines
Parallel processing
Embedded systems
model-based development (MBD)
multicore processor

Journal

I
IEEE Open Journal of the Industrial Electronics Society
IF:
4.3
Papers:
1.7K
Citations:
991

Organization

S
saitama university
Scholars:
442
Papers: 213
Citations: 0
Cited Papers

Cited Papers

A software stack for next-generation automotive systems on many-core heterogeneous platforms
err2017-07-01
err0
errOAAI
errPaolo Burgio; Marko Bertogna; Nicola Capodieci; Roberto Cavicchioli; Michal Sojka; Přemysl Houdek; Andrea Marongiu; Paolo Gai; Claudio Scordino; Bruno Morelli
errShare
errSave
A Self-Driving Car Architecture in ROS2
err2020-01-01
err0
PREAI
errMichael Reke; Daniel Peter; Joschua Schulte-Tigges; Stefan Schiffer; Alexander Ferrein; Thomas Walter; Dominik Matheis
errShare
errSave
OSCAR Parallelizing and Power Reducing Compiler and API for Heterogeneous Multicores : (Invited Paper)
err2021-11-01
err0
PREAI
errKasahara,Hironori; Kimura,Keiji; Kitamura,Toshiaki; Mikami,Hiroki; Morita,Kazutaka; Fujita,Kazuki; Yamamoto,Kazuki; Kawasumi,Tohma
errShare
errSave
errShare
errSave
CARET: Chain-Aware ROS 2 Evaluation Tool
err2022-12-01
err0
PREAI
errTakahisa Kuboichi; Atsushi Hasegawa; Bo Peng; Keita Miura; Kenji Funaoka; Shinpei Kato; Takuya Azumi
errShare
errSave
researcher View more