From 1f8021cb46a63b51de8c8909141a24adc671c987 Mon Sep 17 00:00:00 2001
From: am0ebe <am0ebe@gmx.de>
Date: Thu, 7 Dec 2023 17:08:33 +0100
Subject: [PATCH] notes+todo

---
 dox/notes_A                |  8 +++++
 dox/{todo_tron => todo_ct} | 69 ++++++++++++++++++++------------------
 2 files changed, 45 insertions(+), 32 deletions(-)
 rename dox/{todo_tron => todo_ct} (80%)

diff --git a/dox/notes_A b/dox/notes_A
index cda2ccc..cb70d1d 100644
--- a/dox/notes_A
+++ b/dox/notes_A
@@ -35,6 +35,14 @@ arena:
 ###############################
 ## Camera Settings
 ###############################
+	MAC ADDRESSES:
+		camtron1: 000A4708ED3F
+		camtron2: 000A471COC9D
+		camtron3: 000A47372777
+		camtron4: 000A471D2A66
+		camtron5: 000A471D208D
+		camtron6: 000A47139EA6
+
 	* lens aperture and focus should be adjusted optimal to have a pin sharp pictures with no overexposure -> fix screw on lens
 		gain??
 		use pix of written text of diff size
diff --git a/dox/todo_tron b/dox/todo_ct
similarity index 80%
rename from dox/todo_tron
rename to dox/todo_ct
index 194c12e..f944a6a 100644
--- a/dox/todo_tron
+++ b/dox/todo_ct
@@ -5,12 +5,10 @@ CAMTRON PROCESSING PIPELINE
  C) background-subtraction
  D) process scripts
  X) HPC
+ Z) laptop/fon maintenance
 ###########################
 
 PRIO:
-
-
-
 > update opencv 				-> eval how much work to fix?
 > update algorithm for bgs -> eval how much work to fix?
 
@@ -51,6 +49,7 @@ A)
 		> find hardware (Boxes, DMX per unit, DMX splitter/controller)
 		> setup hardware for 1 unit
 		> check software
+		> get infrared LEDs. ask if andy ordered them?
 		> attach IR-LEDs (solder)
 
 	> arenas
@@ -70,7 +69,7 @@ A)
 		> attach cam arm to wood
 		> get video in VV
 		> get video in SW-A via SDK
-		> cam calibration
+		> cam calibration (Use Viewer? Or own SW?)
 		> configure cam settings
 	* get video for 3 cams in one workstation
 		> what SW?
@@ -100,8 +99,11 @@ A)
 		> sketch: setup plan for a chamber
 		> copy last setup plan from thomas
 
-B) recorder (depends on cam in A)!!!)
+
+
+B) recorder - camera produces frames and timestamps
 ###########################
+	(depends on cam in A)!!!
 	> use new api Vimba X
 	> read manual (c++ / vimba)
 ============================
@@ -129,11 +131,15 @@ B) recorder (depends on cam in A)!!!)
 		list cams / features / actioncommands
 		eventhandling??
 
+	> read Manuals
+		>Vimba, C++, GigE-TL,(ImgTransform,),Cam Technical Docu
+		pdf "${HOME}/vimba_5_1/Documentation/Vimba Manual.pdf" 	"${HOME}/vimba_5_1/VimbaCPP/Documentation/Vimba CPP Manual.pdf" 	"${HOME}/vimba_5_1/VimbaGigETL/Documentation/VimbaGigETLFeaturesManual.pdf"  	"${HOME}/vimba_5_1/VimbaImageTransform/Documentation/Vimba ImageTransform Manual.pdf" 	"${HOME}/vimba_5_1/Documentation/Vimba Viewer Guide.pdf"
 
 	From Thomas:
 	* recording single frames in data structure
 	* used Vimba.2.1 (1.6 more likely)
 	* compress each frame with loosely jpg compression
+		(used framework opencv version 3.2. imwrite function with parameter: IMWRITE_JPEG_QUALITY 100 ;  IMWRITE_JPEG_OPTIMIZE 1; IMWRITE_JPEG_RST_INTERVAL 4;)
 	* stores timestamps for each frame in milliseconds
 
 SW viewer [optional]
@@ -144,32 +150,15 @@ SW viewer [optional]
 		eg. OnStopButtonClicked( cmd( ../camTrack3000 --stop ) ) ??
 	REST-Server/ HTTP-Json / ..
 
-X) HPC - High Performance Cluster
-####################################
-	> gamify > lvl up
-	> try script to send over data
-	> script that copies data once a day from VM to HPC
-		> Secure-Shell-ID angepasst
-		> cron
 
 
 
-A) setup testsystem
-###########################
-	> research suitable "fridges"
-	-> price!, temp-range, electricity inside, size space in lab?
-	-> more than 2
-		Reach In Plant Growth Chambers E-36L1
-		---------------------
-	> setup stativ, use our lab
-	> how-to connect ETHernet cable? it will have to go outside of fridge??
-	> how-to control temperature and humidity? (see picture from thomas dox)
-		---------------------
-	> calibration (chess or other. Use Viewer? Or own SW?)
+
 
 
 C) background subtraction
 ###########################
+	ctb - calculates centroid points of all frames in a record
 	> build
 	> find test data (cp to 00 - ..)
 	> process
@@ -179,6 +168,7 @@ C) background subtraction
 
 D) process scripts
 ###########################
+ 	ctd - calculated the mean speed in pixel / millisecond
 	* can i reduce size of data (reduce length|fps|res)
 	>> calc D) for test data set (get data from joerdis?)
 	-> with all frames
@@ -192,22 +182,32 @@ D) process scripts
 		> run calcVmeanForID.r on data
 		> calc new values. max speed. angle. ...
 
-=========
+X) HPC - High Performance Cluster
+####################################
+	> gamify > lvl up
+	> try script to send over data
+	> script that copies data once a day from VM to HPC
+		> Secure-Shell-ID angepasst
+		> cron
+		or > II) vimba-software directly to HPC?
 
-## MISC
+Z) laptop/fon maintenance
 ###############################
-	> database project \w emilio
 
-	build:
-	> save/load config
-	> Tapter: implement new IBgs
-=========
-	> infrared LEDs
 
 
 
 Done
 #######################
+
+> research suitable "fridges"
+	-> price!, temp-range, electricity inside, size space in lab?
+	-> more than 2
+		Reach In Plant Growth Chambers E-36L1
+		---------------------
+	> setup stativ, use our lab
+	> how-to connect ETHernet cable? it will have to go outside of fridge??
+	> how-to control temperature and humidity? (see picture from thomas dox)
 > research WS (see hardware_notes.ods for details like specs. CPU, RAM, SSDs, prices)
 > cam aufhaengung
 	research stativ/tripod: manfrotto arm + clamp + bodenplatte for cams
@@ -215,3 +215,8 @@ Done
 > sensors for temp+humidity (HOBO)
 > backup data from towers
 > setup tower (displays,cards,cables)
+-------------------------------
+> bal: func: list_suffices
+> bal: function to replace all names to snake_case (upper to lower, space/dash to underscore)
+> opd: works with "name containing spaces.pdf" -> use array for files instead of string concatenation in o_helper()
+> bug: changed IFS in o_helper broke nav function
-- 
GitLab