From f708bea709cbae8fa1637564a509ae3552ebe65a Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Mon, 13 Dec 2021 10:40:17 -0500 Subject: [PATCH] Remove debugging print statements. (#11) Signed-off-by: Chris Lalancette --- .../include/rclcpp/experimental/intra_process_manager.hpp | 8 +++----- .../experimental/subscription_intra_process_buffer.hpp | 6 ------ rclcpp/include/rclcpp/subscription.hpp | 2 +- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/rclcpp/include/rclcpp/experimental/intra_process_manager.hpp b/rclcpp/include/rclcpp/experimental/intra_process_manager.hpp index 073a49a29d..e5d7fa39b1 100644 --- a/rclcpp/include/rclcpp/experimental/intra_process_manager.hpp +++ b/rclcpp/include/rclcpp/experimental/intra_process_manager.hpp @@ -20,26 +20,24 @@ #include #include -#include #include -#include -#include #include -#include +#include #include #include #include #include #include "rclcpp/allocator/allocator_deleter.hpp" -#include "rclcpp/experimental/subscription_intra_process.hpp" #include "rclcpp/experimental/ros_message_intra_process_buffer.hpp" +#include "rclcpp/experimental/subscription_intra_process.hpp" #include "rclcpp/experimental/subscription_intra_process_base.hpp" #include "rclcpp/experimental/subscription_intra_process_buffer.hpp" #include "rclcpp/logger.hpp" #include "rclcpp/logging.hpp" #include "rclcpp/macros.hpp" #include "rclcpp/publisher_base.hpp" +#include "rclcpp/type_adapter.hpp" #include "rclcpp/visibility_control.hpp" namespace rclcpp diff --git a/rclcpp/include/rclcpp/experimental/subscription_intra_process_buffer.hpp b/rclcpp/include/rclcpp/experimental/subscription_intra_process_buffer.hpp index 4ade17b5fa..43a834503d 100644 --- a/rclcpp/include/rclcpp/experimental/subscription_intra_process_buffer.hpp +++ b/rclcpp/include/rclcpp/experimental/subscription_intra_process_buffer.hpp @@ -15,7 +15,6 @@ #ifndef RCLCPP__EXPERIMENTAL__SUBSCRIPTION_INTRA_PROCESS_BUFFER_HPP_ #define RCLCPP__EXPERIMENTAL__SUBSCRIPTION_INTRA_PROCESS_BUFFER_HPP_ -#include // TODO(anyone) remove #include #include #include @@ -116,8 +115,6 @@ class SubscriptionIntraProcessBuffer : public ROSMessageIntraProcessBuffer::value) { buffer_->add_shared(std::move(message)); trigger_guard_condition(); @@ -130,7 +127,6 @@ class SubscriptionIntraProcessBuffer : public ROSMessageIntraProcessBuffer::value) { buffer_->add_unique(std::move(message)); trigger_guard_condition(); @@ -143,7 +139,6 @@ class SubscriptionIntraProcessBuffer : public ROSMessageIntraProcessBufferadd_shared(std::move(message)); trigger_guard_condition(); } @@ -151,7 +146,6 @@ class SubscriptionIntraProcessBuffer : public ROSMessageIntraProcessBufferadd_unique(std::move(message)); trigger_guard_condition(); } diff --git a/rclcpp/include/rclcpp/subscription.hpp b/rclcpp/include/rclcpp/subscription.hpp index ad23d60882..c238c9581f 100644 --- a/rclcpp/include/rclcpp/subscription.hpp +++ b/rclcpp/include/rclcpp/subscription.hpp @@ -276,7 +276,7 @@ class Subscription : public SubscriptionBase /// Take the next message from the inter-process subscription. /** - * This verison takes a SubscribedType which is different frmo the + * This version takes a SubscribedType which is different from the * ROSMessageType when a rclcpp::TypeAdapter is in used. * * \sa take(ROSMessageType &, rclcpp::MessageInfo &)