clearpath_tests.diagnostic_test module
- class clearpath_tests.diagnostic_test.DiagnosticTestNode(*args: Any, **kwargs: Any)
Bases:
ClearpathTestNode
Monitors diagnostic topics to make sure there aren’t any warnings.
- diagnostic_callback(diagnostic_array)
Check the statuses in the array for warnings & errors.
@param diagnostic_array The message received on the diagnostic topic
- get_test_result_details()
Get additional details about the test results.
These details get included in the report, but are not printed out.
If the test does not support additional details, simply return None
- log_error(status, pool)
- run_test()
Run this node interactively, prompting the user for input.
This function must be implemented by all children
@return An array of TestResults describing the results
- start()
Run this node normally as a standard ROS node without any user interaction.
This function must be implemented by all children
- clearpath_tests.diagnostic_test.main()