Commit Graph

51 Commits

Author SHA1 Message Date
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
Russell Stanley 357510cfab initial turbidity probe integration 2022-02-01 16:25:42 +10:30
Russell Stanley 3614d5c2cc Read h264 frame into a byte slice 2022-02-01 16:25:42 +10:30
Russell Stanley 7da2097cf9 added testing file and began write implementation 2022-02-01 16:25:42 +10:30
Russell Stanley 0c6d9d0132 setup ticker 2022-02-01 16:25:42 +10:30
Saxon Nelson-Milton bdb44214a1 rv & revid/{revid.go, pipeline.go}: added probe component to revid and wrote skeleton of probe implementation for turbdidity sensing in rv 2022-02-01 16:25:42 +10:30
Saxon Nelson-Milton 36f1436645 cmd/rv/main.go: updating bitrate pin and using const 2022-01-13 16:08:02 +10:30
Saxon Nelson-Milton 49aa588aae cmd/rv/main.go & revid/config/variables.go: rename Variables Type_ field to Type and comment Variables global. 2021-07-22 13:06:06 +09:30
Trek Hopton 82e7ed29d7 rv: initialise variable map 2020-05-19 06:46:47 +00:00
Saxon Milton ce50b5fbd1 Merged in nicer-update-func (pull request #411)
revid/config: variables struct providing names, types, update and validation

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-05-19 06:02:02 +00:00
Saxon Nelson-Milton 10908a1749 cmd/rv/main.go: added delay before running stuff
We were getting problems with connection to RTSP device when revid was started from boot.
It seemed like system networking things were not given enough time to establish themselves
before we tried to use them. A delay before running revid fixes this, but is a bit of a
hacky solution. Better solution would be appreciated.
2020-04-10 17:33:24 +01:00
Saxon Milton 0fa50d1a46 Merged in improve-logging (pull request #389)
Improve debug and info logging quality and frequency

* cmd/rv: added some more debug and info logging

* revid: improving logging in revid.go

* revid: improved logging in senders.go

* revid: don't need to set log level as netsender does it

* added some extract log messages

Approved-by: Trek Hopton <trek.hopton@gmail.com>
2020-03-27 12:20:51 +00:00
Scott Barnard 9b8f0dc887 Merged in burst-mode (pull request #364)
revid: make burst mode part of revid API

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-31 04:19:47 +00:00
Scott 5502eea661 revid: remove Burst method's duration parameter 2020-01-31 14:31:17 +10:30
Ella Pietraroia 7f44c96abe changed revid start warning to error 2020-01-30 15:54:42 +10:30
Scott 054f0a5e77 revid: add Burst method to revid 2020-01-30 13:20:44 +10:30
Saxon Milton 043e5b004a cmd/rv/main.go: fixed package comment 2020-01-28 08:49:51 +00:00
Saxon Milton 3362410798 cmd/rv/main.go: fixed file header 2020-01-28 08:46:15 +00:00
Saxon 63e2b24c90 cmd/rv: fixed profile.go and main.go file heaers including USAGE section in main.go 2020-01-28 11:51:05 +10:30
Saxon 86f804cf53 cmd/rv/main.go: moved initialisation of revid to above run call 2020-01-28 10:49:42 +10:30
Saxon 10a8c70e6d cmd/rv/main.go: sleeping at end of complete iteration in main loop 2020-01-28 10:29:40 +10:30
Saxon d5b28f20c8 cmd/rv: updated package name string used for logging 2020-01-28 10:28:16 +10:30
Saxon ed626e02ab cmd/rv: did some cleaning and commenting
Modified profile.go file header. Updated binary name in run.sh.
2020-01-27 15:50:24 +10:30