Software
transport_drivers
By ROS device drivers, from github.com/ros-drivers/transport_drivers (opens in a new tab)
- Middleware
- Driver or SDK
- Apache-2.0
A set of ROS 2 drivers for UDP and serial transport, built mostly on the standalone ASIO library. It also includes a generic IO context for networking applications.
Facts
- GitHub stars
- 128read on 22 Nov 2026
- Last update
- 2 Mar 2026Newest commit on main
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Intermediate
Checked on GitHub on 22 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 0af5988 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Provides a UDP driver package with receiver, sender and combined bridge nodes that send and receive UDP data.
- Provides a serial driver package with a combined bridge node for receiving and sending serial data.
- Includes a UDP driver library and a serial driver library that have no ROS 2 dependencies and can be used elsewhere.
- Offers an IO Context library for writing synchronous and asynchronous networking applications.
- Built with colcon after cloning into a workspace and installing dependencies with rosdep; example UDP params file is provided.
- Ships unit tests for every package, run with colcon test.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 2 Mar 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/ros-drivers/transport_drivers (opens in a new tab)
- The version Robotheca read0af5988 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by ROS device drivers, at commit 0af5988, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
transport_drivers
A set of ROS2 drivers for transport-layer protocols. Currently utilizes the stand-alone ASIO library for most transport-layer functionality.
Supported Drivers:
- UDP Driver
A package which encapsulates basic receving and sending of udp data.
Provided within this package are the following executabes:
- udp_receiver_node_exe: can receive UDP data
- udp_sender_node_exe: can send UDP data asynchronosouly
- udp_bridge_node_exe: combined both receiver and sender nodes into one
Provided within this package also is a udp_driver library without the ROS2 dependencies which could be used elsewhere.
- Serial Driver
A package which which encapsulates basic receiving and sending of serial data.
Provided within this package is the following executabe:
- serial_bridge: combined both receiver and sender nodes into one
Provided within this package also is a serial_driver library without the ROS2 dependencies which could be used elsewhere.
- IO Context
A library to write synchronous and asynchronous networking applications.
Quick start
Clone the repo into your workspace, normally with the structure workspace/src/<clone-repo-here>:
git clone https://github.com/ros-drivers/transport_drivers.git
Install dependencies using rosdep from your top-level workspace directory:
rosdep install --from-paths src --ignore-src -r -y
Once you have the repository cloned and dependencies installed, you can now go ahead and compile:
colcon build
After successful compilation, you should be able to source your newly built packages:
source install/setup.bash
...and now you should be able to run your newly built executables. Here is how you would launch the udp_driver bridge node:
ros2 run udp_driver udp_bridge_node_exe --ros-args --params-file ./src/transport_drivers/udp_driver/params/example_udp_params.yaml
Testing
Comprehensive unit tests have been written for every package within this repository.
To run them yourself, use the normal command from your top-level workspace directory:
colcon test
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.