From 9182dcdd8f58bc2962f328c4a255bb65c8793771 Mon Sep 17 00:00:00 2001 From: gac-S_Changer Date: Fri, 7 Jul 2017 11:54:01 +0200 Subject: [PATCH] Closedown --- devices/led_ctrl1.properties | 4 ++-- devices/led_ctrl2.properties | 4 ++-- script/imgproc/LedDetectionProc.py | 6 +++--- script/local.py | 3 +++ 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/devices/led_ctrl1.properties b/devices/led_ctrl1.properties index 8102c24..2aa84b4 100644 --- a/devices/led_ctrl1.properties +++ b/devices/led_ctrl1.properties @@ -1,5 +1,5 @@ -#Wed Jun 21 15:15:18 CEST 2017 -maxValue=0.4 +#Wed Jul 05 14:03:21 CEST 2017 +maxValue=1.2 minValue=0.0 offset=0.0 precision=2 diff --git a/devices/led_ctrl2.properties b/devices/led_ctrl2.properties index 370156c..2aa84b4 100644 --- a/devices/led_ctrl2.properties +++ b/devices/led_ctrl2.properties @@ -1,5 +1,5 @@ -#Wed Jun 21 15:15:16 CEST 2017 -maxValue=0.4 +#Wed Jul 05 14:03:21 CEST 2017 +maxValue=1.2 minValue=0.0 offset=0.0 precision=2 diff --git a/script/imgproc/LedDetectionProc.py b/script/imgproc/LedDetectionProc.py index e17bfca..d467a9b 100644 --- a/script/imgproc/LedDetectionProc.py +++ b/script/imgproc/LedDetectionProc.py @@ -4,10 +4,10 @@ room_temp = False -number_frames = 5 -number_backgrounds = 5 +number_frames = 10 +number_backgrounds = 10 minimum_size = 150 -maximum_size = 1200 +maximum_size = 1500 min_circ = 0.2 threshold_method = "MaxEntropy" if room_temp else "Default" #Apparently good for LN2: Default, Intermodes, IsoData, Otsu exclude_edges = True diff --git a/script/local.py b/script/local.py index 06b4f81..bc01997 100644 --- a/script/local.py +++ b/script/local.py @@ -5,6 +5,7 @@ from ch.psi.pshell.serial import TcpDevice from ch.psi.pshell.modbus import ModbusTCP +run("setup/Layout") ################################################################################################### # Scripted devices @@ -119,6 +120,8 @@ g[0]=0x80;r[0]=0x80; g[1]=0xFF ; r[1] = 0x80; b[1] = 0x80 outline_lut2 = (r,g,b) + + ################################################################################################### # Math utilities ###################################################################################################