Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly specify all qos depth #70

Merged
merged 5 commits into from
Feb 1, 2024
Merged

Conversation

koonpeng
Copy link

Bug fix

Thanks to @luca-della-vedova for pointing out that using the system default qos might not be appropriate as that depends on the RMW implementation, particularly, for cyclone, it defaults to history depth 1, making it very likely for messages to be silently discarded.

This series of PRs explicitly set a history depth of 10 to all topics and services that does not already set the history depth, those that already set the history depth are untouched. In total 78 instances across rmf codebases are modified, I tested this briefly, so far I haven't encountered any problems yet.

@aaronchongth This might fix some of the "unexplained" issues.

Implemented feature

Implementation description

Teo Koon Peng added 5 commits January 31, 2024 14:03
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Signed-off-by: Teo Koon Peng <koonpeng@openrobotics.org>
Copy link
Member

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this! Just tried it and multiple dispatches at the same time is working

@koonpeng koonpeng merged commit 79d15ab into main Feb 1, 2024
3 checks passed
@koonpeng koonpeng deleted the kp/always-specify-history-depth branch February 1, 2024 02:16
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.

None yet

2 participants