File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
diagnostic_common_diagnostics/diagnostic_common_diagnostics Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 6464
6565
6666class HDMonitor (Node ):
67- """Diagnostic node checking the remaining space on the specified hard drive.
67+ """
68+ Diagnostic node checking the remaining space on the specified hard drive.
6869
6970 Three ROS parameters:
7071 - path: Path on the filesystem to check (string, default: home directory)
@@ -90,7 +91,8 @@ def __init__(self):
9091 self ._updater .add (f'{ hostname } HD Usage' , self .check_disk_usage )
9192
9293 def callback_config (self , params : List [rclpy .Parameter ]):
93- """Retrieve ROS parameters.
94+ """
95+ Retrieve ROS parameters.
9496
9597 see the class documentation for declared parameters.
9698 """
@@ -108,7 +110,8 @@ def callback_config(self, params: List[rclpy.Parameter]):
108110 return SetParametersResult (successful = True )
109111
110112 def check_disk_usage (self , diag : DiagnosticStatus ) -> DiagnosticStatus :
111- """Compute the disk usage and derive a status from it.
113+ """
114+ Compute the disk usage and derive a status from it.
112115
113116 Task periodically ran by the diagnostic updater.
114117 """
You can’t perform that action at this time.
0 commit comments