Go robotics middleware, wire-compatible with ROS 2
open sourceAGPL-3.0-or-laterself-hostablefree
Weld is robotics and industrial middleware written in Go that speaks ROS 2 on the wire (DDS RTPS with CDR, discovery, standard messages, services, actions, parameters and every ros2cli verb), so Go programs join ROS 2 systems as first-class nodes while the implementation behind the wire is its own. It's built for fleets that must keep coordinating when network links drop, with one leaderless data plane for topics, services, actions and parameters; version one ships the CycloneDDS backend. Its makers publish a 110-row benchmark matrix against ROS 2 on the same host, claiming lower p50 latency at every payload size and up to 68% lower latency. A weld command echoes and publishes topics, calls services, sends actions, manages parameters and diagnoses QoS mismatches. AGPL-3.0-or-later; contributions by email only.
Problems it solves
- write ROS 2 nodes in Go that talk to my existing C++ and Python ROS 2 nodes
- my robot fleet's ROS 2 messaging stalls or drops messages when wireless links die
- ROS 2 starts dropping messages at high publish rates and I need lower latency
- silent QoS mismatches between ROS 2 publishers and subscribers waste hours of debugging
- inspect ROS 2 topics, call services and send action goals from a terminal without installing ROS
Features
- wire-compatible with ROS 2: DDS RTPS with XCDR1 CDR, discovery, type hashes
- topics, services, actions and parameters on one leaderless data plane
- CycloneDDS backend in version 1, checked by interop gates
- Go SDK for nodes, topics, services and supervision
- weld CLI: echo, pub, topic list and info, service call, action send, params, launch, doctor
- doctor command reports QoS and type mismatches
- gap and drop counters for lost messages
- 110-row benchmark matrix against ROS 2
Limitations
- Not source-compatible with rclcpp: C++ ROS 2 code doesn't compile against it1
- No shared-memory or zero-copy transport yet, and no intra-process transport1
- Supports only the CycloneDDS backend in version 11
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has official SDKs | plan not known |
