-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmads.ini
More file actions
124 lines (103 loc) · 4.18 KB
/
Copy pathmads.ini
File metadata and controls
124 lines (103 loc) · 4.18 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
# ____
# / ___|___ _ __ ___ _ __ ___ ___ _ __
# | | / _ \| '_ ` _ \| '_ ` _ \ / _ \| '_ \
# | |__| (_) | | | | | | | | | | | (_) | | | |
# \____\___/|_| |_| |_|_| |_| |_|\___/|_| |_|
#
[agents]
# Settings shared by all agents
frontend_address = "tcp://localhost:9090"
backend_address = "tcp://localhost:9091"
settings_address = "tcp://localhost:9092"
timecode_fps = 25
# Outgoing payload encoding, fleet-wide default (can be overridden per agent).
# wire_format: "json" (default) or "msgpack"
# compression: "auto" (default, compress only frames >= 256 B), "snappy"
# (always) or "none"
wire_format = "msgpack"
compression = "none"
# __ __ _ _ _ _ _
# | \/ | ___ _ __ ___ | (_) |_| |__ (_) ___
# | |\/| |/ _ \| '_ \ / _ \| | | __| '_ \| |/ __|
# | | | | (_) | | | | (_) | | | |_| | | | | (__
# |_| |_|\___/|_| |_|\___/|_|_|\__|_| |_|_|\___|
#
[broker]
frontend_address = "tcp://*:9090"
backend_address = "tcp://*:9091"
settings_address = "tcp://*:9092"
prefer_loopback_for_local_services = true
# The followings are only needed if using CURVE encryption
# auth_verbose = false
# ip_whitelist = ["127.0.0.1"] # default is empty (allow all)
[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
[metadata]
# Topic to publish to (single string!)
pub_topic = "metadata"
[perf_assess]
pub_topic = "perf_assess"
[dealer]
sub_topic = ["publish", "spawner"]
pub_topic = "dealer"
dealer_address = "tcp://*:9093"
[worker]
pub_topic = "worker"
dealer_address = "tcp://localhost:9093"
# ____ _ _
# | _ \| |_ _ __ _(_)_ __ ___
# | |_) | | | | |/ _` | | '_ \/ __|
# | __/| | |_| | (_| | | | | \__ \
# |_| |_|\__,_|\__, |_|_| |_|___/
# |___/
#
[bridge]
# default publish topic (if not passed via CLI)
sub_topic = ["publish"]
pub_topic = "bridge"
[publish]
pub_topic = "publish"
[feedback]
# Subscribes to ALL topics
sub_topic = [""]
print_width = 0
indent_width = 2
[monitor]
sub_topic = [""] # Subscribe to all topics
col_widths = [18, 15, 15] # Widths of first three columns
yellow = 0.1 # seconds: color yellow periods larger than that
red = 0.1 # seconds: color red periods larger than that
silent = true
[replay]
db_uri = "mongodb://localhost:27017"
db_name = "mads_test" # Mandatory, a string
collections = ["perf_assess_1", "perf_assess_2"] # Mandatory, array of strings
start_time = "2026-03-10T20:27:00Z" # Mandatory, a string in ISO8601 format
end_time = "2026-03-10T20:27:10Z" # Mandatory, a string in ISO8601 format
max_loop_duration_ms = 0
repeat = false
view_name = "mads_replay_view" # default="": if specified mongo_replay creates
# a view with this name
reuse_view = false # default=false: if true and view_name is specified,
# mongo_replay will reuse the existing view
[rerunner]
# List of keypaths for time series
time = "timecode" # Name of the timecode column in the input data (string)
# keypaths = ["/my_source/values/x", "/my_source/values/y"]
# sub_topic = ["my_source"] # Topics to subscribe to (array of strings)
sub_topic = ["my_source", "my_filter"] # Topics to subscribe to (array of strings)
keypaths = ["/my_source/values/x", "/my_source/values/y", "/my_filter/averages/x", "/my_filter/averages/y"]
[rerunner2]
# List of keypaths for time series
time = "timecode" # Name of the timecode column in the input data (string)
# keypaths = ["/my_source/values/x", "/my_source/values/y"]
# sub_topic = ["my_source"] # Topics to subscribe to (array of strings)
sub_topic = ["test/my_source", "test/my_filter", "my_filter"] # Topics to subscribe to (array of strings)
keypaths = ["/test/my_source/values/x", "/test/my_source/values/y", "/test/my_filter/averages/x", "/test/my_filter/averages/y", "/test/my_filter/averages/y", "/my_filter/averages/y"]
queue_size = 1