Skip to content

Commit 8f8346d

Browse files
committed
removed not used parameter client
1 parent 131a11b commit 8f8346d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

rclcpp/include/rclcpp/time_source.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ class TimeSource
100100
// Destroy the subscription for the clock topic
101101
void destroy_clock_sub();
102102

103-
// Parameter Client pointer
104-
std::shared_ptr<rclcpp::AsyncParametersClient> parameter_client_;
105-
106103
// Parameter Event subscription
107104
using ParamMessageT = rcl_interfaces::msg::ParameterEvent;
108105
using ParamSubscriptionT = rclcpp::Subscription<ParamMessageT, Alloc>;

rclcpp/src/rclcpp/time_source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void TimeSource::detachNode()
112112
{
113113
this->ros_time_active_ = false;
114114
clock_subscription_.reset();
115-
parameter_client_.reset();
115+
parameter_subscription_.reset();
116116
node_base_.reset();
117117
node_topics_.reset();
118118
node_graph_.reset();

0 commit comments

Comments
 (0)