Add 'car/' from commit 'eee0e8dc445691e600680f4abc77f2814b20b054'

git-subtree-dir: car
git-subtree-mainline: 1d29a5526c
git-subtree-split: eee0e8dc44
This commit is contained in:
Piv
2020-04-19 11:07:44 +09:30
93 changed files with 8401 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from DecisionSystem.CentralisedDecision import commander
from DecisionSystem.CentralisedDecision.messenger import MqttMessenger
mqtt = MqttMessenger()
c = commander.Commander(mqtt, 10)
mqtt.connect()
f = input("Press any key and enter other than q to get current observation of the swarm: ")
while f != "q":
print("Vote is: ")
print(c.get_votes())
f = input("Press any key and enter other than q to get current observation of the swarm: ")
print("Thanks for trying!")