Commit graph

35 commits

Author SHA1 Message Date
Serge Bazanski 299212ae9e succd: add ci, tests
Some checks failed
/ test (push) Failing after 20s
2024-09-28 15:46:40 +02:00
Serge Bazanski 96e07ece2d succd: run at 100Hz, monitor load and jitter 2024-09-28 14:27:43 +02:00
Serge Bazanski 12f6815673 succd: gofmt 2024-09-28 14:27:43 +02:00
zdmx f5d80a335f succd: remove redundant if 2024-09-28 11:20:25 +02:00
Serge Bazanski fbf41203de succd: do not engage pirani failsafe on startup, as that prohibits restarting succd when the machine runs 2024-09-28 10:23:15 +02:00
Serge Bazanski dda098f634 succd: early refuse unsafe operations 2024-09-28 10:22:40 +02:00
Serge Bazanski 960be9cd23 succd: rewrite processing loop 2024-09-28 10:17:05 +02:00
Serge Bazanski 3d81a1f56c succd: roll process_state.go back into process.go 2024-09-28 09:48:50 +02:00
Serge Bazanski 185525ca30 succd: downgrade high pressure lockout message to warning 2024-09-28 09:46:49 +02:00
Serge Bazanski 590e93e43e succd: log pressures in error messages 2024-09-28 09:46:18 +02:00
Serge Bazanski 451b44e31b succd: move out processing blocks to separate file 2024-09-28 09:39:44 +02:00
Serge Bazanski 4df00f0a63 succd: factor out ringbuffer, do not recalculate average on every request 2024-09-28 09:35:41 +02:00
Serge Bazanski 42c9ae2fa7 succd: httpServer -> webServer 2024-09-28 09:19:14 +02:00
Serge Bazanski f66afc0c8f succd: restyle slightly 2024-09-28 08:32:07 +02:00
Serge Bazanski 8f7ec7e141 succd: split out http server, daemon state, daemon controller
This improves the structure of the code, separating the data/control
interface out and then implementing the http interface as a user of this
interface.
2024-09-28 08:10:35 +02:00
Serge Bazanski 3ec6fd1d1b succd: unify html/js data source 2024-09-28 07:54:18 +02:00
Serge Bazanski 776f7a9911 succd: add hysteresis for high pressure safety interlock 2024-09-28 07:36:37 +02:00
Serge Bazanski 239a5c40cc succd: factor out safety status to separate struct 2024-09-28 07:36:37 +02:00
Serge Bazanski 80f482b732 succd: tristate pirani safety detection 2024-09-28 07:31:06 +02:00
Rahix 85d2afbdd0 succd: Fix javascript and template syntax errors
Turns out the go templating engine fails silently when unclosed strings
are present in the templated file.........

Fix javascript code :))
2024-09-28 00:05:18 +02:00
zdmx 908727608a succd: add safety status to web frontend 2024-09-27 23:49:24 +02:00
zdmx eb7707f1a0 succd: change safety reset threshold 2024-09-27 23:35:44 +02:00
zdmx ae9ac4ea0e succd: reset failsafe only after vent 2024-09-27 23:33:03 +02:00
zdmx 7a64ce91d4 succd: check currentmost pirani values for safety lock 2024-09-27 23:24:55 +02:00
zdmx 9db2213fa6 succd: log rate of change 2024-09-27 23:06:56 +02:00
zdmx 9ad6ce7dad succd: calcuate change rate for safety interlock directly from adc ringbuffer 2024-09-27 23:02:21 +02:00
zdmx d3391b28ec succd: add additional safety interlocks 2024-09-27 22:29:56 +02:00
Rahix f7752922c2 succd: Cleanup whitespace in HTML file 2024-09-27 02:32:36 +02:00
Serge Bazanski 34ab508b13 succd: add pirani failsafe 2024-09-27 02:24:19 +02:00
Serge Bazanski 6d97eb62a8 succd: implement threshold outputs, rework processing 2024-09-27 02:12:38 +02:00
Serge Bazanski 781bbaaeb4 succd: show logo 2024-09-27 02:12:38 +02:00
Serge Bazanski 7dffd2a4b4 succd: add logo 2024-09-27 02:12:38 +02:00
Serge Bazanski 0eacd74484 succd: README: add pin table 2024-09-27 02:12:38 +02:00
Serge Bazanski 070f45b1bc succd: implement rp/dp/vent/pumpdown control 2024-09-25 23:38:43 +02:00
Rahix 1669b48dbd More succd into succbone subdirectory 2024-09-21 23:19:55 +02:00