File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed
Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 11BSD 3-Clause License
22
3- Copyright (c) 2022, Artificial and Mechanical Intelligence
3+ Copyright (c) 2022, Artificial and Mechanical Intelligence
44All rights reserved.
55
66Redistribution and use in source and binary forms, with or without
Original file line number Diff line number Diff line change @@ -50,6 +50,3 @@ def get_joint_list():
5050 signal_provider .start ()
5151
5252 sys .exit (app .exec_ ())
53-
54-
55-
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ class MeshcatVisualizer:
2323
2424 def __init__ (self , zmq_url = None ):
2525 import meshcat
26-
26+
2727 if zmq_url is not None :
2828 print ("Connecting to meshcat-server at zmq_url=" + zmq_url + "." )
29-
29+
3030 self .viewer = meshcat .Visualizer (zmq_url = zmq_url )
3131 self .traversal = dict ()
3232 self .model = dict ()
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class Logger:
9999 """
100100 Logger class shows events during the execution of the viewer.
101101 """
102-
102+
103103 def __init__ (self , log_widget , scroll_area ):
104104
105105 # set log widget from main window
@@ -122,7 +122,7 @@ def write_to_log(self, text):
122122 # compose new text
123123 # convert local time to string
124124 time_str = strftime (" [%H:%M:%S] " , localtime ())
125- #
125+ #
126126 new_text = current_text + time_str + text + "\n "
127127
128128 # log into the widget
@@ -153,5 +153,5 @@ def scroll_down(self):
153153
154154 # show the main window
155155 gui .show ()
156-
156+
157157 sys .exit (app .exec_ ())
You can’t perform that action at this time.
0 commit comments