Skip to content

Commit e7180b9

Browse files
committed
Add full launch file for SeaTrac vehicles
1 parent f79fd21 commit e7180b9

File tree

3 files changed

+47
-28
lines changed

3 files changed

+47
-28
lines changed

configs/example.yaml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,4 +341,23 @@ digital_logger: #optional
341341
- name: "winch"
342342
outlet: 6
343343
- name: "starlink"
344-
outlet: 7
344+
outlet: 7
345+
346+
seatrac: #optional
347+
comms:
348+
connection:
349+
type: "UDP"
350+
udp_rx: 62001
351+
udp_tx: 62001
352+
udp_address: "10.1.20.88"
353+
354+
outlets:
355+
- name: "starlink"
356+
outlet: 15
357+
358+
seatrac_starlink_manager: #optional
359+
scheduled_on: "12:30" # HH:MM, UTC timezone
360+
shutdown_reminder: 1200 # seconds
361+
soc_threshold:
362+
high: 95 # percent (minimum threshold for automatic activation)
363+
medium: 80 # percent (minimum threshold for daily activation)

configs/seatrac.yaml

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
11
<launch>
2-
<!-- Most settings are in config.yaml, which is easier to edit -->
2+
<!-- Most settings are in config.yaml, which is easier to edit. -->
33
<rosparam command="load" file="$(arg config_file)" />
44

5-
<node name="seatrac" pkg="seatrac" type="seatrac_node.py" required="true">
6-
<remap from="~in" to="~comms/in" />
7-
<remap from="~out" to="~comms/out" />
8-
</node>
5+
<node name="ifcb" pkg="ifcb" type="ifcb" />
96

10-
<node ns="seatrac" name="comms" pkg="ds_util_nodes" type="bridge_node"
11-
required="true" />
7+
<node name="ifcb_logfilter" pkg="ifcb" type="ifcb_logfilter" />
128

13-
<node name="seatrac_starlink_manager" pkg="phyto_arm"
14-
type="seatrac_starlink_manager.py" required="true" />
9+
<group>
10+
<node name="seatrac" pkg="seatrac" type="seatrac_node.py">
11+
<remap from="~in" to="~comms/in" />
12+
<remap from="~out" to="~comms/out" />
13+
</node>
14+
15+
<node ns="seatrac" name="comms" pkg="ds_util_nodes" type="bridge_node"/>
16+
17+
<node name="seatrac_starlink_manager" pkg="phyto_arm"
18+
type="seatrac_starlink_manager.py" />
19+
</group>
20+
21+
<!-- Match namespace from arm_ifcb.launch -->
22+
<group ns="arm_ifcb">
23+
<node name="arm" pkg="phyto_arm" type="arm_ifcb.py" />
24+
25+
<node name="ctd_comms" pkg="ds_util_nodes" type="bridge_node" />
26+
27+
<node name="ctd" pkg="aml_ctd" type="aml_ctd_node.py">
28+
<remap from="~in" to="ctd_comms/in" />
29+
</node>
30+
31+
<node name="ifcb_runner" pkg="phyto_arm" type="ifcb_runner.py" />
32+
</group>
1533
</launch>

0 commit comments

Comments
 (0)