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 20:20, 1 January 2020
33 bytes added
,
20:20, 1 January 2020
m
→Robot Code for Robot/Laptop Base Communication
Line 55:
Line 55:
</source>
</source>
====Robot Code for Robot/Laptop Base Communication ====
====Robot Code for Robot/Laptop Base Communication ====
+
<source lang="Python">
import socket
import socket
serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
Line 72:
Line 73:
if message_from_client == "Stop the Server" : break
if message_from_client == "Stop the Server" : break
print ('Communication protocols termintated at Server by Client')
print ('Communication protocols termintated at Server by Client')
+
</source>
Joelmartin
Bots
,
Bureaucrats
, contributor,
Interface administrators
, lookupuser,
Administrators
4,000
edits