Skip to main content
Version: ROS 2 Jazzy

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:

SettingPurpose
autonomy.indoor.slam.enabledUse true to build a map; use false to localize against a saved map
autonomy.indoor.localization.mapMap YAML filename within the package's installed maps directory
autonomy.indoor.use_sim_timeUse 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.

The sensor source and behavior tree are selected in robot.yaml:

SettingPurpose
autonomy.indoor.lidar_sourceSelect configured 2d or 3d lidar input
autonomy.indoor.nav2.btBehavior-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 configurationDirectory
J100config/j100
A300, front- or rear-wheel driveconfig/a300/diff_2wd
A300, four-wheel driveconfig/a300/diff_4wd
R100, omnidirectionalconfig/r100/omni
R100, differential four-wheel driveconfig/r100/diff_4wd
DD150config/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.

Use the upstream component references when reviewing model-specific tuning:

ComponentRoleReference
Global and local costmapsRepresent obstacles for planning and controlNav2 costmaps
SMAC lattice plannerGenerate a global pathSMAC lattice planner
MPPI controllerCompute local motion commandsMPPI controller
Behavior treeCoordinate navigation, replanning, and recoveryBT navigator
SLAM ToolboxBuild a mapSLAM Toolbox, Jazzy
AMCLEstimate pose in an existing mapAMCL configuration

The ROS 2 package's launch and configuration source is the reference for the exact parameters used by this integration.