diff --git a/robot_log_visualizer/file_reader/signal_provider.py b/robot_log_visualizer/file_reader/signal_provider.py index 692dcbd..cd7c2d3 100644 --- a/robot_log_visualizer/file_reader/signal_provider.py +++ b/robot_log_visualizer/file_reader/signal_provider.py @@ -219,7 +219,6 @@ def maintain_connection(self): self.realtimeNetworkInit = True self.rtMetadataDict = self.vectorCollectionsClient.get_metadata().vectors if not self.rtMetadataDict: - print("Failed to read realtime YARP port, closing") return False self.joints_name = self.rtMetadataDict["robot_realtime::description_list"] @@ -233,7 +232,6 @@ def maintain_connection(self): vc_input = self.vectorCollectionsClient.read_data(True) if not vc_input: - print("Failed to read realtime YARP port, closing") return False else: # Update the timestamps diff --git a/robot_log_visualizer/ui/gui.py b/robot_log_visualizer/ui/gui.py index 427fb91..414f50d 100644 --- a/robot_log_visualizer/ui/gui.py +++ b/robot_log_visualizer/ui/gui.py @@ -731,7 +731,7 @@ def connect_realtime_logger(self): # Do initial connection to populate the necessary data if not self.signal_provider.maintain_connection(): - print("Could not connect to YARP server, closing") + self.text_logger.add_entry("Could not connect to YARP server", time.time()) self.realtimeConnectionEnabled = False return self.meshcat_provider._realtimeMeshUpdate = True