Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathias Haage
GBS
Commits
c7d5f75f
Commit
c7d5f75f
authored
Aug 07, 2015
by
Sven Gestegård Robertz
Browse files
bug fix
parent
18477030
Changes
1
Hide whitespace changes
Inline
Side-by-side
catkin_ws/src/gbs/scripts/lc_client.py
View file @
c7d5f75f
...
...
@@ -40,12 +40,13 @@ class test_client(object):
def
connect
(
self
):
server
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
server
.
connect
((
self
.
host
,
self
.
port
))
receiver_thread
=
threading
.
Thread
(
target
=
self
.
receiver
,
args
=
(
client
,))
receiver_thread
.
start
()
self
.
d
=
labcomm2014
.
Decoder
(
labcomm2014
.
StreamReader
(
server
),
self
.
version
)
self
.
e
=
labcomm2014
.
Encoder
(
labcomm2014
.
StreamWriter
(
server
),
self
.
version
)
receiver_thread
=
threading
.
Thread
(
target
=
self
.
receiver
))
receiver_thread
.
start
()
self
.
e
.
add_decl
(
commands
.
CMD_MOVE_LIN
.
signature
)
self
.
e
.
add_decl
(
commands
.
CMD_MOVE_PTP
.
signature
)
self
.
e
.
add_decl
(
commands
.
CMD_NO_OPERATION
.
signature
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment