From 565bbc22357413aa7342e9dd0d6518b71f7f10a6 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Mon, 23 Sep 2024 10:07:25 -0700 Subject: [PATCH] Unique Client GID for Service Introspectino Event. (#779) Signed-off-by: Tomoya Fujita --- rmw_fastrtps_shared_cpp/src/rmw_request.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rmw_fastrtps_shared_cpp/src/rmw_request.cpp b/rmw_fastrtps_shared_cpp/src/rmw_request.cpp index 5cf04f46d..ff3591f5a 100644 --- a/rmw_fastrtps_shared_cpp/src/rmw_request.cpp +++ b/rmw_fastrtps_shared_cpp/src/rmw_request.cpp @@ -129,7 +129,8 @@ __rmw_take_request( { // Get header rmw_fastrtps_shared_cpp::copy_from_fastrtps_guid_to_byte_array( - request.sample_identity_.writer_guid(), + // Keep the original request publisher guid + writer_guid, request_header->request_id.writer_guid); request_header->request_id.sequence_number = ((int64_t)request.sample_identity_.sequence_number().high) <<