Skip to content

Commit

Permalink
[jsk_tools/audible_warning] Split sample diagnostics_analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
iory authored and knorth55 committed May 23, 2022
1 parent 56def56 commit 4651c4a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
14 changes: 0 additions & 14 deletions jsk_tools/sample/config/diagnostics_analyzer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,3 @@ analyzers:
path: RobotDriver
contains: 'robot_driver'
num_items: 1
cameras:
type: diagnostic_aggregator/AnalyzerGroup
path: Sensors
analyzers:
pseudo_diagnostics1:
type: diagnostic_aggregator/GenericAnalyzer
path: sensor1
find_and_remove_prefix: 'pseudo_diagnostics: '
num_items: 1
pseudo_diagnostics2:
type: diagnostic_aggregator/GenericAnalyzer
path: sensor2
find_and_remove_prefix: 'pseudo_diagnostics: '
num_items: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
analyzers:
cameras:
type: diagnostic_aggregator/AnalyzerGroup
path: Sensors
analyzers:
pseudo_diagnostics1:
type: diagnostic_aggregator/GenericAnalyzer
path: sensor1
find_and_remove_prefix: 'pseudo_diagnostics: '
num_items: 1
pseudo_diagnostics2:
type: diagnostic_aggregator/GenericAnalyzer
path: sensor2
find_and_remove_prefix: 'pseudo_diagnostics: '
num_items: 1
2 changes: 1 addition & 1 deletion jsk_tools/sample/sample_audible_warning.launch
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<node name="diagnostic_aggregator"
pkg="diagnostic_aggregator" type="aggregator_node"
clear_params="true" >
<rosparam command="load" file="$(find jsk_tools)/sample/config/diagnostics_analyzer.yaml" />
<rosparam command="load" file="$(find jsk_tools)/sample/config/sample_audible_warning_diagnostics_analyzer.yaml" />
</node>

<node name="sound_play"
Expand Down

0 comments on commit 4651c4a

Please sign in to comment.