-
Notifications
You must be signed in to change notification settings - Fork 138
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
Adding a new example to Routing Service. UDP socket to DDS adapter #699
Conversation
@alexcamposruiz not sure why the lint jobs failed. Where can I find more details so I can fix them? |
@alexcamposruiz can we merge this? |
examples/routing_service/udp_socket_adapter/src/SocketConnection.cxx
Outdated
Show resolved
Hide resolved
examples/routing_service/udp_socket_adapter/src/SocketStreamReader.cxx
Outdated
Show resolved
Hide resolved
examples/routing_service/udp_socket_adapter/src/SocketStreamReader.cxx
Outdated
Show resolved
Hide resolved
examples/routing_service/udp_socket_adapter/test/send_shape_to_socket.py
Show resolved
Hide resolved
examples/routing_service/udp_socket_adapter/src/SocketInputDiscoveryStreamReader.hpp
Show resolved
Hide resolved
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.
Some feedback about documentation and our approach to how to serialize deserialize samples, about how to make the example easier to use for our users/customers.
@juanlu-rti I applied your feedback, let me know what you think! Thanks!! |
examples/routing_service/udp_socket_adapter/src/SocketAdapter.hpp
Outdated
Show resolved
Hide resolved
examples/routing_service/udp_socket_adapter/src/SocketAdapter.cxx
Outdated
Show resolved
Hide resolved
examples/routing_service/udp_socket_adapter/src/SocketInputDiscoveryStreamReader.cxx
Outdated
Show resolved
Hide resolved
examples/routing_service/udp_socket_adapter/src/SocketInputDiscoveryStreamReader.hpp
Outdated
Show resolved
Hide resolved
examples/routing_service/udp_socket_adapter/src/SocketStreamReader.cxx
Outdated
Show resolved
Hide resolved
thanks for the feedback, @fgaranda ! I applied all your feedback |
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.
Look better now. I understand your point about code generator. It's clear no for potential users that they have to fine-tune the example to their use-case.
Summary
We currently only have an example for a file adapter. This new example provides a UDP socket --> DDS adapter. I have found myself looking for a simple adapter like this one in the past, so hopefully this helps others.
Details and comments
In addition to the adapter, a Python "tester" is included to inject UDP data.
Checks