~PhaseSpaceLocalization()
 {
   unsubscribe("phase_space_snapshot") ;
   unadvertise("localizedpose") ;
   unadvertise("base_pose_ground_truth") ;
   if (m_tfServer)
     delete m_tfServer; 
 }
Пример #2
0
    ~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();
}
Пример #4
0
Publisher::Impl::~Impl()
{
  ROS_DEBUG("Publisher on '%s' deregistering callbacks.", topic_.c_str());
  unadvertise();
}
 ~PointCloudSnapshotter()
 {
   unadvertise("full_cloud") ;
 }
Пример #6
0
 ~GrabCloudData()
 {
   unadvertise("full_cloud") ;
 }
void PlanningDisplay::onDisable()
{
  unsubscribe();
  unadvertise();
  robot_->setVisible(false);
}