Skip to content

Conversation

@yellowhatter
Copy link
Contributor

No description provided.

Copy link
Contributor

@evshary evshary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some coding styles is changed, which is not related to the PR. I think it would be better to keep the same style.

enabled: true,
/// SHM memory size in bytes used for transport optimization (default `16 * 1024 * 1024`).
pool_size: 16777216,
pool_size: 50331648,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better if we could add ROS setting: in the comment like this:

/// ROS setting: disable multicast discovery by default

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

ament_vendor(zenoh_c_vendor
VCS_URL https://github.com/eclipse-zenoh/zenoh-c.git
VCS_VERSION f376456ccf75ed837a21a186bdf5191cba50eb3b
VCS_URL https://github.com/ZettaScaleLabs/zenoh-c.git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you will switch back to eclipse-zenoh after the corresponding PR is merged, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

switched

#define SAMPLE_MISS_DETECTION_HEARTBEAT_PERIOD 500

///=============================================================================
///=============================================================================
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just out of curiosity, do you leave the indent here intentionally?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is auto-formatter artifact.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to keep the same coding style. I see many style changes in rmw_publisher_data.cpp are not related to the PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

@yellowhatter yellowhatter requested a review from evshary November 18, 2025 09:09
Copy link
Contributor

@JEnoch JEnoch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that for backward compatibility we need to keep support of both ZENOH_SHM_ALLOC_SIZE and ZENOH_SHM_MESSAGE_SIZE_THRESHOLD environment variable. They should override the config values transport_optimization/pool_size and transport_optimization/message_size_threshold respectively.

We could add a deprecation warning log when set, explaining those variables will no longer be supported in Lyrical Luth distro and that the transport_optimization config shall be used instead.
Then before Lyrical code branch (03/2026) we remove those environment variables from the rolling branch only.

The README.md has to be updated also with regard to this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants