-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #454 from pawelir/add-panther-diagnostics-config
The panther_diagnostics reconfiguration
- Loading branch information
Showing
4 changed files
with
57 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,8 @@ | ||
system_monitor: | ||
cpu_usage_warn_threshold: | ||
type: double | ||
default_value: 95.0 | ||
description: Threshold for CPU usage warning in percentage. | ||
validation: { bounds<>: [0.0, 100.0] } | ||
cpu_temperature_warn_threshold: | ||
type: double | ||
default_value: 80.0 | ||
description: Threshold for CPU temperature warning in degrees Celsius. | ||
validation: { bounds<>: [0.0, 1000.0] } | ||
ram_usage_warn_threshold: | ||
type: double | ||
default_value: 95.0 | ||
description: Threshold for memory usage warning in percentage. | ||
validation: { bounds<>: [0.0, 100.0] } | ||
disk_usage_warn_threshold: | ||
type: double | ||
default_value: 95.0 | ||
description: Threshold for disk usage warning in percentage. | ||
validation: { bounds<>: [0.0, 100.0] } | ||
publish_frequency: | ||
type: double | ||
default_value: 5.0 | ||
description: System status publishing frequency [Hz]. | ||
validation: { bounds<>: [0.1, 10.0] } | ||
/**: | ||
system_monitor: | ||
ros__parameters: | ||
cpu_usage_warn_threshold: 95.0 | ||
cpu_temperature_warn_threshold: 80.0 | ||
ram_usage_warn_threshold: 90.0 | ||
disk_usage_warn_threshold: 90.0 | ||
publish_frequency: 5.0 |
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
26 changes: 26 additions & 0 deletions
26
husarion_ugv_diagnostics/src/system_monitor_parameters.yaml
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,26 @@ | ||
system_monitor: | ||
cpu_usage_warn_threshold: | ||
type: double | ||
default_value: 95.0 | ||
description: Threshold for CPU usage warning in percentage. | ||
validation: { bounds<>: [0.0, 100.0] } | ||
cpu_temperature_warn_threshold: | ||
type: double | ||
default_value: 80.0 | ||
description: Threshold for CPU temperature warning in degrees Celsius. | ||
validation: { bounds<>: [0.0, 120.0] } | ||
ram_usage_warn_threshold: | ||
type: double | ||
default_value: 90.0 | ||
description: Threshold for memory usage warning in percentage. | ||
validation: { bounds<>: [0.0, 100.0] } | ||
disk_usage_warn_threshold: | ||
type: double | ||
default_value: 90.0 | ||
description: Threshold for disk usage warning in percentage. | ||
validation: { bounds<>: [0.0, 100.0] } | ||
publish_frequency: | ||
type: double | ||
default_value: 5.0 | ||
description: System status publishing frequency [Hz]. | ||
validation: { bounds<>: [0.1, 10.0] } |