Commit Graph

4054 Commits

Author SHA1 Message Date
Trek Hopton 18a869abfa Merged in make-flags (pull request #491)
init: add flag for rv build tags in makefile
2022-12-23 01:27:04 +00:00
Trek H 800d3d141a init: add flag for rv build tags 2022-12-23 11:44:06 +10:30
Saxon Milton 2faec86eb8 Merged in add-makefile-etc (pull request #490)
cmd/vidforward: add Makefile and service setup script

Resolves issue #387
2022-12-20 09:12:29 +00:00
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 Milton e71d8193d6 Merged in watchdog-notifier (pull request #489)
cmd/vidforward: add watchdog notifier

Resolves issue #388.

Approved-by: Alan Noble
Approved-by: Russell Stanley
Approved-by: Trek Hopton
2022-12-05 09:26:24 +00:00
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 Milton f6e00342f7 Merged in restructure (pull request #488)
cmd/vidforward: restructure code
2022-11-26 23:37:44 +00:00
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 Milton 0e6fb95461 Merged in write-slate (pull request #487)
cmd/vidforward: add slate image write functionality

Resolves issue #379

Approved-by: Alan Noble
Approved-by: Russell Stanley
Approved-by: Trek Hopton
2022-11-26 03:11:59 +00:00
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 cb31c5de9b Update to latest utils ver 2022-11-20 12:17:21 +10:30
Saxon Milton 28da53bd6a Merged in control-api (pull request #485)
cmd/vidforward/main.go: add control API endpoint with PUT and DELETE methods

Resolves issue #380

Approved-by: Alan Noble
Approved-by: Trek Hopton
2022-11-14 10:18:55 +00:00
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 Milton 96e1be0910 Merged in mts-buffer-max-alloc (pull request #486)
revid/senders.go: increase buffer pool maxAlloc in mtsSender

Resolves issue #382

Approved-by: Trek Hopton
2022-11-14 09:55:07 +00:00
Saxon Nelson-Milton 300c5bc14d revid/senders.go: increase buffer pool maxAlloc in mtsSender 2022-11-13 09:38:49 +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 Milton ea900398a3 Merged in video-forwarder (pull request #484)
Video forwarder

Resolves issue #378

Approved-by: Russell Stanley
2022-09-21 07:24:47 +00:00
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 Milton f9fddcf0e8 Merged in fix-loop (pull request #483)
revid & device/file: removing Loop mode which was conflicting with Loop variable, and improve file input with logging and robustness

Resolves issue #374

Approved-by: Trek Hopton
2022-09-01 05:58:45 +00:00
Saxon Nelson-Milton 862c06b5f3 revid & device/file: removing Loop mode which was conflicting with Loop variable, and improve file input with logging and robustness 2022-08-31 16:58:40 +09:30
Saxon Milton af9ae527f4 Merged in fix-sync-reboot (pull request #481)
init/Makefile: adding target to build syncreboot. This no longer assumes the utils dir exists.

resolves issue #373

Approved-by: Trek Hopton
2022-06-10 01:27:44 +00:00
Saxon Nelson-Milton f1b1d5c880 init/Makefile: adding target to build syncreboot. This no longer assumes the utils dir exists 2022-06-09 17:03:48 +09:30
Saxon Milton 0d5100b2c8 Merged in fix-senders-logging (pull request #482)
revid/senders.go: using logging.Logger interface

resolves issue #343

Approved-by: Trek Hopton
2022-06-09 05:49:16 +00:00
Saxon Nelson-Milton 9978e0187c revid/senders.go: using logging.Logger interface 2022-06-08 14:13:14 +09:30
Saxon Milton 84bf14aa0a Merged in fix-upgrade (pull request #480)
cmd/rv: adding rv upgrade function. init: refactor Makefile and scripts for more flexibility

Resolves issue #369

Approved-by: Trek Hopton
2022-06-07 05:52:12 +00:00
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 Milton d64e46794a Merged in updating-logging (pull request #479)
using latest version of utils and using latest logging package

Resolves issue #372

Approved-by: Trek Hopton
2022-06-03 07:04:52 +00:00
Saxon Nelson-Milton 3bae489a20 init/Makefile: renaming install_soft target to rebuild and performing go build under this target 2022-06-01 14:29:28 +09:30
Saxon Nelson-Milton 9c28290a88 providing install_soft build target 2022-06-01 14:06:59 +09:30
Saxon Nelson-Milton 44fa6bc54a providing install_soft build target 2022-05-31 14:47:06 +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 ab49930149 fixing customizable make username problems 2022-05-27 12:44:18 +09:30
Saxon Nelson-Milton e894abe339 improved container/mts/encoder.go error wrapping and checking errors from encoder write in revid/senders_test.go 2022-05-27 11:58:53 +09:30
Saxon Nelson-Milton 7a397ff96f init/Makefile: make user customizable 2022-05-27 11:03:54 +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 88062eef87 Merged in target-location (pull request #478)
Add functionality to set the location of the chessboard

Approved-by: Saxon Milton
2022-05-19 06:44:36 +00:00
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