Skip to content

Commit c13c8c7

Browse files
committed
Update lifecycle on_activate calls
Signed-off-by: Alberto Tudela <[email protected]>
1 parent e657ee8 commit c13c8c7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/laser_segmentation.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,13 @@ CallbackReturn LaserSegmentation::on_activate(const rclcpp_lifecycle::State & st
6262
{
6363
LifecycleNode::on_activate(state);
6464
RCLCPP_INFO(this->get_logger(), "Activating the node...");
65-
66-
segment_pub_->on_activate();
67-
segment_viz_points_pub_->on_activate();
6865
return CallbackReturn::SUCCESS;
6966
}
7067

7168
CallbackReturn LaserSegmentation::on_deactivate(const rclcpp_lifecycle::State & state)
7269
{
7370
LifecycleNode::on_deactivate(state);
7471
RCLCPP_INFO(this->get_logger(), "Deactivating the node...");
75-
76-
segment_pub_->on_deactivate();
77-
segment_viz_points_pub_->on_deactivate();
7872
return CallbackReturn::SUCCESS;
7973
}
8074

0 commit comments

Comments
 (0)