Commit Graph

420 Commits

Author SHA1 Message Date
Michael Pivato
60d710a6c6 Add initial web pages and code for presentation 2019-01-14 12:26:16 +10:30
Michael Pivato
137be4f25f Add test code for using message pack with python mqtt 2019-01-14 12:25:47 +10:30
Michael Pivato
4c680b2b09 Add code to for hand detection using CNN 2019-01-14 12:25:26 +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
b61da848f4 Add coco classes 2019-01-11 11:39:18 +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
ccc252e5b9 Add methods for callbacks to the mqtt client. 2019-01-10 14:55:31 +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
Michael Pivato
85548b7cdd Move message pack library to js folder 2019-01-08 14:35:07 +10:30
Michael Pivato
cc452d7702 Move paho library files from root to js folder 2019-01-08 14:31:02 +10:30
Michael Pivato
68bffea25d move bootstrap css files from js to css folder 2019-01-08 14:30:45 +10:30
Michael Pivato
f65d051049 Add bootstrap files for web demo.
People like to look at pretty things, and will likely be looking at their mobile.
2019-01-08 14:27:20 +10:30
Michael Pivato
d95f6116a9 Add stubs for web UI demo 2019-01-08 14:26:44 +10:30
DSTO\pivatom
1e0c5b575f Add class stubs for paxos version 2019-01-08 12:40:54 +10:30
Michael Pivato
ce4858bcbe Change MQTT example to connect to local network virtual machine. 2019-01-07 14:23:33 +10:30
Michael Pivato
e600dfea61 Add more flesh to the motor file 2019-01-07 14:23:06 +10:30
Michael Pivato
83ec205113 Move paho mqtt 2019-01-07 14:22:35 +10:30
Michael Pivato
955a0da88c Add messagepack javascript implementation distribution 2019-01-07 14:22:16 +10:30
Michael Pivato
3a34983427 Move paho implementation to web project folder 2019-01-07 14:21:56 +10:30
Michael Pivato
5dd8a6d616 Add paho mqtt javascript libraries for web version. 2019-01-07 14:05:14 +10:30
DSTO\pivatom
d6f311e921 Comment second image read line 2018-12-19 16:32:17 +10:30
DSTO\pivatom
ab739872b3 Add commander test class 2018-12-19 16:31:44 +10:30
DSTO\pivatom
a810ef640a Set default client to default mqtt client 2018-12-19 16:31:33 +10:30
DSTO\pivatom
8fa2cb83bc Add on disconnect callback to mqtt example 2018-12-19 16:31:03 +10:30
DSTO\pivatom
3387a54133 Remove client from commander object. 2018-12-19 16:29:57 +10:30
DSTO\pivatom
e126efa61f Add resize of image when setting up tests 2018-12-18 14:33:04 +10:30
DSTO\pivatom
11604228fc Make hand gesture recogniser and test work on frames 2018-12-18 14:24:33 +10:30
DSTO\pivatom
363122fe29 Fix shifting of pixels to return whole image array, not one element. 2018-12-18 13:26:36 +10:30
DSTO\pivatom
df8bec3b3e Move pixel shift to separate method. Change upper_skin 2018-12-18 10:58:10 +10:30
DSTO\pivatom
cd11686cc7 Add methods to test different hands 2018-12-18 10:36:57 +10:30
DSTO\pivatom
deab5c9b24 Give default value to image_path when loading. 2018-12-18 10:36:33 +10:30
DSTO\pivatom
dbc8933bfa Change module path so supports test 2018-12-18 10:35:52 +10:30
DSTO\pivatom
21c6842337 Add additional comments, and other small changes.
Removes the print statement in the get_gesture as this
dramatically reduces performance. Also made circle method take a
parameter for percentage size of the circle.
2018-12-18 10:32:17 +10:30
DSTO\pivatom
eb784f2f27 Add init and lazy loading to init 2018-12-18 10:25:40 +10:30
DSTO\pivatom
4ad9490555 Add hand recogniser tester 2018-12-18 10:16:36 +10:30
DSTO\pivatom
50ea321f66 Add some comments 2018-12-18 10:15:04 +10:30