From f4acfa0f5c2f50bffd48d763c9ba83e2d2289194 Mon Sep 17 00:00:00 2001 From: gobbo_a Date: Wed, 22 Mar 2017 16:21:51 +0100 Subject: [PATCH] Startup --- devices/CurrentCamera.properties | 16 ++++++++-------- script/test/CamtoolTest.py | 13 +++++++++++++ 2 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 script/test/CamtoolTest.py diff --git a/devices/CurrentCamera.properties b/devices/CurrentCamera.properties index 3c9bcc4..3d19660 100644 --- a/devices/CurrentCamera.properties +++ b/devices/CurrentCamera.properties @@ -1,7 +1,7 @@ -#Tue Mar 21 16:07:28 CET 2017 +#Wed Mar 22 11:36:21 CET 2017 colormap=Flame -colormapAutomatic=true -colormapMax=1323.0 +colormapAutomatic=false +colormapMax=1400.0 colormapMin=0.0 flipHorizontally=false flipVertically=false @@ -17,13 +17,13 @@ roiHeight=-1 roiWidth=-1 roiX=0 roiY=0 -rotation=270.0 +rotation=0.0 rotationCrop=false scale=1.0 serverURL=localhost\:10000 -spatialCalOffsetX=-1056.0 -spatialCalOffsetY=-1419.0 -spatialCalScaleX=-8.51063829787234 -spatialCalScaleY=-8.559201141226819 +spatialCalOffsetX=-1211.1781867616605 +spatialCalOffsetY=-478.29179363692987 +spatialCalScaleX=-8.235817260147883 +spatialCalScaleY=-8.510638450091575 spatialCalUnits=mm transpose=false diff --git a/script/test/CamtoolTest.py b/script/test/CamtoolTest.py new file mode 100644 index 0000000..f186f1a --- /dev/null +++ b/script/test/CamtoolTest.py @@ -0,0 +1,13 @@ +c = {"reference_marker":[0, 0, 100, 100]} +camtool.setCalibration("SLG-LCAM-C021", c) + + +camtool.getGeometry("SINEG01-DSCR350") + +for c in camtool.getCameras(): + if c not in ["example", "simulation"]: + try: + print c , " - ", camtool.getGeometry(c) + except: + print c + time.sleep(0.2) \ No newline at end of file