Skip to content

Commit

Permalink
feat: use xml for system monitor launch (autowarefoundation#602)
Browse files Browse the repository at this point in the history
* feat: use xml for system monitor launch

Signed-off-by: Daisuke Nishimatsu <[email protected]>

* ci(pre-commit): autofix

* fix voltage monitor param path

Signed-off-by: Daisuke Nishimatsu <[email protected]>

Signed-off-by: Daisuke Nishimatsu <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
wep21 and pre-commit-ci[bot] authored Dec 12, 2022
1 parent c896f3f commit acb358e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**:
ros__parameters:
cmos_battery_warn: 2.90
cmos_battery_error: 2.70
cmos_battery_label: ""
3 changes: 2 additions & 1 deletion system_launch/launch/system.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
<!-- System Monitor -->
<group if="$(eval &quot;'$(var run_mode)'=='online'&quot;)">
<push-ros-namespace namespace="system_monitor"/>
<include file="$(find-pkg-share system_monitor)/launch/system_monitor.launch.py">
<include file="$(find-pkg-share system_monitor)/launch/system_monitor.launch.xml">
<arg name="cpu_monitor_config_file" value="$(find-pkg-share system_launch)/config/system_monitor/cpu_monitor.param.yaml"/>
<arg name="hdd_monitor_config_file" value="$(find-pkg-share system_launch)/config/system_monitor/hdd_monitor.param.yaml"/>
<arg name="mem_monitor_config_file" value="$(find-pkg-share system_launch)/config/system_monitor/mem_monitor.param.yaml"/>
<arg name="net_monitor_config_file" value="$(find-pkg-share system_launch)/config/system_monitor/net_monitor.param.yaml"/>
<arg name="ntp_monitor_config_file" value="$(find-pkg-share system_launch)/config/system_monitor/ntp_monitor.param.yaml"/>
<arg name="process_monitor_config_file" value="$(find-pkg-share system_launch)/config/system_monitor/process_monitor.param.yaml"/>
<arg name="gpu_monitor_config_file" value="$(find-pkg-share system_launch)/config/system_monitor/gpu_monitor.param.yaml"/>
<arg name="voltage_monitor_config_file" value="$(find-pkg-share system_launch)/config/system_monitor/voltage_monitor.param.yaml"/>
</include>
</group>

Expand Down

0 comments on commit acb358e

Please sign in to comment.