-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.py
45 lines (36 loc) · 828 Bytes
/
config.py
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
# CAMERA
SOURCE_CAMERA = 0
CAMERA_MATRIX_DIR = 'data/camera_data'
camera_shifting = [0, 0, 0]
camera_number=0
alpha = 31.549972
betta = 40.8607246
resolution = [480,640]
calibration_mtx_dir='data/camera_data'
# CAMERA INTRINSIC PARAMETERS
CAMERA_RESOLUTION = [1280, 720]
CAMERA_SHIFTING = [-0.005, 0.045, 0.02]
IMG_RESOLUTION = [640, 480]
PIXEL_SIZE = 2.8 * 10e-6
SENSOR_SIZE = [3.584 * 10e-3, 2.016 * 10e-3]
FOCAL_LENGTH = 4.7 * 10e-3
ALPHA = 31.549972
BETTA = 40.8607246
# FRAME
UNDISTORTED = True
data_path = 'data/'
# CHESSBOARD PARAMETERS
ROWS = 6
COLS = 9
LENGTHS_BEETWIN_ALL_COLS = 0.19774
CHESSBOARD_THICKNESS = 0.012
# OBJECTS_PARAMETERS
OBJECT_HEIGHT = 0.04
# TOOL
TOOL_HEIGHT = 0.067
TOOL_DIAMETER = 0.075
TOOL_SHIFTING_X = -0.005
TOOL_SHIFTING_Y = 0.045
TOOL_SHIFTING_Z = 0.02
# WORK_PLACE
Z_PLACE = 0.0609