Closed limaanto closed 5 days ago
Thanks for your contribution @limaanto :) Please add also a test. But you should be able to adopt https://github.com/ros/diagnostics/blob/ros2/diagnostic_common_diagnostics/test/systemtest/test_ntp_monitor_launchtest.py directly.
Hi, I rebased the branch on ros2
and implemented a successful launch test (based on the recommended ntp_monitor's)
Tell me if I'm missing something :smiley:
Hi, I included your review remarks, rebased on the latest ros2
and passed black.
Cheers :)
@limaanto Please rebase branch and fix flake8 errors
That should be good :+1:
@limaanto friendly ping
Status | Branch | Result |
---|---|---|
✅ | ros2-humble | |
✅ | ros2-iron | |
✅ | ros2-jazzy |
Please refer to the Backport tool documentation
As promised in #319 (though it took quite a while..), here is a ported version of the HD monitor script.
After the discussions of #319, I decided to :
shutil.disk_usage
which comes with all python installs seemed like a good choicepath
to configure where the check is ran on. By default this is the home directory but can be changed with a ros paramI did not take the time to write the test yet, let me know if this is mandatory for merging (or if there is any other point for that matter)