Skip to content

Commit 6568699

Browse files
committed
docs(ros-z-dds): update ZDdsServiceBridge API after type_hash removal
1 parent dcc1dc3 commit 6568699

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

crates/ros-z-dds/src/service.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,11 @@ unsafe impl<P: DdsParticipant> Sync for ZDdsServiceBridge<P> {}
8181
impl<P: DdsParticipant> ZDdsServiceBridge<P> {
8282
/// Create a new DDS-server → Zenoh queryable bridge.
8383
///
84+
/// The Zenoh queryable is declared on a wildcard key (`{domain}/{service}/**`) so
85+
/// that clients using any type hash — or none at all — can reach it transparently.
86+
///
8487
/// - `ros2_name` — ROS 2 service name (e.g. `/add_two_ints`)
8588
/// - `ros2_type` — ROS 2 service type (e.g. `example_interfaces/srv/AddTwoInts`)
86-
/// - `type_hash` — optional RIHS01 type hash
8789
/// - `qos` — DDS QoS for the request writer / reply reader
8890
pub async fn new(
8991
node: &ZNode,

docs/user-guide/dds-bridge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ let route = ZDdsSubBridge::new(
301301
// DDS service server → Zenoh queryable (DDS clients call a ros-z service server)
302302
let route = ZDdsServiceBridge::new(
303303
&node, "/add_two_ints", "example_interfaces/srv/AddTwoInts",
304-
None, &participant, BridgeQos::default(),
304+
&participant, BridgeQos::default(),
305305
)
306306
.await?;
307307

0 commit comments

Comments
 (0)