Open main menu
Home
Random
Log in
Settings
About RobotX
Disclaimers
RobotX
Search
Changes
Holonomic Robotic Platform
← Older edit
Newer edit →
Holonomic Robotic Platform
(view source)
Revision as of 17:27, 5 January 2020
5 bytes added
,
17:27, 5 January 2020
m
→Laptop Code for Robot/Laptop Base Communication
Line 97:
Line 97:
while True:
while True:
message = ''
message = ''
−
message = input('
Input lowercase sentence
:')
+
message = input('
enter any string to transmit
:')
client.send(message.encode())
client.send(message.encode())
message_from_server = (client.recv(4096)).decode()
message_from_server = (client.recv(4096)).decode()
Line 105:
Line 105:
print ("You ended the session")
print ("You ended the session")
</source>
</source>
+
====Robot Code for Robot/Laptop Base Communication ====
====Robot Code for Robot/Laptop Base Communication ====
<source lang="Python">
<source lang="Python">
Joelmartin
Bots
,
Bureaucrats
, contributor,
Interface administrators
, lookupuser,
Administrators
4,000
edits