-
Notifications
You must be signed in to change notification settings - Fork 350
/
config.yaml
60 lines (55 loc) · 1.8 KB
/
config.yaml
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
54
55
56
57
58
59
60
environment:
level: "medium" # three difficulty level [easy, medium, hard]
env_folder: "environment_0" # configurations for dynamic and static obstacles
world_box: [-20, 80, -10, 10, 0.0, 10] # Bounding box applied during training, exiting this box terminates the episode. [xmin, xmax, ymin, ymax, zmin, zmax]
goal_vel: [3.0, 0.0, 0.0] # goal velicty for tracking vx, vy, vz
max_detection_range: 10.0 # max obstacle detection range [m], obstacles outside this range will not be detected. The number of obstacles detected is fixed to 10, if less than 10 obstacles are within detectable range, the observation is padded with 10.0
rewards:
vel_coeff: -0.01
collision_coeff: -0.01
angular_vel_coeff: -0.0001
survive_rew: 0.03
names:
[
"lin_vel_reward",
"collision_penalty",
"ang_vel_penalty",
"survive_rew",
"total",
]
rgb_camera:
on: yes
t_BC: [0.0, 0.0, 0.3] # translational vector of the camera with repect to the body frame
r_BC: [0.0, 0.0, -90] # rotational angle (roll, pitch, yaw) of the camera in degree.
channels: 3
width: 320
height: 240
fov: 70.0
enable_depth: yes
enable_segmentation: no
enable_opticalflow: no
unity:
scene_id: 0 # 0 warehouse, 1 street, 2 forest, 3 wasteland
render: no
simulation:
seed: 1
sim_dt: 0.02
max_t: 20.0
num_envs: 100
num_threads: 10
quadrotor_dynamics:
mass: 0.752
tbm_fr: [0.075, -0.10, 0.0] # [m]
tbm_bl: [-0.075, 0.10, 0.0] # [m]
tbm_br: [-0.075, -0.10, 0.0] # [m]
tbm_fl: [0.075, 0.10, 0.0] # [m
omega_max: [6.0, 6.0, 2.0]
inertia: [0.0025, 0.0021, 0.0043]
kappa: 0.022
motor_omega_min: 150.0
motor_omega_max: 2800.0
motor_tau: 0.033
thrust_map: [1.562522e-6, 0.0, 0.0] # max thrust = 8.50 N
body_drag_1: [0.00, 0.00, 0.00]
body_drag_3: [0.00, 0.00, 0.00]
body_drag_h: 0.00