Michael Pivato
493647cadd
Add try when deleting commander, if it wasn't already there.
2019-03-01 15:52:45 +10:30
Michael Pivato
e2d4e4b41e
Add more code to decentralised voter, still not complete.
2019-03-01 15:48:35 +10:30
Michael Pivato
49d18a021d
Put videoget into separate module
2019-03-01 15:46:44 +10:30
Michael Pivato
27c34f3646
Put videoget into separate module.
2019-03-01 15:46:24 +10:30
Michael Pivato
8c3b9d02bf
Add try catch for broker, remove loading of configuration
2019-03-01 15:46:04 +10:30
Michael Pivato
0c8a0b9f23
Add centralised controller as main node for the demo
2019-03-01 15:45:24 +10:30
Michael Pivato
ede1ec4500
Add ability to propogate result of vote and making a vote.
2019-03-01 15:44:58 +10:30
Michael Pivato
5b24c98ad7
Remove paxos decision making.
2019-02-07 07:00:57 +10:30
Michael Pivato
12f98d7c92
Almost finish decentralised voter.
2019-02-07 07:00:40 +10:30
Michael Pivato
67b9d4538d
Remove init from messenger as it's abstract.
2019-02-07 07:00:21 +10:30
Michael Pivato
61ef4a5e96
Add debug print statements.
2019-02-07 07:00:03 +10:30
Michael Pivato
5e171e01db
Change to double quote docstrings.
2019-01-27 23:41:29 +10:30
Michael Pivato
35d0f962e6
Change to double quotes and implement unicast messaging
2019-01-24 16:17:55 +10:30
Michael Pivato
0fd1015f8b
Fix commander decision making
2019-01-24 16:17:23 +10:30
Michael Pivato
6430589fe4
Add server for centralised 'commander'
2019-01-24 16:16:49 +10:30
Michael Pivato
71793baa04
Add server for camera nodes.
2019-01-24 16:16:29 +10:30
Michael Pivato
bb03bdd628
Change debug messages
2019-01-24 16:15:34 +10:30
Michael Pivato
57db02a402
Change to use external messaging module
2019-01-24 10:59:26 +10:30
Michael Pivato
6de217a02f
Add callbacks, debug print lines
2019-01-18 16:40:51 +10:30
Michael Pivato
a6628793e6
Initial commit of init files
2019-01-18 16:36:17 +10:30
Michael Pivato
741823ae25
Add config file usage and messages module usage
2019-01-18 16:35:52 +10:30
Michael Pivato
451c3c7830
Fix default message, and change deserialiser and submit constructor
2019-01-18 16:35:22 +10:30
Michael Pivato
57223ee224
Add vote property to submit vote and change null values of init parameters
2019-01-17 14:49:31 +10:30
Michael Pivato
a8b3491661
Remove obsolete, unimplemented classes
2019-01-17 14:46:11 +10:30
Michael Pivato
90445bfd14
Add messages module containing all possible message types
2019-01-17 14:18:09 +10:30
Michael Pivato
2e05b83d99
Use messages module instead of messagepack in commander
2019-01-17 14:17:42 +10:30
Michael Pivato
778893d081
Fix message unpacking for commander
2019-01-15 10:39:25 +10:30
Michael Pivato
96582b3657
Add required methods for decentralised consensus
2019-01-15 09:29:24 +10:30
DSTO\pivatom
0b075b6edf
Add voter class for fusion implementation
2019-01-14 11:20:15 +10:30
DSTO\pivatom
3c978b3ca3
Add method to get swarm participants for new leader, fix some comments
2019-01-14 11:19:27 +10:30
DSTO\pivatom
90d096a918
Add client sending the vote as a private variable.
2019-01-14 11:17:26 +10:30
DSTO\pivatom
e122e572b6
Update voter interface
2019-01-14 09:14:41 +10:30
DSTO\pivatom
4f4f4d531c
Remove qos argument
2019-01-14 09:03:32 +10:30
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