-
Notifications
You must be signed in to change notification settings - Fork 164
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
[ros2doctor] Add QoS compatibility check and report #621
Conversation
Signed-off-by: Audrow Nash <audrow@hey.com>
Signed-off-by: Audrow Nash <audrow@hey.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am good to go with this, test would be ideal.
Signed-off-by: Audrow Nash <audrow@hey.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I've left some comments/suggestions below.
I haven't tried it out yet. I agree that it would be good to add a test.
Signed-off-by: Audrow Nash <audrow@hey.com>
Signed-off-by: Audrow Nash <audrow@hey.com>
Signed-off-by: Audrow Nash <audrow@hey.com>
Signed-off-by: Audrow Nash <audrow@hey.com>
Signed-off-by: Audrow Nash <audrow@hey.com>
The new check error output is as follows:
Warnings are displayed similarly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM pending CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with a couple of nitpicks.
Signed-off-by: Audrow Nash <audrow@hey.com>
Signed-off-by: Audrow Nash <audrow@hey.com>
Signed-off-by: Audrow Nash <audrow@hey.com>
de62ba6
to
b58c083
Compare
Signed-off-by: Audrow Nash <audrow@hey.com>
Signed-off-by: Audrow Nash <audrow@hey.com>
Is this feture in the debians already? Because I've run this in my local isntalation og Galactic and it just doesnt generate this Compatibility info. Any ideas? |
I think that this is merged only to master (Humble), so galactic does not support this feature. |
That's correct, this is only available in Rolling (to be Humble). However, I think the nature of the change makes it backportable if someone would like to open up a backport PR to Galactic (and maybe Foxy). |
Here is an example of what the check looks like if an incompatibility error is detected;
Here is what a report looks like with two pub/sub pairs, one compatible and one incompatible:
The messages for warnings are similar.
Here is the report if there are no publisher/subscription pairs:
I haven't written any tests for this yet and would be happy for suggestions on how to do so.