ros-drivers / transport_drivers

A set of ROS2 drivers for transport-layer protocols.
Apache License 2.0
93 stars 56 forks source link

Add support for UDP multicast #83

Open jeremyroy opened 2 years ago

jeremyroy commented 2 years ago

Some sensors publish UDP data to multicast addresses (e.g. 224.0.2.2). It would be nice if the udp_driver could intercept multicast traffic and forward it to topic /udp_read.

Example implementation: https://www.boost.org/doc/libs/1_35_0/doc/html/boost_asio/example/multicast/receiver.cpp

JWhitleyWork commented 1 year ago

Please consider creating a PR to add this feature.

johannesn commented 11 months ago

I created a pull request for this feature. If you still need this functionality, feel free to use my code.