Ejemplo n.º 1
0
 def finalize(self):
     if self.pub_tf:
         ROSPublisherTF.finalize(self)
     else:
         ROSPublisher.finalize(self)
     # Unregister the CameraInfo topic
     self.topic_camera_info.unregister()
Ejemplo n.º 2
0
 def finalize(self):
     if self.pub_tf:
         ROSPublisherTF.finalize(self)
     else:
         ROSPublisher.finalize(self)
     # Unregister the CameraInfo topic
     self.topic_camera_info.unregister()
Ejemplo n.º 3
0
    def initialize(self):
        ROSPublisherTF.initialize(self)
        # store the frame ids
        self.child_frame_id = self.kwargs.get("child_frame_id", "/base_footprint")

        logger.info("Initialized the ROS odometry sensor with frame_id '%s' " +\
                    "and child_frame_id '%s'", self.frame_id, self.child_frame_id)
Ejemplo n.º 4
0
    def initialize(self):
        ROSPublisherTF.initialize(self)
        # store the frame ids
        self.child_frame_id = self.kwargs.get("child_frame_id", "/base_link")

        logger.info("Initialized the ROS TF publisher with frame_id '%s' " + \
                    "and child_frame_id '%s'", self.frame_id, self.child_frame_id)
Ejemplo n.º 5
0
Archivo: pose.py Proyecto: Djeef/morse
    def initialize(self):
        ROSPublisherTF.initialize(self)
        # store the frame ids
        self.child_frame_id = self.kwargs.get("child_frame_id", "/base_link")

        logger.info("Initialized the ROS TF publisher with frame_id '%s' " + \
                    "and child_frame_id '%s'", self.frame_id, self.child_frame_id)
Ejemplo n.º 6
0
    def initialize(self):
        ROSPublisherTF.initialize(self)
        # store the frame ids
        self.child_frame_id = self.kwargs.get("child_frame_id",
                                              "/base_footprint")

        logger.info("Initialized the ROS odometry sensor with frame_id '%s' " +\
                    "and child_frame_id '%s'", self.frame_id, self.child_frame_id)
Ejemplo n.º 7
0
 def initialize(self):
     if not 'topic_suffix' in self.kwargs:
         self.kwargs['topic_suffix'] = '/image'
     self.pub_tf = self.kwargs.get('pub_tf', True)
     if self.pub_tf:
         ROSPublisherTF.initialize(self)
     else:
         ROSPublisher.initialize(self)
     # Generate a publisher for the CameraInfo
     self.topic_camera_info = rospy.Publisher(self.topic_name+'/camera_info', CameraInfo)
Ejemplo n.º 8
0
 def initialize(self):
     if not 'topic_suffix' in self.kwargs:
         self.kwargs['topic_suffix'] = '/image'
     self.pub_tf = self.kwargs.get('pub_tf', True)
     if self.pub_tf:
         ROSPublisherTF.initialize(self)
     else:
         ROSPublisher.initialize(self)
     # Generate a publisher for the CameraInfo
     self.topic_camera_info = rospy.Publisher(
         self.topic_name + '/camera_info', CameraInfo)
Ejemplo n.º 9
0
 def initialize(self):
     ROSPublisherTF.initialize(self, PointCloud2)
Ejemplo n.º 10
0
 def finalize(self):
     ROSPublisherTF.finalize(self)
Ejemplo n.º 11
0
 def initialize(self):
     ROSPublisherTF.initialize(self)
     self.child_frame_id = self.kwargs.get('child_frame_id', self.frame_id)
     self.parent_frame_id = self.kwargs.get('parent_frame_id', 'base_link')
     logger.info("Initialized the ROS static TF publisher with frame_id '%s' " + \
                 "and child_frame_id '%s'", self.parent_frame_id, self.child_frame_id)
Ejemplo n.º 12
0
 def initialize(self):
     ROSPublisherTF.initialize(self, PointCloud2)
     self.npixels = None
Ejemplo n.º 13
0
 def initialize(self):
     ROSPublisherTF.initialize(self)
     self.npixels = None
Ejemplo n.º 14
0
 def finalize(self):
     ROSPublisherTF.finalize(self)
     # Unregister the CameraInfo topic
     self.topic_camera_info.unregister()
Ejemplo n.º 15
0
 def initialize(self):
     if not 'topic_suffix' in self.kwargs:
         self.kwargs['topic_suffix'] = '/image'
     ROSPublisherTF.initialize(self)
     # Generate a publisher for the CameraInfo
     self.topic_camera_info = rospy.Publisher(self.topic_name+'/camera_info', CameraInfo)
Ejemplo n.º 16
0
 def finalize(self):
     ROSPublisherTF.finalize(self)
Ejemplo n.º 17
0
 def initialize(self):
     ROSPublisherTF.initialize(self)
     self.child_frame_id = self.kwargs.get('child_frame_id', self.frame_id)
     self.parent_frame_id = self.kwargs.get('parent_frame_id', 'base_link')
     logger.info("Initialized the ROS static TF publisher with frame_id '%s' " + \
                 "and child_frame_id '%s'", self.parent_frame_id, self.child_frame_id)
Ejemplo n.º 18
0
 def finalize(self):
     ROSPublisherTF.finalize(self)
     # Unregister the CameraInfo topic
     self.topic_camera_info.unregister()
Ejemplo n.º 19
0
 def initialize(self):
     if not self.component_instance.relative:
         self.default_frame_id = '/map'
     ROSPublisherTF.initialize(self)
Ejemplo n.º 20
0
 def initialize(self):
     if not self.component_instance.relative:
         self.default_frame_id = '/map'
     ROSPublisherTF.initialize(self)
Ejemplo n.º 21
0
 def initialize(self):
     self.kwargs['topic_suffix'] = '/image'
     ROSPublisherTF.initialize(self)
     # Generate a publisher for the CameraInfo
     self.topic_camera_info = rospy.Publisher(self.topic_name+'/camera_info', CameraInfo)