-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Empty default aggregator base_path (#305)
* aggregator default base path is "" * adding leading slash back * testing for the empty root path Signed-off-by: Christian Henkel <[email protected]>
- Loading branch information
Showing
6 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
analyzers: | ||
ros__parameters: | ||
primary: | ||
type: 'diagnostic_aggregator/AnalyzerGroup' | ||
path: Group01 | ||
analyzers: | ||
primary: | ||
type: 'diagnostic_aggregator/GenericAnalyzer' | ||
path: Primary | ||
startswith: [ 'primary' ] | ||
secondary: | ||
type: 'diagnostic_aggregator/GenericAnalyzer' | ||
path: Secondary | ||
startswith: [ 'secondary' ] |
2 changes: 2 additions & 0 deletions
2
diagnostic_aggregator/test/expected_output/create_empty_root_path.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/Group01/Primary | ||
/Group01/Secondary |
6 changes: 6 additions & 0 deletions
6
diagnostic_aggregator/test/expected_output/output_empty_root_path.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
diagnostic_msgs.msg.DiagnosticStatus | ||
name='/Group01/Primary', message='Stale' | ||
diagnostic_msgs.msg.DiagnosticStatus | ||
name='/Group01/Secondary', message='Stale' | ||
diagnostic_msgs.msg.DiagnosticStatus | ||
name='/Group01', message='Stale' |