-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig-example.yml
59 lines (58 loc) · 3.25 KB
/
config-example.yml
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
strava:
email: ***
password: ***
app_version: xxx.yy (zzzzzz) # Mobile App -> Settings in top right corner -> About -> Version
device_manufacturer: FakeBrand # ex: Xiaomi, Huawei
device_model: FakePhone F10 Pro # ex: Redmi Note 9 Pro, Huawei P30 Pro
device_os_version: 11 # ex: 10 (Android Q), 11 (Red Velvet Cake)
# Speed wave generation options to be used during runs.
# Since services such as strava draw the graphs of the speed,
# the speed wave needs to be randomly generated. Internally,
# it is generated as a random wave using the given parameters.
run_activity:
# During an activity people run or ride with different speeds
# at different times. You might get tired and go slower,
# or you might suddenly speed up. The speed wave generation is
# split up into two types of slopes: common and rare. During common
# slopes, the speed doesn't change much and it changes slower, however,
# during a rare slope, the speed changes suddenly and by a larger ammount.
common_speed_options:
# Slope describes the maximum possible angle of a common slope.
# When a common slope is generated, a random tan(φ) is picked in the range
# (-slope, slope) and defines the angle of the slope.
slope: 0.4
# Amplitude is the maximum change of speed during a common slope in km/h.
# The change won't always be equal, less or greater than this, however
# the value will be used to create changes of this size on average.
amplitude: 1.5
# The speed wave consists of slopes where the speed is rising and slopes
# where it is falling. Each slope duration (the time during which the change takes place)
# is generated using these values.
minduration: 20 # Minimum duration of the slope, in seconds
maxduration: 50 # Maximum duration of the slope, in seconds
# Same options as above, but for rare slopes.
rare_speed_options:
slope: 1
amplitude: 2.5
minduration: 15
maxduration: 30
# The chance of a rare slope occurring during the generation of a new slope.
# Each time the old slope finishes, this chance gets used to decide whether
# to generate a rare slope or a common slope. Should be in range (0, 1)
rare_speed_chance: 0.1
# In order to add some realism to the speed slope, the beginning and the
# end of the activity must show speeding-up and slowing-down, respectively.
# These variables specify the approximate duration (it is altered a bit to add some randomness)
# of the speed-up to the desired speed and from the desired speed,
# as well as the fraction from which to start speeding up and at which to end starting up.
# The default options mean that the activity will start with speed = desired_speed/2
# and during the first 45 seconds the speed will reach desired_speed, after which the
# actual wave generation will begin. Generally speeking, fade_fraction can be set to a higher
# value in order to "scale" the speed wave more (make it look smoother) and to a smaller value
# in order to make it more "spiky".
fade_duration: 45
fade_fraction: 0.5
# All of the same options as above, but for ride activities. Note that these
# are set to null to give an example that nearly all of the options for route
# generation have defaults, allowing you to provide only those that you need.
ride_activity: null