File tree 4 files changed +6
-9
lines changed
4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
BSD 3-Clause License
2
2
3
- Copyright (c) 2022, Artificial and Mechanical Intelligence
3
+ Copyright (c) 2022, Artificial and Mechanical Intelligence
4
4
All rights reserved.
5
5
6
6
Redistribution 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():
50
50
signal_provider .start ()
51
51
52
52
sys .exit (app .exec_ ())
53
-
54
-
55
-
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ class MeshcatVisualizer:
23
23
24
24
def __init__ (self , zmq_url = None ):
25
25
import meshcat
26
-
26
+
27
27
if zmq_url is not None :
28
28
print ("Connecting to meshcat-server at zmq_url=" + zmq_url + "." )
29
-
29
+
30
30
self .viewer = meshcat .Visualizer (zmq_url = zmq_url )
31
31
self .traversal = dict ()
32
32
self .model = dict ()
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class Logger:
99
99
"""
100
100
Logger class shows events during the execution of the viewer.
101
101
"""
102
-
102
+
103
103
def __init__ (self , log_widget , scroll_area ):
104
104
105
105
# set log widget from main window
@@ -122,7 +122,7 @@ def write_to_log(self, text):
122
122
# compose new text
123
123
# convert local time to string
124
124
time_str = strftime (" [%H:%M:%S] " , localtime ())
125
- #
125
+ #
126
126
new_text = current_text + time_str + text + "\n "
127
127
128
128
# log into the widget
@@ -153,5 +153,5 @@ def scroll_down(self):
153
153
154
154
# show the main window
155
155
gui .show ()
156
-
156
+
157
157
sys .exit (app .exec_ ())
You can’t perform that action at this time.
0 commit comments