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

Shared publisher handle. #420

Merged
merged 1 commit into from
May 28, 2020
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
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GenericPublisher::GenericPublisher(
void GenericPublisher::publish(std::shared_ptr<rmw_serialized_message_t> message)
{
auto return_code = rcl_publish_serialized_message(
get_publisher_handle(), message.get(), NULL);
get_publisher_handle().get(), message.get(), NULL);

if (return_code != RCL_RET_OK) {
rclcpp::exceptions::throw_from_rcl_error(return_code, "failed to publish serialized message");
Expand Down
2 changes: 1 addition & 1 deletion zstd_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ macro(build_zstd)

include(ExternalProject)
# The CMakeLists.txt file for zstd is in a subdirectory.
# We need to configure the CMake command to build from there instead.
# We need to configure the CMake command to build from there instead.
ExternalProject_Add(zstd-1.4.4
URL https://github.com/facebook/zstd/archive/v1.4.4.zip
URL_MD5 3a5c3a535280b7f4dfdbd739fcc7173f
Expand Down