Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump zenoh-cpp to 2a127bb, zenoh-c to 3540a3c, and zenoh to f735bf5 (backport #503) #511

Merged
merged 1 commit into from
Mar 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions rmw_zenoh_cpp/config/DEFAULT_RMW_ZENOH_ROUTER_CONFIG.json5
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,8 @@
// [
// /// Each policy associates one or multiple rules to one or multiple subject combinations
// {
// /// Id is optional. If provided, it has to be unique within the policies list
// "id": "policy1",
// /// Rules and Subjects are identified with their unique IDs declared above
// "rules": ["rule1"],
// "subjects": ["subject1", "subject2"],
Expand Down
2 changes: 2 additions & 0 deletions rmw_zenoh_cpp/config/DEFAULT_RMW_ZENOH_SESSION_CONFIG.json5
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@
// [
// /// Each policy associates one or multiple rules to one or multiple subject combinations
// {
// /// Id is optional. If provided, it has to be unique within the policies list
// "id": "policy1",
// /// Rules and Subjects are identified with their unique IDs declared above
// "rules": ["rule1"],
// "subjects": ["subject1", "subject2"],
Expand Down
27 changes: 18 additions & 9 deletions zenoh_cpp_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,25 @@ find_package(ament_cmake_vendor_package REQUIRED)
# when expanded.
set(ZENOHC_CARGO_FLAGS "--no-default-features$<SEMICOLON>--features=shared-memory zenoh/transport_compression zenoh/transport_tcp zenoh/transport_udp zenoh/transport_tls")

# Set VCS_VERSION to include latest changes from zenoh/zenoh-c/zenoh-cpp to benefit from :
# - https://github.com/eclipse-zenoh/zenoh/pull/1742, https://github.com/eclipse-zenoh/zenoh/pull/1765
# (Add autoconnect_strategy config allowing to optimize peers interconnections)
# - https://github.com/eclipse-zenoh/zenoh/pull/1753
# (Improve AdvancedSub for faster delivery of first receveived data)
# - https://github.com/eclipse-zenoh/zenoh-cpp/pull/407, https://github.com/eclipse-zenoh/zenoh-c/pull/913
# (Fix potential loss of request/reply messages in case of network congestion)
# Set VCS_VERSION to include latest changes from zenoh/zenoh-c/zenoh-cpp to benefit from:
# - Reword SHM warning log about "setting scheduling priority":
# - https://github.com/eclipse-zenoh/zenoh/pull/1778
# - Performances improvements at launch time:
# - https://github.com/eclipse-zenoh/zenoh/pull/1786
# - https://github.com/eclipse-zenoh/zenoh/pull/1789
# - https://github.com/eclipse-zenoh/zenoh/pull/1793
# - Fixed open timeout
# - https://github.com/eclipse-zenoh/zenoh/pull/1796
# - Improve ACL behaviour, notably for S-ROS
# - https://github.com/eclipse-zenoh/zenoh/pull/1781
# - https://github.com/eclipse-zenoh/zenoh/pull/1785
# - https://github.com/eclipse-zenoh/zenoh/pull/1795
# - https://github.com/eclipse-zenoh/zenoh/pull/1806
# - Reduce the number of threads in case of scouting
# - https://github.com/eclipse-zenoh/zenoh-c/pull/937
ament_vendor(zenoh_c_vendor
VCS_URL https://github.com/eclipse-zenoh/zenoh-c.git
VCS_VERSION 261493682c7dc54db3a07079315e009a2e7c1573
VCS_VERSION 3540a3ce8126e071236352446bc1564787d3fb04
CMAKE_ARGS
"-DZENOHC_CARGO_FLAGS=${ZENOHC_CARGO_FLAGS}"
"-DZENOHC_BUILD_WITH_UNSTABLE_API=TRUE"
Expand All @@ -37,7 +46,7 @@ ament_export_dependencies(zenohc)

ament_vendor(zenoh_cpp_vendor
VCS_URL https://github.com/eclipse-zenoh/zenoh-cpp
VCS_VERSION 5dfb68c9ac966925e59bcb52f39b9bc26c0ad6d3
VCS_VERSION 2a127bb0f537e0028359caf1084c879330341592
CMAKE_ARGS
-DZENOHCXX_ZENOHC=OFF
)
Expand Down