Skip to content

Commit

Permalink
move param set from config to launch file.
Browse files Browse the repository at this point in the history
Signed-off-by: xtk8532704 <[email protected]>
  • Loading branch information
xtk8532704 committed Nov 27, 2024
1 parent b4e85d2 commit 9d9dc86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**:
ros__parameters:
output_metrics: false # if true, metrics are written to `<ros2_logging_directory>/autoware_metrics/<node_name>-<time_stamp>.json`.
update_rate: 10.0
processing_time_topic_name_list:
- /control/control_evaluator/debug/processing_time_ms
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<launch>
<arg name="config_file" default="$(find-pkg-share autoware_processing_time_checker)/config/processing_time_checker.param.yaml"/>
<!-- # if output_metrics=true, metrics are written to `<ros2_logging_directory>/autoware_metrics/<node_name>-<time_stamp>.json`. -->
<arg name="output_metrics" default="false"/>

<node pkg="autoware_processing_time_checker" exec="processing_time_checker_node" name="processing_time_checker" output="screen">
<param from="$(var config_file)"/>
<param name="output_metrics" value="$(var output_metrics)"/>
</node>
</launch>

0 comments on commit 9d9dc86

Please sign in to comment.