-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.py
40 lines (33 loc) · 858 Bytes
/
constants.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
# camera calibration parameters
fx = 1987.7588924985816
fy = 2068.8668509694376
cx = 1418.0224009761068
cy = 948.6125189630379
k1 = 0.3683688689823332
k2 = -0.1940751373413739
k3 = 1.9340687673193722
p1 = 0.07210298657979947
p2 = 0.028448930285605897
# Ring physical properties
e2e_height_rr = 191
e2e_height_yr = 115
diameter_red_cms = 56
diameter_yellow_cms = 48
red_optimum_hover_ht = 160
yellow_optimum_hover_ht = 70
yellow_optimum_fly_ht = 85
max_distance_btw_rings = 150
yellow_ring_minimum_area_threshold = 7000
red_ring_minimum_area_threshold = 12000
# Drone Properties
speed = 20
hover_up_down_threshold = 0
right_left_threshold = 0
max_velocity_up_down = 25
max_velocity_right_left = 20
lower_limit_right_left = 20
upper_limit_right_left = 200
lower_limit_up_down = 20
upper_limit_up_down = 500
buffer_distance = 15
focal_length_camera = 42