added more templates and defined basic include/layout
This commit is contained in:
parent
e6b628f41a
commit
5b787bc400
6 changed files with 48 additions and 6 deletions
|
@ -5,14 +5,17 @@ import uuid
|
|||
import paho.mqtt.client as mqtt
|
||||
from planet import Direction, Planet
|
||||
from communication import Communication
|
||||
from move import Move
|
||||
|
||||
client = None # DO NOT EDIT
|
||||
# DO NOT EDIT
|
||||
client = None
|
||||
|
||||
|
||||
def run():
|
||||
# DO NOT EDIT
|
||||
global client
|
||||
client = mqtt.Client(client_id=str(uuid.uuid4()), # client_id has to be unique among ALL users
|
||||
# client_id has to be unique among ALL users
|
||||
client = mqtt.Client(client_id=str(uuid.uuid4()),
|
||||
clean_session=False,
|
||||
protocol=mqtt.MQTTv31)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue