@@ -18,6 +18,45 @@ alerts:
18
18
19
19
# Node-specific configuration
20
20
21
+ # Network Data Capture
22
+ # Used for capturing udp/tcp streams, e.g. during a cruise
23
+ network_data_capture : # optional
24
+ stats_interval : 60 # optional. How frequently to log statistics. Default is 60 seconds.
25
+ print_stats : false # optional. Print to STDOUT. Default is false. Useful for debugging connections
26
+ topics :
27
+ ship_udp_example : # optional. Name of the topic to publish to
28
+ connection_type : " udp" # Can be "udp" or "tcp"
29
+ port : 44444 # Port for PhytO-ARM to listen to
30
+ parsing_strategy : " delimited" # Can be "json_dict", "json_array", "raw", or "delimited"
31
+ delimiter : " , " # optional. Only used if parsing_strategy is "delimited"
32
+ use_regex_delimiter : false # optional. If true, delimiter is treated as a regex pattern. Default is false.
33
+ subtopics : # optional. If parsing_strategy is not raw use this to parse data into subtopics
34
+ example_subtopic : # optional. Name of the subtopic
35
+ field_id : 0 # Index of the field. Used if parsing_strategy is "json_array" or "delimited"
36
+ type : " str" # Can be "str", "int", "float", "bool", "float[]", "int[]", or "bool[]"
37
+ second_example : # optional. Another subtopic, would have path "/ship_udp_example/second_example"
38
+ field_id : 1
39
+ type : " float"
40
+ rbr_udp_stream : # optional. Example for an RBR CTD stream proxied over UDP
41
+ connection_type : " udp"
42
+ port : 12345
43
+ parsing_strategy : " json_dict"
44
+ subtopics : # optional
45
+ depth : # optional. Will publish to "/rbr_udp_stream/depth"
46
+ field_id : " depth" # Example of a JSON dict key.
47
+ type : " float"
48
+ delimited_stream_example : # optional. Example for a delimited stream
49
+ connection_type : " udp"
50
+ port : 5678
51
+ parsing_strategy : " delimited"
52
+ delimiter : " ,? "
53
+ use_regex_delimiter : true # optional. If true, delimiter is treated as a regex pattern. Default is false.
54
+ subtopics : # optional
55
+ temperature : # optional. Will publish to "/delimited_stream_example/temperature"
56
+ field_id : 0
57
+ type : " float" # Note delimited fields cannot be arrays
58
+
59
+
21
60
gps :
22
61
host : " 172.17.0.1"
23
62
@@ -169,7 +208,7 @@ arm_chanos: #optional
169
208
- 5.0
170
209
- 6.5
171
210
172
- ctd_topic : ' /arm_chanos/ctd /depth'
211
+ ctd_topic : ' /rbr_udp_stream /depth'
173
212
ctd :
174
213
channels :
175
214
- conductivity(mS/cm)
0 commit comments