Skip to content

Commit

Permalink
Removed Trailing Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktrem authored Jan 9, 2024
1 parent be3d77f commit be1a667
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions robot_log_visualizer/file_reader/signal_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def __populate_numerical_data(self, file_object):
"".join(chr(c[0]) for c in value[ref])
for ref in elements_names_ref[0]
]

else:
data[key] = self.__populate_numerical_data(file_object=value)

Expand All @@ -166,7 +166,7 @@ def __populateRealtimeLoggerData(self, rawData, input):
rawData[key] = value
elif key == "description_list" or key == "yarp_robot_name":
continue

if value is None:
continue

Expand Down Expand Up @@ -201,15 +201,15 @@ def __populateRealtimeLoggerData(self, rawData, input):
data[key] = self.__populateRealtimeLoggerData(rawData=rawData[key],input=value)

return data


def establish_connection(self):
if not self.networkInit:
yarp.Network.init()
self.loggingInput = yarp.BufferedPortBottle()
self.loggingInput.open("/visualizerInput:i")
yarp.Network.connect("/YARPRobotLoggerRT:o", "/visualizerInput:i")

self.networkInit = True
success = self.loggingInput.read(shouldWait=False)
if not success:
Expand Down

0 comments on commit be1a667

Please sign in to comment.