~PhaseSpaceLocalization() { unsubscribe("phase_space_snapshot") ; unadvertise("localizedpose") ; unadvertise("base_pose_ground_truth") ; if (m_tfServer) delete m_tfServer; }
~Impl() { if (ros::WallTime::now().toSec() - constructed_ < 0.001) ROS_WARN ("PublicationServer destroyed immediately after creation. Did you forget to store the handle?"); unadvertise(); }
void PlanningDisplay::changedTopic() { unsubscribe(); unadvertise(); kinematic_path_topic_ = topic_property_->getStdString(); subscribe(); advertise(); }
Publisher::Impl::~Impl() { ROS_DEBUG("Publisher on '%s' deregistering callbacks.", topic_.c_str()); unadvertise(); }
~PointCloudSnapshotter() { unadvertise("full_cloud") ; }
~GrabCloudData() { unadvertise("full_cloud") ; }
void PlanningDisplay::onDisable() { unsubscribe(); unadvertise(); robot_->setVisible(false); }