Commit Graph

20 Commits

Author SHA1 Message Date
DSTO\pivatom
8db3f279fe Remove previous method relating to subscription additions 2019-01-14 09:03:04 +10:30
DSTO\pivatom
6bdf03abfc Add implementation for taking votes 2019-01-14 09:02:26 +10:30
DSTO\pivatom
6444d6d3a0 Add message implementations and make private variables have underscore 2019-01-14 08:56:34 +10:30
DSTO\pivatom
f101bf61bf Put custom on_vote message for voter to use their own method.
This maintains cohesion so the voter class is just focussed on how to vote, not also on how to collect the votes, which could be by a means such as an image or video sensor.
2019-01-14 08:55:36 +10:30
DSTO\pivatom
31367b1893 Add message check for having a vote requested 2019-01-14 08:36:38 +10:30
DSTO\pivatom
8d92467a99 Remove last traces of external mqtt abstraction
Also subscribed to commander and changed name of vote request message.
2019-01-14 08:35:44 +10:30
DSTO\pivatom
97fd356038 Add mqtt messenger file for implementation of paxos messenger 2019-01-11 11:40:27 +10:30
DSTO\pivatom
acc287d572 Remove use of external mqtt file, just use paho library 2019-01-11 11:40:04 +10:30
DSTO\pivatom
49de393edb Add some comments for future details, as well as partial of on_message 2019-01-11 11:39:04 +10:30
DSTO\pivatom
5e7e79e9a9 Move commander file 2019-01-10 14:55:06 +10:30
DSTO\pivatom
2abdf7bc1e Add files for Paxos decision system. 2019-01-10 14:54:53 +10:30
DSTO\pivatom
c12c57bfcf Add centralised folder and initial implementations for decision system. 2019-01-10 14:54:06 +10:30
DSTO\pivatom
1e0c5b575f Add class stubs for paxos version 2019-01-08 12:40:54 +10:30
DSTO\pivatom
3387a54133 Remove client from commander object. 2018-12-19 16:29:57 +10:30
DSTO\pivatom
663f6a8c49 Add method for voter interface 2018-12-18 10:14:24 +10:30
DSTO\pivatom
fedadc3af8 Add equals operator overload 2018-12-18 10:14:04 +10:30
DSTO\pivatom
eb9f40bdf1 Implement MqttVoter methods 2018-12-18 10:13:18 +10:30
DSTO\pivatom
6efeb5ae05 Reorder methods for python interpretor 2018-12-18 10:12:55 +10:30
DSTO\pivatom
6f0bd56b4a Implementing stuff (I suck at commits sometimes lol) 2018-12-13 11:00:27 +10:30
DSTO\pivatom
1bc7948b51 Add classes and files for voting 2018-12-10 16:52:23 +10:30