Skip to content

Commit

Permalink
Merge branch 'dev/1.0.0' into wip/merge-rolling
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Oct 24, 2024
2 parents 24f479b + e6b7ecb commit bc6f6d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rmw_zenoh_cpp/src/detail/rmw_service_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@ rmw_ret_t ServiceData::take_request(
return RMW_RET_ERROR;
}

memcpy(request_header->request_id.writer_guid, attachment.source_gid, RMW_GID_STORAGE_SIZE);


request_header->source_timestamp = attachment.source_timestamp;
if (request_header->source_timestamp < 0) {
RMW_SET_ERROR_MSG("Failed to get source_timestamp from client call attachment");
Expand Down
2 changes: 2 additions & 0 deletions rmw_zenoh_cpp/src/rmw_zenoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,8 @@ rmw_take_response(
return RMW_RET_ERROR;
}

memcpy(request_header->request_id.writer_guid, attachment.source_gid, RMW_GID_STORAGE_SIZE);

request_header->source_timestamp = attachment.source_timestamp;
if (request_header->source_timestamp < 0) {
RMW_SET_ERROR_MSG("Failed to get source_timestamp from client call attachment");
Expand Down

0 comments on commit bc6f6d6

Please sign in to comment.