Skip to content

Commit

Permalink
Switch to latest commit on zenoh-c and revert to z_get_options_t
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund committed Aug 28, 2024
1 parent c255315 commit 6ee5f03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions rmw_zenoh_cpp/src/rmw_zenoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1499,10 +1499,10 @@ rmw_create_subscription(
"QueryingSubscriberCallback triggered over %s.",
selector.c_str()
);
ze_querying_subscriber_options_t opts = ze_querying_subscriber_options_default();
opts.query_timeout_ms = std::numeric_limits<uint64_t>::max();
opts.query_consolidation = z_query_consolidation_latest();
opts.query_accept_replies = ZCU_REPLY_KEYEXPR_ANY;
z_get_options_t opts = z_get_options_default();
opts.timeout_ms = std::numeric_limits<uint64_t>::max();
opts.consolidation = z_query_consolidation_latest();
opts.accept_replies = ZCU_REPLY_KEYEXPR_ANY;
ze_querying_subscriber_get(
z_loan(std::get<ze_owned_querying_subscriber_t>(sub_data->sub)),
z_keyexpr(selector.c_str()),
Expand Down
5 changes: 3 additions & 2 deletions zenoh_c_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ set(ZENOHC_CARGO_FLAGS "--no-default-features$<SEMICOLON>--features=zenoh/shared
# - https://github.com/eclipse-zenoh/zenoh/pull/1022 (fix empty messages received if payload >btach size)
# - https://github.com/eclipse-zenoh/zenoh-c/pull/358 (fix debian packaging issue: https://github.com/jspricke/ros-deb-builder-action/issues/49)
# - https://github.com/eclipse-zenoh/zenoh/pull/1150 (fix deadlock issue https://github.com/ros2/rmw_zenoh/issues/182)
# - https://github.com/eclipse-zenoh/zenoh-c/pull/620 (fix ze_querying_subscriber_get API to query newly discovered publishers)
ament_vendor(zenoh_c_vendor
VCS_URL https://github.com/ZettaScaleLabs/zenoh-c
VCS_VERSION d4df47382482b1bc7a5b64ca6879ff800779df7b
VCS_URL https://github.com/eclipse-zenoh/zenoh-c
VCS_VERSION 134dbfa06ca212def5fb51dd8e816734dfd8dff6
CMAKE_ARGS
"-DZENOHC_CARGO_FLAGS=${ZENOHC_CARGO_FLAGS}"
)
Expand Down

0 comments on commit 6ee5f03

Please sign in to comment.