From 0835690659bec61b32041f8549599bfd91cb643b Mon Sep 17 00:00:00 2001 From: spirkelmann Date: Wed, 26 Jun 2019 10:49:05 +0200 Subject: [PATCH] changed ips and max speed for testing --- remote_control/keyboard_controller.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/remote_control/keyboard_controller.py b/remote_control/keyboard_controller.py index 6f2064a..f327042 100644 --- a/remote_control/keyboard_controller.py +++ b/remote_control/keyboard_controller.py @@ -7,9 +7,9 @@ pygame.display.set_mode((640, 480)) rc_socket = socket.socket() try: #rc_socket.connect(('192.168.4.1', 1234)) # connect to robot - rc_socket.connect(('192.168.1.101', 1234)) # connect to robot + #rc_socket.connect(('192.168.1.101', 1234)) # connect to robot #rc_socket.connect(('192.168.1.102', 1234)) # connect to robot - #rc_socket.connect(('192.168.1.103', 1234)) # connect to robot + rc_socket.connect(('192.168.1.103', 1234)) # connect to robot except socket.error: print("could not connect to socket") @@ -17,7 +17,7 @@ except socket.error: while True: u1 = 0 u2 = 0 - vmax = 0.5 + vmax = 1.0 events = pygame.event.get() for event in events: if event.type == pygame.KEYDOWN: