Clearpath Configuration YAML Parser
Find documentation on the Clearpath Configuration YAML and more about the Clearpath ROS 2 System on the Clearpath Documentation webpage.
Under the sample folder there are example configurations that can be used as the starting point of your robot.yaml.
All unit tests are written using PyTest following the Good Integration Practices.
Therefore, clearpath_config_test is a package that mirrors the clearpath_config package structure. Each file from clearpath_config that is to be tested should have a corresponding file with the same name and the suffix _test.py.
To run the tests:
cd .../clearpath_config
python3 -m pytestPyTest will automatically search for the suffix
_testthroughout the current directory and run the tests.
Changes to clearpath_config (e.g. adding or modifying test samples, config structure, or
defaults) may affect the output of the Clearpath generators. The
clearpath_generator_tests
repository versions the expected generator output and validates it through CI.
Before merging, ensure a corresponding branch with the same name exists in
clearpath_generator_tests with regenerated samples. See the
Development Workflow
section of clearpath_generator_tests for the full process.