Skip to content

Conversation

ncherakara-launchpad
Copy link

This pull request improves the message handling logic in the RosTopicSubNode<T>::tick() method to ensure that messages are received within a short timeout period before proceeding. The main change introduces a 50ms timeout loop that spins the callback group executor and waits for a message, improving reliability when messages may not have arrived yet.

Message reception and processing improvements:

  • Added a 50ms timeout loop in RosTopicSubNode<T>::tick() to spin the callback group executor and wait for a message if last_msg_ is not available, sleeping briefly between spins to avoid busy waiting.

@ncherakara-launchpad ncherakara-launchpad deleted the fix-sub-node-message-reading-logic branch September 9, 2025 08:03
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.

1 participant