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

Update CI #47

Merged
merged 3 commits into from
May 16, 2024
Merged

Update CI #47

merged 3 commits into from
May 16, 2024

Conversation

ahcorde
Copy link
Collaborator

@ahcorde ahcorde commented May 15, 2024

No description provided.

Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@ahcorde ahcorde self-assigned this May 15, 2024
ahcorde added 2 commits May 15, 2024 10:50
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Copy link
Collaborator

@john-maidbot john-maidbot left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -67,7 +67,7 @@ ZstdSubscriber::DecodeResult ZstdSubscriber::decodeTyped(
auto result = std::make_shared<sensor_msgs::msg::PointCloud2>();

auto const est_decomp_size =
ZSTD_getDecompressedSize(&msg.compressed_data[0], msg.compressed_data.size());
ZSTD_getFrameContentSize(&msg.compressed_data[0], msg.compressed_data.size());
Copy link
Collaborator

Choose a reason for hiding this comment

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

For posterity, just calling out this change

unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize);
  NOTE: This function is now obsolete, in favor of ZSTD_getFrameContentSize().
  Both functions work the same way, but ZSTD_getDecompressedSize() blends
  "empty", "unknown" and "error" results to the same return value (0),
  while ZSTD_getFrameContentSize() gives them separate return values.
 @return : decompressed size of `src` frame content _if known and not empty_, 0 otherwise. 

@ahcorde ahcorde merged commit ae1d1d6 into rolling May 16, 2024
5 checks passed
@ahcorde ahcorde deleted the ahcorde/rolling/ci branch May 16, 2024 07:44
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.

2 participants