-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfiguration.xml
More file actions
53 lines (45 loc) · 2.42 KB
/
configuration.xml
File metadata and controls
53 lines (45 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<opencv_storage>
<Configuration>
<!-- LASER POSITION -->
<!-- Should be precise by construction -->
<LASER_POS_X>34</LASER_POS_X>
<!-- Not used by calculations -->
<LASER_POS_Y>11</LASER_POS_Y>
<!-- Should be precise by construction -->
<LASER_POS_Z>36.4</LASER_POS_Z>
<!-- CAMERA POSITION -->
<CAM_POS_Y>10</CAM_POS_Y>
<CAM_POS_Z>36.4</CAM_POS_Z>
<!-- TURNTABLE POSITION -->
<!-- Not used by calculations -->
<TURNTABLE_POS_X>0.0</TURNTABLE_POS_X>
<!-- Not used by calculations -->
<TURNTABLE_POS_Y>0.0</TURNTABLE_POS_Y>
<!-- Precise by construction -->
<TURNTABLE_POS_Z>0</TURNTABLE_POS_Z>
<!-- ADDITIONAL CONFIGS -->
<!-- To speed up computations we analyze the laser frame only after a certin offset from top -->
<UPPER_ANALYZING_FRAME_LIMIT>0</UPPER_ANALYZING_FRAME_LIMIT>
<!-- To speed up computations we analyze the laser frame only upt oa certin offset from bottom -->
<LOWER_ANALYZING_FRAME_LIMIT>30</LOWER_ANALYZING_FRAME_LIMIT>
<!-- To avoid noise, we stop analyzing the frame from right to left after a certain ofset of the estimated laser position -->
<ANALYZING_LASER_OFFSET>90</ANALYZING_LASER_OFFSET>
<!-- In % from top, postion of blue line (when pressing fetch frame)-->
<!-- This should be the intersection of the back plane and the bottom plane -->
<ORIGIN_Y>0.75</ORIGIN_Y>
<!-- In cm the width of what the camera sees, ie place a measure tool at the back-plane and see how many cm the camera sees.-->
<!-- This is a cheap way of calibration -->
<FRAME_WIDTH>26.6</FRAME_WIDTH>
<!-- The resolution of the images coming from the camera -->
<CAM_IMAGE_WIDTH>1280.0</CAM_IMAGE_WIDTH>
<!--<CAM_IMAGE_HEIGHT>960.0</CAM_IMAGE_HEIGHT>-->
<CAM_IMAGE_HEIGHT>960.0</CAM_IMAGE_HEIGHT>
<!-- Currenty not implemented -->
<!-- When there is a stepper attached to the laser, we can swipe the laser over the object, here we define the minimum and maximum angle where the laser starts and ends -->
<!-- The minimal angle -->
<LASER_SWIPE_MIN>18.0</LASER_SWIPE_MIN>
<!-- The maximum angle -->
<LASER_SWIPE_MAX>52.0</LASER_SWIPE_MAX>
</Configuration>
</opencv_storage>