-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmads.ini
More file actions
162 lines (126 loc) · 3.71 KB
/
mads.ini
File metadata and controls
162 lines (126 loc) · 3.71 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# ____
# / ___|___ _ __ ___ _ __ ___ ___ _ __
# | | / _ \| '_ ` _ \| '_ ` _ \ / _ \| '_ \
# | |__| (_) | | | | | | | | | | | (_) | | | |
# \____\___/|_| |_| |_|_| |_| |_|\___/|_| |_|
#
[agents]
# Settings shared by all agents
frontend_address = "tcp://localhost:9090"
backend_address = "tcp://localhost:9091"
compress = true
timecode_fps = 25
# __ __ _ _ _ _ _
# | \/ | ___ _ __ ___ | (_) |_| |__ (_) ___
# | |\/| |/ _ \| '_ \ / _ \| | | __| '_ \| |/ __|
# | | | | (_) | | | | (_) | | | |_| | | | | (__
# |_| |_|\___/|_| |_|\___/|_|_|\__|_| |_|_|\___|
#
[broker]
frontend_address = "tcp://*:9090"
backend_address = "tcp://*:9091"
settings_address = "tcp://*:9092"
auth_verbose = false
prefer_loopback_for_local_services = true
# ip_whitelist = ["127.0.0.1"]
[logger]
mongo_uri = "mongodb://localhost:27017"
mongo_db = "mads_test"
# sub_topic = ["logger", "metadata", "rfid", "skeleton", "platform", "image", "agent_event", "bridge", "perf_assess"]
# or, subscribe to all topics:
sub_topic = [""]
max_length = 75
initially_paused = false
[bridge]
# default publish topic (if not passed via CLI)
sub_topic = ["publish"]
pub_topic = "bridge"
[feedback]
# Subscribes to ALL topics
sub_topic = [""]
print_width = 0
indent_width = 2
dont_block = false
queue_size = 1
[metadata]
# Topic to publish to (single string!)
pub_topic = "metadata"
[perf_assess]
pub_topic = "perf_assess"
[publish]
pub_topic = "fmu_control"
attachment = "../lib/publish.plugin"
[dealer]
sub_topic = ["publish", "spawner"]
pub_topic = "dealer"
dealer_address = "tcp://*:9093"
[worker]
pub_topic = "worker"
dealer_address = "tcp://localhost:9093"
[fmu_linear_axis]
period = 500
sub_topic = ["fmu_control"]
relative_tol = 1e-4
absolute_tol = 1e-5
hmin_tol = 1e-10
[fmu_rerun]
sub_topic = ["fmu_agent"] # Topics to subscribe to (array of strings)
time = "timecode" # Name of the timecode column in the input data (string)
# List of keypaths for time series
keypaths = ["/fmu_agent/output/position", "/fmu_agent/output/speed", "/fmu_agent/output/torque", "/fmu_agent/input/setpoint"]
# List of keypaths to build ACF for
# acf_keypaths = ["/replay/sensor/temperature", "/replay/sensor/humidity"]
# fft_keypaths = ["/replay/sensor/temperature", "/replay/sensor/humidity"]
# window_size = 200 # Width of the ACF and FFT window (integer)
# blueprint = "blueprint.rbl" # local or absolute path to a valid blueprint
# parallelize = true # Runs FFT and ACF computations in parallel
# ____ _ _
# | _ \| |_ _ __ _(_)_ __ ___
# | |_) | | | | |/ _` | | '_ \/ __|
# | __/| | |_| | (_| | | | | \__ \
# |_| |_|\__,_|\__, |_|_| |_|___/
# |___/
#
[restway]
pub_topic = "restway"
url = "http://localhost:5443/job/descriptions"
delay = 500
[echoj]
# Topic to publish to (single string!)
pub_topic = "echoj"
sub_topic = ["rfid"]
[clock]
# Topic to publish to (single string!)
pub_topic = "clock"
period = 200
[clock_slow]
# Topic to publish to (single string!)
pub_topic = "clock_slow"
period = 2000
[random]
number_of_elements = 3
[serial_reader]
port="/dev/ttyACM0"
baudrate=115200
# Arduino config serial command
cfg_cmd = "40p"
[mqtt]
broker_host="localhost"
broker_port=1883
topic = "capture/#"
[running_avg]
sub_topic = ["serial_reader"]
[spawner]
period_min = 100
period_max = 5000
number = 50
[c_test]
[monitor]
sub_topic = [""] # Subscribe to all topics
col_widths = [18, 15, 15] # Widths of first three columns
yellow = 0.5 # seconds: color yellow periods larger than that
red = 1 # seconds: color red periods larger than that
silent = true
[python_agent]
sub_topic = [""]
queue_size = 1