From 0aa866d39412a1b039e3c709dad940ab1f09db73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Tue, 8 Apr 2014 08:40:00 +0200 Subject: [PATCH] updated config files --- config_files/chaosc_chaosc.conf | 3 +++ config_files/chaosc_lucas.conf | 31 +++++++++++++++++++++++++ config_files/chaosc_sensors.conf | 11 +++++++++ config_files/chaosc_stefan.conf | 31 +++++++++++++++++++++++++ config_files/osc2cam_final.conf | 3 --- config_files/osc2cam_local_testing.conf | 3 --- config_files/tmux-sensor-testing.conf | 18 +++++++------- config_files/transcoding_config.py | 30 ------------------------ 8 files changed, 85 insertions(+), 45 deletions(-) create mode 100644 config_files/chaosc_chaosc.conf create mode 100644 config_files/chaosc_lucas.conf create mode 100644 config_files/chaosc_sensors.conf create mode 100644 config_files/chaosc_stefan.conf delete mode 100644 config_files/osc2cam_final.conf delete mode 100644 config_files/osc2cam_local_testing.conf delete mode 100644 config_files/transcoding_config.py diff --git a/config_files/chaosc_chaosc.conf b/config_files/chaosc_chaosc.conf new file mode 100644 index 0000000..9ddb013 --- /dev/null +++ b/config_files/chaosc_chaosc.conf @@ -0,0 +1,3 @@ +[chaosc] +ipv4_only = True +subscription_file = ~/dev/psychose/config_files/targets.config diff --git a/config_files/chaosc_lucas.conf b/config_files/chaosc_lucas.conf new file mode 100644 index 0000000..ba74dfa --- /dev/null +++ b/config_files/chaosc_lucas.conf @@ -0,0 +1,31 @@ +[chaosc_ctl] +ipv4_only = True +client_host = lucas +client_port = 11111 +chaosc_host = chaosc + +[chaosc_dump] +ipv4_only = True +client_host = lucas +client_port = 11112 +subscribe = True +chaosc_host = chaosc + +[chaosc_emitter] +ipv4_only = True +client_host = lucas +client_port = 11113 +chaosc_host = chaosc + +[ekgplotter] +ipv4_only = True +client_host = lucas +client_port = 11114 +chaosc_host = chaosc + +[chaosc_recorder] +ipv4_only = True +client_host = lucas +client_port = 111115 +chaosc_host = chaosc + diff --git a/config_files/chaosc_sensors.conf b/config_files/chaosc_sensors.conf new file mode 100644 index 0000000..8cc3912 --- /dev/null +++ b/config_files/chaosc_sensors.conf @@ -0,0 +1,11 @@ +[ekg2osc] +ipv4_only = True +chaosc_host = chaosc + +[pulse2osc] +ipv4_only = True +chaosc_host = chaosc + +[ehealth2osc] +ipv4_only = True +chaosc_host = chaosc diff --git a/config_files/chaosc_stefan.conf b/config_files/chaosc_stefan.conf new file mode 100644 index 0000000..569c984 --- /dev/null +++ b/config_files/chaosc_stefan.conf @@ -0,0 +1,31 @@ +[chaosc_ctl] +ipv4_only = True +client_host = stefan +client_port = 11111 +chaosc_host = chaosc + +[chaosc_dump] +ipv4_only = True +client_host = stefan +client_port = 11112 +subscribe = True +chaosc_host = chaosc + +[chaosc_emitter] +ipv4_only = True +client_host = stefan +client_port = 11113 +chaosc_host = chaosc + +[ekgplotter] +ipv4_only = True +client_host = stefan +client_port = 11114 +chaosc_host = chaosc + +[chaosc_recorder] +ipv4_only = True +client_host = stefan +client_port = 111115 +chaosc_host = chaosc + diff --git a/config_files/osc2cam_final.conf b/config_files/osc2cam_final.conf deleted file mode 100644 index d2918a7..0000000 --- a/config_files/osc2cam_final.conf +++ /dev/null @@ -1,3 +0,0 @@ -192.168.1.51, 9000 -192.168.1.52, 9000 -192.168.1.53, 9000 diff --git a/config_files/osc2cam_local_testing.conf b/config_files/osc2cam_local_testing.conf deleted file mode 100644 index 29a688c..0000000 --- a/config_files/osc2cam_local_testing.conf +++ /dev/null @@ -1,3 +0,0 @@ -localhost, 9001 -localhost, 9002 -localhost, 9003 diff --git a/config_files/tmux-sensor-testing.conf b/config_files/tmux-sensor-testing.conf index a587b05..c1063b3 100644 --- a/config_files/tmux-sensor-testing.conf +++ b/config_files/tmux-sensor-testing.conf @@ -29,17 +29,17 @@ new-window -n 'socat-ehealth-bjoern' -t 'csession:8' 'socat -d -d PTY,raw,echo= new-window -n 'socat-ehealth-merle' -t 'csession:9' 'socat -d -d PTY,raw,echo=0,link=/tmp/ehealth2osc-merle-in,b115200,user=stefan PTY,raw,echo=0,link=/tmp/ehealth2osc-merle-out,b115200,user=stefan' new-window -n 'socat-ehealth-uwe' -t 'csession:10' 'socat -d -d PTY,raw,echo=0,link=/tmp/ehealth2osc-uwe-in,b115200,user=stefan PTY,raw,echo=0,link=/tmp/ehealth2osc-uwe-out,b115200,user=stefan' -new-window -n 'ekg2osc-bjoern' -t 'csession:11' 'ekg2osc -4 -d /tmp/ekg2osc-bjoern-out -a bjoern' -new-window -n 'ekg2osc-merle' -t 'csession:12' 'ekg2osc -4 -d /tmp/ekg2osc-merle-out -a merle' -new-window -n 'ekg2osc-uwe' -t 'csession:13' 'ekg2osc -4 -d /tmp/ekg2osc-uwe-out -a uwe' +new-window -n 'ekg2osc-bjoern' -t 'csession:11' 'ekg2osc -4 -D /tmp/ekg2osc-bjoern-out -a bjoern' +new-window -n 'ekg2osc-merle' -t 'csession:12' 'ekg2osc -4 -D /tmp/ekg2osc-merle-out -a merle' +new-window -n 'ekg2osc-uwe' -t 'csession:13' 'ekg2osc -4 -D /tmp/ekg2osc-uwe-out -a uwe' -new-window -n 'pulse2osc-bjoern' -t 'csession:14' 'pulse2osc -4 -d /tmp/pulse2osc-bjoern-out -a bjoern' -new-window -n 'pulse2osc-merle' -t 'csession:15' 'pulse2osc -4 -d /tmp/pulse2osc-merle-out -a merle' -new-window -n 'pulse2osc-uwe' -t 'csession:16' 'pulse2osc -4 -d /tmp/pulse2osc-uwe-out -a uwe' +new-window -n 'pulse2osc-bjoern' -t 'csession:14' 'pulse2osc -4 -D /tmp/pulse2osc-bjoern-out -a bjoern' +new-window -n 'pulse2osc-merle' -t 'csession:15' 'pulse2osc -4 -D /tmp/pulse2osc-merle-out -a merle' +new-window -n 'pulse2osc-uwe' -t 'csession:16' 'pulse2osc -4 -D /tmp/pulse2osc-uwe-out -a uwe' -new-window -n 'ehealth2osc-bjoern' -t 'csession:17' 'sleep 1 && ehealth2osc -4 -d /tmp/ehealth2osc-bjoern-out -a bjoern' -new-window -n 'ehealth2osc-merle' -t 'csession:18' 'sleep 1 && ehealth2osc -4 -d /tmp/ehealth2osc-merle-out -a merle' -new-window -n 'ehealth2osc-uwe' -t 'csession:19' 'sleep 1 && ehealth2osc -4 -d /tmp/ehealth2osc-uwe-out -a uwe' +new-window -n 'ehealth2osc-bjoern' -t 'csession:17' 'sleep 1 && ehealth2osc -4 -D /tmp/ehealth2osc-bjoern-out -a bjoern' +new-window -n 'ehealth2osc-merle' -t 'csession:18' 'sleep 1 && ehealth2osc -4 -D /tmp/ehealth2osc-merle-out -a merle' +new-window -n 'ehealth2osc-uwe' -t 'csession:19' 'sleep 1 && ehealth2osc -4 -D /tmp/ehealth2osc-uwe-out -a uwe' new-window -n 'test-ekg-bjoern' -t 'csession:20' 'python /home/stefan/dev/psychose/sensors2osc/sensors2osc/socat_ekg_test.py /tmp/ekg2osc-bjoern-in' new-window -n 'test-ekg-merle' -t 'csession:21' 'python /home/stefan/dev/psychose/sensors2osc/sensors2osc/socat_ekg_test.py /tmp/ekg2osc-merle-in' diff --git a/config_files/transcoding_config.py b/config_files/transcoding_config.py deleted file mode 100644 index c68f489..0000000 --- a/config_files/transcoding_config.py +++ /dev/null @@ -1,30 +0,0 @@ -from chaosc.transcoders_ng import * - -transcoders = [ - MappingTranscoder( - "/(.*?)/ekg", - "insert resolume osc address here", - [["osc_arg", 0, "osc_arg", 0, IntRange2FloatConverter(1023)]]), - MappingTranscoder( - "/(.*?)/heartbeat", - "insert resolume osc address here", - [ - ["osc_arg", 0, "osc_arg", 0, KeepConverter()], - ["osc_arg", 1, "osc_arg", 1, KeepConverter()], - ["osc_arg", 2, "osc_arg", 2, KeepConverter()]]), - MappingTranscoder( - "/(.*?)/airFlow", - "insert resolume osc address here", - [ - ["osc_arg", 0, "osc_arg", 0, KeepConverter()]]), - MappingTranscoder( - "/(.*?)/emg", - "insert resolume osc address here", - [ - ["osc_arg", 0, "osc_arg", 0, KeepConverter()]]), - MappingTranscoder( - "/(.*?)/temperature", - "insert resolume osc address here", - [ - ["osc_arg", 0, "osc_arg", 0, KeepConverter()]]), -]