Skip to content

Commit

Permalink
zero copy pub with transient local
Browse files Browse the repository at this point in the history
  • Loading branch information
jplapp committed May 20, 2024
1 parent d8b26e1 commit 9c88ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_costmap_2d/src/costmap_2d_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Costmap2DPublisher::Costmap2DPublisher(
logger_ = node->get_logger();
const auto custom_qos = rclcpp::QoS(rclcpp::KeepLast(1)).transient_local().reliable();
rclcpp::PublisherOptionsWithAllocator<std::allocator<void>> pub_options;
pub_options.use_intra_process_comm = rclcpp::IntraProcessSetting::Disable;
// pub_options.use_intra_process_comm = rclcpp::IntraProcessSetting::Disable;


costmap_pub_ =
Expand Down

0 comments on commit 9c88ab7

Please sign in to comment.