diff --git a/DecisionSystem/CentralisedDecision/commander.py b/DecisionSystem/CentralisedDecision/commander.py index 8d8f1d4..2582273 100644 --- a/DecisionSystem/CentralisedDecision/commander.py +++ b/DecisionSystem/CentralisedDecision/commander.py @@ -58,13 +58,6 @@ class Commander: self._taking_votes = False self.make_decision() - # Shouldn't be needed anymore. - # def add_subscription(self, topic, callback=None, qos=0): - # self.client.subscribe(topic) - - # if callback is not None: - # selfclient.message_callback_add(topic, callback) - def on_message(self, client, userdata, message): messageDict = umsgpack.unpackb() if "type" in messageDict.keys: