Skip to content

Conversation

@RaphvK
Copy link

@RaphvK RaphvK commented Jan 29, 2026

Description

The ros2_tracing README refers to @christophebedard's paper "Message Flow Analysis with Complex Causal Links for Distributed ROS 2 Systems", which demonstrates how to trace complex ROS message flows, e.g., if one published message depends on two input messages. As shown in his example repository, this is achieved by adding TRACETOOLS_TRACEPOINT(message_link_* ...) calls to the source code to define the input/output relationships.

The ROS 2 Incubator plugin, which is released with Eclipse Trace Compass already supports this type of tracepoints. However, they are not integrated in the released versions of ros2_tracing. Therefore, I rebased the old branch message-link-instrumentation-iron on the current rolling branch and added necessary changes. Additionally, I added the message_link_* tracepoints to the default events handled by the tracetools_launch.action.Trace() ROS action.

Test cases for message_link_partial_sync and message_link_periodic_async were also added.

Is this user-facing behavior change?

Did you use Generative AI?

Additional Information

I implemented a test setup to verify that the changes work with ROS 2 Rolling: https://github.com/RaphvK/ros2-message-flow-test/tree/rolling

christophebedard and others added 4 commits January 29, 2026 10:11
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
Signed-off-by: Raphael van Kempen <raphael.vankempen@ika.rwth-aachen.de>
Signed-off-by: Raphael van Kempen <raphael.vankempen@ika.rwth-aachen.de>
Signed-off-by: Raphael van Kempen <raphael.vankempen@ika.rwth-aachen.de>
Signed-off-by: Raphael van Kempen <raphael.vankempen@ika.rwth-aachen.de>
@RaphvK RaphvK force-pushed the message-link-instrumentation-rolling branch from 5d56e1e to d78a56f Compare January 29, 2026 14:07
@christophebedard christophebedard self-requested a review February 5, 2026 18:02
@christophebedard christophebedard self-assigned this Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants