File size: 841 Bytes
3c74b8c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import numpy as np

PI = np.float32(np.pi)

EPISODE_LENGTH = 100  # number of steps per episode

SPACE_LIMITS = 250  # playground limits for the PADS
LANDING_LIMITS = 10  # error tolerated for landing
LANDING_TARGET = 50  # error tolerated for the target when landing

RHO_INIT = 10  # default para's 2D position
THETA_INIT = PI / 2
Z_INIT = 100  #

SPEED_RHO = 5  # units forward per step
SPEED_ANGLE = 0
SPEED_Z = 1  # units down per step

MOVE_TO_METERS = 8  # how many meters (down or horizontally) per unit in a step

MAX_ANGLE = PI / 3

LOC = {'Paris':
           {'lat': 48.865879, 'lon': 2.319827},
       'Fonsorbes':
           {'lat': 43.54, 'lon': 1.25},
       'San Francisco':
           {'lat': 37.7737283, 'lon': -122.4342383},
       'Puilaurens':
           {'lat': 42.8119596, 'lon': 2.2590985},
       }

TIMESLEEP = 0.2