Software
clearpath_config
By clearpathrobotics, from github.com/clearpathrobotics/clearpath_config (opens in a new tab)
- Middleware
- Library
- BSD-3-Clause
A Python parser and validator for Clearpath's robot.yaml configuration file, turning it into an object tree used by the Clearpath ROS 2 generators.
Facts
- GitHub stars
- 28read on 27 Nov 2026
- Last update
- 9 Nov 2026Newest commit on jazzy
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Intermediate
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- BSD-3-Clause (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 5b861f8 (opens in a new tab), on 13 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Loads a single robot.yaml describing a robot's platform, sensors, mounts, manipulators, links and system settings.
- Validates each section with its own sub-config module and exposes typed accessors.
- Acts as the entry point to the Clearpath ROS 2 stack, feeding generators that produce launch files, parameters and descriptions.
- Provides sample configurations under the sample folder as starting points for a robot.yaml.
- Includes test-named sample files that serve as fixtures for the clearpath_generator_tests project.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- BSD-3-Clause. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's website (opens in a new tab)
- Maintenance
- Active, last commit on 9 Nov 2026.
Use it
How to install it, in the creator's words: The project's website (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/clearpathrobotics/clearpath_config (opens in a new tab)
- The version Robotheca read5b861f8 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca read the repository at two versions: the summary at ae2f610 and the facts and the README at 5b861f8 (read on 28 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by clearpathrobotics, at commit 5b861f8, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
clearpath_config
Clearpath Configuration YAML Parser
Find documentation on the Clearpath Configuration YAML and more about the Clearpath ROS 2 System on the Clearpath Documentation (opens in a new tab) webpage.
Where this fits in the Clearpath ROS 2 stack
clearpath_config is the entry point of the Clearpath ROS 2 system. A single
robot.yaml file describes an entire robot (platform, sensors, mounts, manipulators, and
system settings). This package parses and validates that file into a Python object tree, which
the Clearpath generators then turn into launch files, parameter files, and robot descriptions.
flowchart LR
yaml["robot.yaml"] --> config["clearpath_config<br/>(this repo)<br/>YAML parser + validation"]
config --> genc["clearpath_generator_common"]
config --> genr["clearpath_generator_robot"]
config --> geng["clearpath_generator_gz"]
genc --> out["/etc/clearpath<br/>generated launch / params / description"]
genr --> out
geng --> out
out --> common["clearpath_common<br/>control / description / diagnostics"]
out --> robot["clearpath_robot<br/>real hardware"]
out --> sim["clearpath_simulator<br/>Gazebo"]
config -. "sample configs" .-> tests["clearpath_generator_tests<br/>validates generator output"]
Architecture
The top-level ClearpathConfig (opens in a new tab) class loads the YAML and
delegates each top-level key to a dedicated sub-config module. Every sub-config validates its own
section and exposes typed accessors:
| Top-level key | Module | Responsibility |
|---|---|---|
serial_number | clearpath_config.py | Robot identity; seeds platform defaults. |
version | clearpath_config.py | Config schema version. |
system | system/system.py | Hosts, networking, ROS domain, middleware. |
platform | platform/platform.py | Base platform model, controllers, extras. |
links | links/links.py | Static coordinate frames added by the user. |
manipulators | manipulators/manipulators.py | Arms, grippers, and lifts. |
mounts | mounts/mounts.py | Physical mounting hardware for sensors/accessories. |
sensors | sensors/sensors.py | Cameras, lidars, IMUs, GPS, etc. |
Shared plumbing (base classes, YAML read/write, type helpers) lives under
clearpath_config/common/ (opens in a new tab). Use read_yaml/write_yaml from
common/utils/yaml.py rather than calling PyYAML directly, so ordering and formatting stay
consistent with the generators.
Documentation
- Robot YAML overview (opens in a new tab) — the user-facing reference for
robot.yaml. - Per-section references: serial number (opens in a new tab), system (opens in a new tab), platform (opens in a new tab), links (opens in a new tab), mounts (opens in a new tab), sensors (opens in a new tab).
- Generators (opens in a new tab) — how the parsed config is turned into runtime files.
Configuration Examples
Under the sample folder there are example configurations that can be used as the starting point of your robot.yaml. Sample files whose names contain test (e.g. test_a300.yaml) are also the fixtures consumed by clearpath_generator_tests (opens in a new tab); adding or renaming one changes what CI validates.
Contributing
See CONTRIBUTING.md (opens in a new tab) for how to set up your environment, run the linters and tests, and submit a pull request.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.