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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

Repo symbol

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file

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

lidar_localization_ros2 repository

lidar_localization_ros2

ROS Distro
github

Repository Summary

Description
Checkout URI https://github.com/rsasaki0109/lidar_localization_ros2.git
VCS Type git
VCS Version main
Last Updated 2026-12-01
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Packages

Name Version
lidar_localization_ros2 1.14.0

README

lidar_localization_ros2

Map-based 3D LiDAR localization for ROS 2 and Nav2.

build ROS 2 Jazzy ROS 2 Humble ROS 2 Foxy License BSD 2 Clause Sponsor on GitHub

Handheld outdoor run tracked on a prior point-cloud map; the estimate follows the ground truth for the whole run

Handheld Livox MID-360, ~390 m outdoors on a prior map, including stretches where the scans do not match the map and a section outside it. Each scan is matched to the map with NDT; RKO-LIO odometry predicts the motion between scans and carries the pose where matching fails. The error is 0.26 m RMSE for the whole run, in an offline replay started from the ground-truth pose (Koide Hard Point Cloud Localization Dataset outdoor_hard_02b, CC BY 4.0). How this was made · more runs

A Unitree Go2 starts with no pose on a map from another recording; ranked candidates appear all over the map, the best one is accepted, the scan snaps onto the map and the robot is tracked out of the room and down the stairs

Global localization on a Unitree Go2 (upside-down Livox MID-360), started with no initial pose, on a map from a different recording: the map is built from the run Long_Stairs, the scans come from the run Outdoor2, recorded 1.5 h later along the same route (the room was not rearranged in between). The quickstart searches the whole map: each query returns 32 ranked places (circles sized by score) in 2.6 s, and the answer is accepted when two queries agree after the odometry motion. The first pose came 13.3 s into the run, 6.4 s after the first search, 0.01 m from the motion-capture ground truth. Tracking then follows the robot out of the capture room and down the long staircase, within 0.02 m (median) of the ground truth where it exists (the room). Offline replay at 1× (JEPLO dataset, GPL-3.0; this GIF is derived from it and shared under the same licence). How this was made · pairs with moved props, including failures

Give it a point cloud map (.pcd or .ply) and a LiDAR stream; it publishes the robot pose in the map. It finds the starting pose by itself, uses odometry and IMU when you have them, and works standalone or as the localization source for Nav2.

Where to start

You want to Go to
Localize your robot on a map you already have Install, then Quick start
Run it on a Unitree Go2 or another MID-360 robot Go2 / MID-360 in five minutes
Navigate with Nav2 Nav2
Try it without a robot Run the public dataset
See how accurate it is Benchmark
Fix a bringup that does not work Troubleshooting

Install

ROS 2 Jazzy is the main target; Humble is supported. Foxy is end-of-life and supported on a best-effort basis: CI builds and tests it, and its differences are listed in the changelog under Unreleased.

All of them build from main. The old foxy, humble and jazzy branches are no longer kept; their last commits are the tags archive/foxy, archive/humble and archive/jazzy. ROS 2 Dashing, which main does not support, has the frozen dashing branch.

mkdir -p ~/lidarloc_ws/src
cd ~/lidarloc_ws/src
git clone https://github.com/rsasaki0109/lidar_localization_ros2.git
cd lidar_localization_ros2
scripts/bootstrap_colcon_workspace.sh --build
source ~/lidarloc_ws/install/setup.bash

This builds ndt_omp_ros2 and this package, about 30 minutes on an 8-core machine. small_gicp is optional (SMALL_GICP and SMALL_VGICP backends): on Jazzy, sudo apt install ros-jazzy-small-gicp-vendor before building is enough. For Humble, a manual or no-sudo build, see local build.

No ROS install? Build the Docker image and check it in one command:

docker build -f docker/Dockerfile -t lidar_localization_ros2 .
docker run --rm lidar_localization_ros2 /ws/src/lidar_localization_ros2/docker/smoke_status.sh

Quick start

  1. Start the LiDAR driver, and odometry if you have it.
  2. Run quickstart with your map:
   ros2 run lidar_localization_ros2 quickstart.py --map /absolute/path/to/map.pcd
   
  1. Check that it is tracking:
   ros2 run lidar_localization_ros2 check_lidar_localization_bringup.py --profile standalone
   

Quickstart finds the cloud and IMU topics, /clock, an odom -> base TF and the LiDAR frame, and prints what it picked on its Discovery: line. Then it starts the localizer and RViz. On the first run it searches the whole map for the robot; next time it restores the pose saved for the same map. If the search finds no safe match, it asks you for 2D Pose Estimate in RViz (press P, click the robot, drag along its heading) instead of guessing.

While it runs, the terminal prints one line whenever tracking starts, weakens, is lost or comes back, with what to do about it, and RViz shows the same status above the

File truncated at 100 lines see the full file