Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
jazzy

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version jazzy
Last Updated 2026-08-25
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 2.8.1

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

Example Nav2 and slam_toolbox configurations and launch files showing how to run mapping, localization, and autonomous navigation on Clearpath platforms.

For supported platforms, sensors, and manipulators plus additional details, please see: https://docs.clearpathrobotics.com/docs/ros/

Where this fits in the Clearpath ROS 2 stack

This is a downstream demo package. It assumes a robot is already running — either real hardware (clearpath_robot) or simulation (clearpath_simulator) — publishing the standard sensor topics and TF tree. It layers a navigation stack on top of that running robot.

flowchart LR
    robot["running robot<br/>(clearpath_robot / clearpath_simulator)"] --> nav["clearpath_nav2_demos<br/>(this repo)"]
    nav --> slam["slam.launch.py<br/>(build a map)"]
    nav --> loc["localization.launch.py<br/>(localize in a saved map)"]
    nav --> nav2["nav2.launch.py<br/>(autonomous navigation)"]

Layout

Path Description
launch/slam.launch.py Online SLAM with slam_toolbox to build a new map.
launch/localization.launch.py AMCL localization within an existing map.
launch/nav2.launch.py The Nav2 navigation stack (planner, controller, behaviors).
config/ Per-platform parameter files (a200, a300, dd100, dd150, do100, do150, j100, r100, w200).
maps/ Sample maps (e.g. warehouse.pgm / warehouse.yaml) matching the simulator worlds.

Usage

Start a robot or simulation first, then launch the desired demo. Parameters are selected per platform via the config/<platform> directories. For example, to build a map:

ros2 launch clearpath_nav2_demos slam.launch.py

Then, to navigate within a saved map:

ros2 launch clearpath_nav2_demos localization.launch.py
ros2 launch clearpath_nav2_demos nav2.launch.py

See the Clearpath navigation demos documentation for the full, platform-specific walkthrough.

Build

rosdep install --from-paths src --ignore-src -r -y
colcon build --symlink-install
source install/setup.bash

Notes

  • The demos do not start a robot; launch clearpath_robot or clearpath_simulator first.
  • Pick the config that matches your platform. Mismatched footprints/sensor frames are a common cause of poor navigation behavior.

CONTRIBUTING

Contributing to clearpath_nav2_demos

Thanks for your interest in improving clearpath_nav2_demos! This repository provides example Nav2 and slam_toolbox configurations and launch files for mapping, localization, and autonomous navigation on Clearpath platforms. It is a downstream demo package that assumes a robot (real or simulated) is already running. Please read the notes below before opening a pull request.

Getting started

  1. Fork the repository and clone your fork.
  2. Create a feature branch off jazzy:
   git checkout -b my-feature jazzy
   
  1. Build the workspace and source it:
   rosdep install --from-paths src --ignore-src -r -y
   colcon build --symlink-install
   source install/setup.bash
   
  1. Install the pre-commit hooks (one-time setup):
   pip install pre-commit
   pre-commit install
   

Linting

This repository uses pre-commit to run linting and formatting checks (trailing whitespace, end-of-file, YAML/JSON checks, markdownlint, and flake8) before each commit. Run them against the whole tree before pushing:

pre-commit run --all-files

Where things live

See the Layout section of the README for the full map:

  • launch/ — the slam, localization, and nav2 launch files.
  • config/ — per-platform parameter files (a200, a300, dd100, j100, w200, …).
  • maps/ — sample maps matching the simulator worlds.

When adding support for a platform, add a matching directory under config/ rather than special-casing an existing one.

Testing your changes

These demos do not start a robot, so test against a running robot or the simulator:

# In one terminal, start a simulated robot
ros2 launch clearpath_gz simulation.launch.py

# In another, run the demo you changed
ros2 launch clearpath_nav2_demos slam.launch.py

Confirm the demo launches cleanly and behaves correctly for the platform whose config you touched. Mismatched footprints or sensor frames are a common cause of poor navigation behavior, so verify the config matches the platform.

Submitting a pull request

  1. Make sure the workspace builds and the affected demo launches correctly.
  2. Push your branch and open a pull request against jazzy.
  3. Write a clear description of what the change does and the platform/world you tested against.

Reporting issues

Please open issues on the GitHub issue tracker and fill out the bug report template, which walks you through the details we need to reproduce the problem.

License

By contributing, you agree that your contributions will be licensed under the BSD-3-Clause license that covers this project.

# Contributing to clearpath_nav2_demos Thanks for your interest in improving `clearpath_nav2_demos`! This repository provides example [Nav2](https://docs.nav2.org/) and [slam_toolbox](https://github.com/SteveMacenski/slam_toolbox) configurations and launch files for mapping, localization, and autonomous navigation on Clearpath platforms. It is a **downstream demo** package that assumes a robot (real or simulated) is already running. Please read the notes below before opening a pull request. ## Getting started 1. Fork the repository and clone your fork. 2. Create a feature branch off `jazzy`: ```bash git checkout -b my-feature jazzy ``` 3. Build the workspace and source it: ```bash rosdep install --from-paths src --ignore-src -r -y colcon build --symlink-install source install/setup.bash ``` 4. Install the pre-commit hooks (one-time setup): ```bash pip install pre-commit pre-commit install ``` ## Linting This repository uses [pre-commit](https://pre-commit.com/) to run linting and formatting checks (trailing whitespace, end-of-file, YAML/JSON checks, `markdownlint`, and `flake8`) before each commit. Run them against the whole tree before pushing: ```bash pre-commit run --all-files ``` ## Where things live See the [Layout section of the README](README.md#layout) for the full map: - [`launch/`](launch) — the `slam`, `localization`, and `nav2` launch files. - [`config/`](config) — per-platform parameter files (`a200`, `a300`, `dd100`, `j100`, `w200`, …). - [`maps/`](maps) — sample maps matching the simulator worlds. When adding support for a platform, add a matching directory under `config/` rather than special-casing an existing one. ## Testing your changes These demos do **not** start a robot, so test against a running robot or the simulator: ```bash # In one terminal, start a simulated robot ros2 launch clearpath_gz simulation.launch.py # In another, run the demo you changed ros2 launch clearpath_nav2_demos slam.launch.py ``` Confirm the demo launches cleanly and behaves correctly for the platform whose config you touched. Mismatched footprints or sensor frames are a common cause of poor navigation behavior, so verify the config matches the platform. ## Submitting a pull request 1. Make sure the workspace builds and the affected demo launches correctly. 2. Push your branch and open a pull request against `jazzy`. 3. Write a clear description of what the change does and the platform/world you tested against. ## Reporting issues Please open issues on the [GitHub issue tracker](https://github.com/clearpathrobotics/clearpath_nav2_demos/issues) and fill out the bug report template, which walks you through the details we need to reproduce the problem. ## License By contributing, you agree that your contributions will be licensed under the [BSD-3-Clause license](LICENSE) that covers this project.
No version for distro kilted showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro lyrical showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro rolling showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro ardent showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro bouncy showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro crystal showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro eloquent showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro dashing showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro galactic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro foxy showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro iron showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro lunar showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro jade showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro indigo showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro hydro showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro kinetic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms

No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.
Repo symbol

clearpath_nav2_demos repository

clearpath_nav2_demos

ROS Distro
humble

Repository Summary

Checkout URI https://github.com/clearpathrobotics/clearpath_nav2_demos.git
VCS Type git
VCS Version main
Last Updated 2024-01-22
Dev Status DEVELOPED
Released RELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
clearpath_nav2_demos 0.2.0

README

clearpath_nav2_demos

Nav2 and slam_toolbox demos for clearpath platforms