ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am also dealing with this type of problem and have found looking at how the transport_drivers repo is structured quite helpful. the io_context library is shared between the serial_driver and udp_driver and utilizes the ament_auto_add_library macro to auto-generate a shared library.

https://github.com/ros-drivers/transport_drivers

have a look and let me know if this answers your question!