Skip to content

Commit

Permalink
fix(system_monitor): add parameter to launch system_monitor and fix h…
Browse files Browse the repository at this point in the history
…dd_monitor (#2285)

Signed-off-by: ito-san <fumihito.ito@tier4.jp>

Signed-off-by: ito-san <fumihito.ito@tier4.jp>
  • Loading branch information
ito-san authored Nov 21, 2022
1 parent 16602f6 commit f3b5f53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
num_disks: 1
disks: # Until multi type lists are allowed, name N the disks as disk0...disk{N-1}
disk0:
name: /dev/sda3
name: /
temp_attribute_id: 0xC2
temp_warn: 55.0
temp_error: 70.0
Expand Down
3 changes: 2 additions & 1 deletion launch/tier4_system_launch/launch/system.launch.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<launch>
<arg name="launch_system_monitor" default="true" description="launch system monitor"/>
<arg name="run_mode" default="online" description="options: online, planning_simulation"/>
<arg name="sensor_model" description="sensor model name"/>
<arg name="tier4_system_launch_param_path" default="$(find-pkg-share tier4_system_launch)/config" description="tier4_system_launch parameter path"/>
Expand All @@ -10,7 +11,7 @@
<push-ros-namespace namespace="/system"/>

<!-- System Monitor -->
<group>
<group if="$(var launch_system_monitor)">
<push-ros-namespace namespace="system_monitor"/>
<include file="$(find-pkg-share system_monitor)/launch/system_monitor.launch.py">
<arg name="cpu_monitor_config_file" value="$(var tier4_system_launch_param_path)/system_monitor/cpu_monitor.param.yaml"/>
Expand Down

0 comments on commit f3b5f53

Please sign in to comment.