-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmads.ini
More file actions
59 lines (50 loc) · 2.2 KB
/
Copy pathmads.ini
File metadata and controls
59 lines (50 loc) · 2.2 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
# ____
# / ___|___ _ __ ___ _ __ ___ ___ _ __
# | | / _ \| '_ ` _ \| '_ ` _ \ / _ \| '_ \
# | |__| (_) | | | | | | | | | | | (_) | | | |
# \____\___/|_| |_| |_|_| |_| |_|\___/|_| |_|
#
[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 = "json"
# compression = "auto"
# __ __ _ _ _ _ _
# | \/ | ___ _ __ ___ | (_) |_| |__ (_) ___
# | |\/| |/ _ \| '_ \ / _ \| | | __| '_ \| |/ __|
# | | | | (_) | | | | (_) | | | |_| | | | | (__
# |_| |_|\___/|_| |_|\___/|_|_|\__|_| |_|_|\___|
#
[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)
[arduinousb_source]
period = 10
pin_modes = {"1"="PULLUP", "2"="PULLUP", "3"="PULLUP", "15"="ANALOG"}
[arduinousb_sink]
pin_modes = {"1"="OUTPUT", "2"="OUTPUT", "4"="PWM"}
[arduinostream]
period = 100
sample_rate = 5000
pin_modes = {"15"="ANALOG", "16"="ANALOG"}
# buffer_size = 0 # records held on the host; 0 = auto (>= 1024, or ~1 s of data)
# chunk_size = 0 # records per published frame; 0 = publish everything staged each tick
# volts = true # analog samples as volts (true) or raw ADC codes (false)
# serial = "" # USB serial number to open; empty = first device found
# restart = true # reopen the board and resume streaming when the stream fails
# max_restarts = 0 # stream failures to recover from; 0 = unlimited
[rerunner]
sub_topic = ["arduinousb_source"]
keypaths = ["/arduinousb_source/analog/15", "/arduinousb_source/digital/1", "/arduinousb_source/digital/2", "/arduinousb_source/digital/3"]