supervisor code moved around

This commit is contained in:
Mikayla Fischler
2022-03-25 12:18:33 -04:00
parent 5eaeb50000
commit 013656bc4d
3 changed files with 80 additions and 57 deletions

15
supervisor/supervisor.lua Normal file
View File

@@ -0,0 +1,15 @@
-- #REQUIRES comms.lua
-- supervisory controller communications
function superv_comms(mode, num_reactors, modem, dev_listen, fo_channel, sv_channel)
local self = {
mode = mode,
seq_num = 0,
num_reactors = num_reactors,
modem = modem,
dev_listen = dev_listen,
fo_channel = fo_channel,
sv_channel = sv_channel,
reactor_struct_cache = nil
}
end