Skip to content

Conversation

@atsushi421
Copy link
Collaborator

@atsushi421 atsushi421 commented Jan 28, 2026

Description

  • Add subscriber discovery wait loop in spawn_non_ros2_thread with 1 second timeout to prevent message loss when publishing NonRosThreadInfo
  • Add warning when no subscriber is connected for CallbackGroupInfo to guide users to start thread_configurator_node
  • Change QoS from keep_all() to reliable() for the NonRosThreadInfo publisher
  • Add wait_for_all_acked(500ms) after publishing to ensure the message is delivered before context shutdown

Related links

How was this PR tested?

  • Verified sample application runs without crashes
  • Confirmed warning messages appear when thread_configurator_node is not running

Notes for reviewers

N/A

…hread info

- Add subscriber discovery wait loop in spawn_non_ros2_thread with 1 second
  timeout to prevent message loss when publishing NonRosThreadInfo
- Add warning when no subscriber is connected for CallbackGroupInfo to guide
  users to start thread_configurator_node
- Backport from tier4/agnocast#967
…y before shutdown

Use reliable QoS and wait_for_all_acked() to ensure the message is
delivered to subscribers before shutting down the context, fixing
flaky test failures in CI environments.
@atsushi421 atsushi421 changed the title fix(cie_thread_configurator): wait for subscriber before publishing thread info fix(cie_thread_configurator): ensure thread info message delivery Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants