-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathecal.ini
189 lines (171 loc) · 10.4 KB
/
ecal.ini
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
; --------------------------------------------------
; NETWORK SETTINGS
; --------------------------------------------------
; network_enabled = true / false true = all eCAL components communicate over network boundaries
; false = local host only communication
;
; multicast_config_version = v1 / v2 UDP configuration version (Since eCAL 5.12.)
; v1: default behavior
; v2: new behavior, comes with a bit more intuitive handling regarding masking of the groups
; multicast_group = 239.0.0.1 UDP multicast group base
; All registration and logging is sent on this address
; multicast_mask = 0.0.0.1-0.0.0.255 v1: Mask maximum number of dynamic multicast group
; 255.0.0.0-255.255.255.255 v2: masks are now considered like routes masking
;
; multicast_port = 14000 + x UDP multicast port number (eCAL will use at least the 2 following port
; numbers too, so please modify in steps of 10 (e.g. 1010, 1020 ...)
;
; multicast_ttl = 0 + x UDP ttl value, also known as hop limit, is used in determining
; the intermediate routers being traversed towards the destination
;
; multicast_sndbuf = 1024 * x UDP send buffer in bytes
;
; multicast_rcvbuf = 1024 * x UDP receive buffer in bytes
;
; multicast_join_all_if = false Linux specific setting to enable joining multicast groups on all network interfacs
; independent of their link state. Enabling this makes sure that eCAL processes
; receive data if they are started before network devices are up and running.
;
; bandwidth_max_udp = -1 UDP bandwidth limit for eCAL udp layer (-1 == unlimited)
;
; inproc_rec_enabled = true Enable to receive on eCAL inner process layer
; shm_rec_enabled = true Enable to receive on eCAL shared memory layer
; udp_mc_rec_enabled = true Enable to receive on eCAL udp multicast layer
;
; npcap_enabled = false Enable to receive UDP traffic with the Npcap based receiver
;
; tcp_pubsub_num_executor_reader = 4 Tcp_pubsub reader amount of threads that shall execute workload
; tcp_pubsub_num_executor_writer = 4 Tcp_pubsub writer amount of threads that shall execute workload
; tcp_pubsub_max_reconnections = 5 Tcp_pubsub reconnection attemps the session will try to reconnect in
; case of an issue (a negative value means infinite reconnection attemps)
;
; host_group_name = Common host group name that enables interprocess mechanisms across
; (virtual) host borders (e.g, Docker); by default equivalent to local host name
; --------------------------------------------------
[network]
network_enabled = true
multicast_config_version = v1
multicast_group = 239.0.0.1
multicast_mask = 0.0.0.15
multicast_port = 14000
multicast_ttl = 2
multicast_sndbuf = 5242880
multicast_rcvbuf = 5242880
multicast_join_all_if = false
bandwidth_max_udp = -1
inproc_rec_enabled = true
shm_rec_enabled = true
tcp_rec_enabled = true
udp_mc_rec_enabled = true
npcap_enabled = false
tcp_pubsub_num_executor_reader = 4
tcp_pubsub_num_executor_writer = 4
tcp_pubsub_max_reconnections = 5
host_group_name =
; --------------------------------------------------
; COMMON SETTINGS
; --------------------------------------------------
; registration_timeout = 60000 Timeout for topic registration in ms (internal)
; registration_refresh = 1000 Topic registration refresh cylce (has to be smaller then registration timeout !)
; --------------------------------------------------
[common]
registration_timeout = 60000
registration_refresh = 1000
; --------------------------------------------------
; TIME SETTINGS
; --------------------------------------------------
; timesync_module_rt = "ecaltime-localtime" Time synchronisation interface name (dynamic library)
; The name will be extended with platform suffix (32|64), debug suffix (d) and platform extension (.dll|.so)
;
; Available modules are:
; - ecaltime-localtime local system time without synchronization
; - ecaltime-linuxptp For PTP / gPTP synchronization over ethernet on Linux
; (device configuration in ecaltime.ini)
; - ecaltime-simtime Simulation time as published by the eCAL Player.
; --------------------------------------------------
[time]
timesync_module_rt = "ecaltime-localtime"
; ---------------------------------------------
; PROCESS SETTINGS
; ---------------------------------------------
;
; terminal_emulator = /usr/bin/x-terminal-emulator -e command for starting applications with an external terminal emulator. If empty, the command will be ignored. Ignored on Windows.
; e.g. /usr/bin/x-terminal-emulator -e
; /usr/bin/gnome-terminal -x
; /usr/bin/xterm -e
;
; ---------------------------------------------
[process]
terminal_emulator =
; --------------------------------------------------
; PUBLISHER SETTINGS
; --------------------------------------------------
; use_inproc = 0, 1, 2 Use inner process transport layer (0 = off, 1 = on, 2 = auto, default = 0)
; use_shm = 0, 1, 2 Use shared memory transport layer (0 = off, 1 = on, 2 = auto, default = 2)
; use_tcp = 0, 1, 2 Use tcp transport layer (0 = off, 1 = on, 2 = auto, default = 0)
; use_udp_mc = 0, 1, 2 Use udp multicast transport layer (0 = off, 1 = on, 2 = auto, default = 2)
;
; memfile_minsize = x * 4096 kB Default memory file size for new publisher
;
; memfile_reserve = 50 .. x % Dynamic file size reserve before recreating memory file if topic size changes
;
; memfile_ack_timeout = 0 .. x ms Publisher timeout for ack event from subscriber that memory file content is processed
;
; memfile_buffer_count = 1 .. x Number of parallel used memory file buffers for 1:n publish/subscribe ipc connections (default = 1)
; memfile_zero_copy = 0, 1 Allow matching subscriber to access memory file without copying its content in advance (blocking mode)
;
; share_ttype = 0, 1 Share topic type via registration layer
; share_tdesc = 0, 1 Share topic description via registration layer (switch off to disable reflection)
; --------------------------------------------------
[publisher]
use_inproc = 0
use_shm = 2
use_tcp = 0
use_udp_mc = 2
memfile_minsize = 4096
memfile_reserve = 50
memfile_ack_timeout = 0
memfile_buffer_count = 1
memfile_zero_copy = 0
share_ttype = 1
share_tdesc = 1
; --------------------------------------------------
; MONITORING SETTINGS
; --------------------------------------------------
; timeout = 1000 + (x * 1000) Timeout for topic monitoring in ms
; filter_excl = __.* Topics blacklist as regular expression (will not be monitored)
; filter_incl = Topics whitelist as regular expression (will be monitored only)
; filter_log_con = warning, error Log messages logged to console (all, info, warning, error, fatal, debug1, debug2, debug3, debug4)
; filter_log_file = Log messages to logged into file system
; filter_log_udp = warning, error, fatal Log messages logged via udp network
; --------------------------------------------------
[monitoring]
timeout = 5000
filter_excl = __.*
filter_incl =
filter_log_con = error, fatal, warning
filter_log_file =
filter_log_udp = info, warning, error, fatal
; --------------------------------------------------
; SYS SETTINGS
; --------------------------------------------------
; filter_excl = App1,App2 Apps blacklist to be excluded when importing tasks from cloud
; --------------------------------------------------
[sys]
filter_excl = ^eCALSysClient$|^eCALSysGUI$|^eCALSys$
; --------------------------------------------------
; EXPERIMENTAL SETTINGS
; --------------------------------------------------
; shm_monitoring_enabled = false Enable distribution of monitoring/registration information via shared memory
; shm_monitoring_domain = ecal_monitoring Domain name for shared memory based monitoring/registration
; shm_monitoring_queue_size = 1024 Queue size of monitoring/registration events
; network_monitoring_disabled = false Disable distribution of monitoring/registration information via network
;
; drop_out_of_order_messages = false Enable dropping of payload messages that arrive out of order
; --------------------------------------------------
[experimental]
shm_monitoring_enabled = false
shm_monitoring_domain = ecal_mon
shm_monitoring_queue_size = 1024
network_monitoring_disabled = false
drop_out_of_order_messages = false