コード例 #1
0
 def message_viewed(self, bag, msg_details):
     """
     refreshes the image
     """
     TopicMessageView.message_viewed(self, bag, msg_details)
     topic, msg, t = msg_details[:3]
     if not msg:
         self.set_image(None, topic, stamp)
     else:
         self.set_image(msg, topic, msg.header.stamp)
コード例 #2
0
 def message_viewed(self, bag, msg_details):
     """
     refreshes the image
     """
     TopicMessageView.message_viewed(self, bag, msg_details)
     topic, msg, t = msg_details[:3]
     if not msg:
         self.set_image(None, topic, 'no message')
     else:
         self.set_image(msg, topic, msg.header.stamp)
コード例 #3
0
    def message_viewed(self, bag, msg_details):
        """
        refreshes the image
        """
        TopicMessageView.message_viewed(self, bag, msg_details)
        topic, msg, t = msg_details[:3]
        if not msg:
            self.set_image(None, topic, 'no message')
        else:
            self.set_image(msg, topic, msg.header.stamp)

        if self.capture is not None:
            self._scene.setSceneRect(0, 0, msg.width, msg.height)
        else:
            self._image_view.resizeEvent = self._resizeEvent
コード例 #4
0
 def message_cleared(self):
     TopicMessageView.message_cleared(self)
     self.set_image(None, None, None)
コード例 #5
0
 def message_cleared(self):
     TopicMessageView.message_cleared(self)
     self.set_image(None, None, None)