Skip to content

Commit cb22ce9

Browse files
committed
include relevant roboclaw library
1 parent 393107e commit cb22ce9

File tree

2 files changed

+1096
-1
lines changed

2 files changed

+1096
-1
lines changed

pyROSe_visualizer.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
server_socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 4096 * 10) # 10 times the previous buffer size
1818

1919
# Bind the socket to a specific address and port
20-
server_address = ('192.168.1.120', 12345) # Change to your needs
20+
21+
ortho_ip = '192.168.1.120'
22+
rt_proto_ip = '192.168.13.201'
23+
24+
server_address = (rt_proto_ip, 12345) # Change to your needs
2125
server_socket.bind(server_address)
2226
triads = {}
2327
rectangular_prisms = {}
@@ -152,6 +156,7 @@ def main():
152156
# Convert the string to a JSON object
153157
_, data = parse_line(data)
154158
data = json.loads(data)
159+
print(data)
155160
update_triads(data)
156161
except socket.error:
157162
pass

0 commit comments

Comments
 (0)