-
Notifications
You must be signed in to change notification settings - Fork 157
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
Add QoS profile parameter to image bridge #335
Conversation
Signed-off-by: Sebastian Castro <sebas.a.castro@gmail.com>
ebd3bf1
to
d194dd6
Compare
014197a
to
f111628
Compare
Signed-off-by: Sebastian Castro <sebas.a.castro@gmail.com>
f111628
to
72c2a03
Compare
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.
can you add some documentation in the README.md of this packages?
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.
cpplint
is failing too
3: /github/home/ws/src/ros_gz/ros_gz_image/src/image_bridge.cpp:21: Found C system header after C++ system header. Should be: image_bridge.h, c system, c++ system, other. [build/include_order] [4]
Somehow this issue was there for the code even without my modifications. Anyways, I've rearranged it and got rid of this check failing locally. Added doc as well. Also sorry for the force-pushing. I keep forgetting to sign my commits :/ |
e7aa849
to
b272c27
Compare
Signed-off-by: Sebastian Castro <sebas.a.castro@gmail.com>
b272c27
to
6afdea1
Compare
Signed-off-by: Sebastian Castro <sebas.a.castro@gmail.com>
6afdea1
to
0e4f2ef
Compare
Anything else blocking kicking off CI? I think I got all the changes. |
@ahcorde Let's merge this one as we are in the new year now. Anything that needs attention from your perspective? |
🎉 New feature
Closes #336
Summary
This PR modifies the
image_bridge
node in theros_gz_image
package to optionally specify a different (non-default) QoS profile. This was motivated by the fact that we (and presumably many others) want to use the "sensor data" QoS profile.This exposes a new string parameter in the node named
qos
which defaults todefault
. This should be the same behavior as the original implementation ofimage_bridge.cpp
.Summary
Test it
To test this, you can run an image bridge:
or in e.g. a Python launch file:
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.