Commit Graph

427 Commits

Author SHA1 Message Date
ausocean-david 49db1041d3 Audiofiltering:
Improve filter performance by reducing frequency leakage.
2022-12-24 02:28:15 +10:30
ausocean-david fcc7d72b0b Audiofiltering:
Add highpass filter functionality.
2022-12-24 02:28:15 +10:30
ausocean-david 8231379a51 Audiofiltering:
Increase the efficieny and stability of algorithms by making use of waitgroups and goroutines.
2022-12-24 02:28:15 +10:30
ausocean-david 80ab5e4768 Audiofiltering:
Create Lowpass filter with frequency control, with efficient convolution algorithm.
2022-12-24 02:28:15 +10:30
Saxon Nelson-Milton 5a07b6ed5f cmd/vidforward: add Makefile and service setup script
This change provides a Makefile that will build the vidforward
service binary and also utilise a script to setup of a systemd
service for this binary.
2022-12-05 20:16:31 +10:30
Saxon Nelson-Milton 8f8b9ca0f4 cmd/vidforward: add watchdog notifier
This change adds a "watchdog notifier" utility which tracks the
health of request handlers and notifies an external systemd
watchdog if everything looks good. This allows us to cause a
termination if any request handlers get hung.
2022-12-05 19:54:14 +10:30
Saxon Nelson-Milton 3ea4aff365 cmd/vidforward: restructure code
This change creates two new files. Firstly, slate.go, to house
slate related functionality. Secondly, utils.go to house generic
utilities and helpers.
2022-11-27 10:07:04 +10:30
Saxon Nelson-Milton f3cf74ce51 cmd/vidforward: add slate image write functionality
This includes adding facilities to handle termination signals
and err handling. Some modifications have been made to the file
input to accomodate the concurrency requirements. The slate
read mechanism is still fairly rudimentary and can only read
from a hardcoded file, but at this stage is for prototyping
purposes.
2022-11-26 13:38:25 +10:30
Saxon Nelson-Milton a4a9ab07f8 cmd/vidforward/main.go: add control API endpoint with PUT and DELETE methods
This change removes usage of netsender to provide remote
configuration of the service and replaces with a basic control
REST API with PUT and DELETE methods. PUT requests add or update
a broadcast, and DELETE removes a broadcast. In addition to these
changes, some modification of the NOOP lexer has been performed
including tuning of the controller.
2022-11-14 20:46:21 +10:30
Saxon Nelson-Milton 67e03d0f5c Invert tag for inclusion of CV functionality
Prior to this change, CV was included by default, however, this
doesn't seem appropriate given that this functionality is rarely
used. For that reason, the meaning of the nocv tag has been
inverted i.e. it is now called withcv, and it the tag must be
included to build CV components.
2022-11-13 08:19:12 +10:30
Saxon Nelson-Milton fe2f091272 run gofmt 2022-11-06 17:25:28 +10:30
Saxon Nelson-Milton dddfcc256b vidforward & codecutil & mts & device & revid: improved Noop lexer code using ring buffer structure and improved overall commenting and code 2022-09-21 16:47:58 +09:30
Saxon Nelson-Milton b312774b49 cmd/vidforward & revid & device & codec/codecutil: fixes bugs and improving stream quality 2022-09-14 07:44:35 +00:00
Saxon Nelson-Milton 46e97debd5 cmd/vidforward & revid: initial implementation of vidforwarding software 2022-09-09 11:24:29 +09:30
Saxon Nelson-Milton 3101d21d99 cmd/rv: adding rv upgrade function. init: refactor Makefile and scripts for more flexibility 2022-06-07 15:12:08 +09:30
Saxon Nelson-Milton 5eb5992f15 using latest version of utils and using latest logging package 2022-05-27 15:42:58 +09:30
Saxon Nelson-Milton 47028b70c2 cmd/rv/main.go: This resolves issue #370. Removing default statement in readPin so that netsender net speed values are kept 2022-05-25 15:12:15 +09:30
Saxon Nelson-Milton 25b4b271a1 updating required iot version and making appropriate changes to code 2022-05-25 15:01:24 +09:30
Russell Stanley 5202f5914e cmd/rv/probe_circleci.go code cleanup 2022-04-29 13:53:52 +09:30
Russell Stanley 445ab1d785 turbidity: updated naming convention and comments per comments on PR 2022-04-28 13:43:49 +09:30
Russell Stanley fe0c9ffcdb cmd/rv/probe_test.go fix test with nocv build 2022-04-22 15:23:25 +09:30
Russell Stanley 83317e9bbc turbidity: added comments and improved debug logs 2022-04-22 15:09:23 +09:30
Russell Stanley c58643e207 cmd/rv/main.go fix probe initialization 2022-04-21 09:12:29 +09:30
Russell Stanley 6dd32ea786 cmd/rv: fix build issues 2022-04-12 13:51:17 +09:30
Russell Stanley f6505488bb turbidity: incorporate transform matrix variable into turbidity sensor 2022-04-12 13:32:34 +09:30
Russell Stanley 798e691c06 cmd/rv/main.go: add probe update after revid variable update 2022-04-11 16:26:22 +09:30
Russell Stanley 175cfc4925 revid/config: add transform matrix test case 2022-04-11 13:15:07 +09:30
Russell Stanley 3047704ca0 revid: add transfrom matrix variable 2022-04-11 09:23:40 +09:30
Russell Stanley 72f5b6ffb5 cmd/rv/probe.go: add trim fail tolerance 2022-04-01 10:25:58 +10:30
Russell Stanley ec4f34b117 cmd/rv/probe.go address comments on latest commit 2022-03-18 16:34:55 +10:30
Russell Stanley 8e06cffade mend 2022-03-17 09:21:26 +10:30
Russell Stanley b97f1f465f cmd/rv/probe.go improved error handling 2022-03-04 17:09:50 +10:30
Russell Stanley 9a02036628 merge master into turbidity-probe 2022-02-28 14:40:26 +10:30
Russell Stanley f262c70bab cmd/rv/probe.go reduce buffer limit and code cleanup 2022-02-25 17:02:46 +10:30
Russell Stanley cb59034a2e cmd/rv/probe.go improved logging and moved trim function to codec/h264/parse.go 2022-02-23 10:26:47 +10:30
Russell Stanley d4fbad12b7 add trim function for video data 2022-02-21 13:34:02 +10:30
Russell Stanley fd3202f99a add concurrency to probe write function 2022-02-16 16:29:04 +10:30
Russell Stanley f052516f9f mend 2022-02-09 12:53:18 +10:30
Russell Stanley be3e74ca43 code cleanup addressing comments on PR 2022-02-09 12:06:28 +10:30
Russell Stanley 9bf0edbe4d update transform to always apply default transformation 2022-02-09 10:51:42 +10:30
Russell Stanley c4386def0f Merge branch 'patch-turbidity' into turbidity-probe 2022-02-08 12:26:38 +10:30
Russell Stanley d8fefc0930 split turbidity probe declaration 2022-02-08 11:20:20 +10:30
Russell Stanley 4f33f13358 patch build issues from latest turbidity probe PR 2022-02-08 09:57:05 +10:30
Russell Stanley 68d4bd5593 decrease template size 2022-02-07 16:14:07 +10:30
Russell Stanley 140311fec9 added go routine for entire turbidity calculation 2022-02-07 11:06:25 +10:30
Russell Stanley b0f756a586 add go routine to write function 2022-02-04 17:02:18 +10:30
Russell Stanley 07c2472bdd added logging to turbidity sensor 2022-02-04 13:46:55 +10:30
Russell Stanley 6505223782 reduce max frames 2022-02-03 16:28:28 +10:30
Russell Stanley 014230a274 added video buffer and improved logging 2022-02-03 09:56:04 +10:30
Russell Stanley d2929f7415 turbidity package integration and improved logging 2022-02-01 17:04:38 +10:30