Robot Re-localization package for ROS2 Navigation¶
The Robot Re-localization package empowers ROS2 navigation with the capability to re-localize a robot. In situations where sensor measurements encounter glitches or environment disturbances or scene similarities lead to localization loss, the robot may lose its position. This necessitates a fast and reliable re-localization algorithm to re-establish the robot’s location accurately. To tackle this issue, we developed an innovative re-localization algorithm that excels in both computational efficiency and memory usage, specifically designed for mobile robots.
Getting Started¶
Robotics SDK provides a ROS 2 Deb package for the application, supported by the following platform:
ROS version: humble
Install Deb package¶
Install the ros-humble-its-relocalization-bringup
Deb package from the Intel® Robotics SDK APT repository
Run the Re-localization¶
Run the following script to set environment variables and bring up ROS2 navigation, and Turtlebot3 in Gazebo:
Set the robot 2D Pose Estimate in rviz2:
Set the initial robot pose by pressing 2D Pose Estimate in rviz2.
- At the robot estimated location, down-click inside the 2D map. For
reference, use the robot pose as it appears in Gazebo*.
- Set the orientation by dragging forward from the down-click. This also
enables ROS 2 navigation.
![]()
Once the ROS2 navigation is running in Gazebo and the initial robot position is set, open a new terminal to bring up the re-localization:
To simulate the re-localization package, we have developed a demo application that replicates a scenario in which the sensor encounters a temporary failure. In this application, the sensor is disabled for a few seconds while the robot is traveling towards its goal. Once the sensor measurements are re-enabled, the robot will automatically re-localize itself and resume its navigation toward the goal. To run this demo application execute:
Troubleshooting¶
For general robot issues, go to Troubleshooting for Robot Tutorials.