Autonomy Configuration
Configure these values in /etc/clearpath/robot.yaml. Restart
clearpath-robot.service after changing the operating mode or launch
configuration.
Mapping parameters
These settings select mapping versus localization and the map used for localization:
| Setting | Purpose |
|---|---|
autonomy.indoor.slam.enabled | Use true to build a map; use false to localize against a saved map |
autonomy.indoor.localization.map | Map YAML filename within the package's installed maps directory |
autonomy.indoor.use_sim_time | Use false on a physical robot |
For mapping, set slam.enabled to true. To navigate using a saved map, set it
to false and set localization.map to that map's YAML filename. See
Mapping and Navigation for the procedures.
Navigation parameters
The sensor source and behavior tree are selected in robot.yaml:
| Setting | Purpose |
|---|---|
autonomy.indoor.lidar_source | Select configured 2d or 3d lidar input |
autonomy.indoor.nav2.bt | Behavior-tree filename for navigation and recovery |
The package stores planner, controller, and costmap tuning in
config/<model>/navigation_params.yaml. Some models use drivetrain-specific
subdirectories:
| Robot configuration | Directory |
|---|---|
| J100 | config/j100 |
| A300, front- or rear-wheel drive | config/a300/diff_2wd |
| A300, four-wheel drive | config/a300/diff_4wd |
| R100, omnidirectional | config/r100/omni |
| R100, differential four-wheel drive | config/r100/diff_4wd |
| DD150 | config/dd150 |
Review the selected directory's scan filters, pointcloud conversion settings,
and lattice primitives alongside navigation_params.yaml. Rebuild the package
after source configuration changes and restart navigation to load them.
Navigation components
Use the upstream component references when reviewing model-specific tuning:
| Component | Role | Reference |
|---|---|---|
| Global and local costmaps | Represent obstacles for planning and control | Nav2 costmaps |
| SMAC lattice planner | Generate a global path | SMAC lattice planner |
| MPPI controller | Compute local motion commands | MPPI controller |
| Behavior tree | Coordinate navigation, replanning, and recovery | BT navigator |
| SLAM Toolbox | Build a map | SLAM Toolbox, Jazzy |
| AMCL | Estimate pose in an existing map | AMCL configuration |
The ROS 2 package's launch and configuration source is the reference for the exact parameters used by this integration.