Skip to content

Commit 8655e1d

Browse files
Isaac I. Y. Saito130s
authored andcommitted
WIP: Allow more runtime config.
1 parent 1864e08 commit 8655e1d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

computer_hw/conf/monitor.launch

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
<launch>
2+
<arg name="gpu_monitor_rate" default="1.0" />
3+
<arg name="gpu_stats_window_max" default="172800" doc="ROS Topic's statistics feature. Default '172800' is 48 hours for 1 hz" />
4+
25
<!-- Sensors -->
36
<node pkg="libsensors_monitor" type="libsensors_monitor" name="libsensors_monitor" output="screen" respawn="true" />
47

58
<node pkg="computer_hw" type="nvidia_temp.py" name="nvidia_temperature_monitor" output="screen" respawn="true">
6-
<param name="gpu_monitor_rate" value="1.0" />
9+
<param name="enable_statistics" value="true" />
10+
<param name="statistics_window_max_elements" value="$(arg gpu_stats_window_max)" />
11+
<param name="gpu_monitor_rate" value="$(arg gpu_monitor_rate)" />
712
</node>
813

914
<!-- Enable ROS' diagnostics aggregation feature -->

0 commit comments

Comments
 (0)