Skip to content

Commit

Permalink
Removed prints, moved some prints to integrated console screen
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktrem committed May 17, 2024
1 parent 49880bf commit 8cb0209
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions robot_log_visualizer/file_reader/signal_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion robot_log_visualizer/ui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8cb0209

Please sign in to comment.