mrpt-ros-pkg/mrpt_navigation
About
ROS 2 nodes wrapping core MRPT functionality: localization, autonomous navigation, rawlogs, etc. SLAM is in other packages.
Science & EngineeringMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original| Distro | Build dev | Release |
|---|---|---|
| ROS 2 Humble (u22.04) | ||
| ROS 2 Jazzy (u24.04) | ||
| ROS 2 Kilted (u24.04) | ||
| ROS 2 Lyrical (u26.04) | ||
| ROS 2 Rolling (u26.04) |
| EOL Distro | Last version |
|---|---|
| ROS 2 Iron (u22.04) |

mrpt_navigation
This repository provides packages that wrap functionality in the Mobile Robot Programming Toolkit (MRPT) related to localization and navigation. MRPT SLAM and sensor access are wrapped into other ROS repositories.
The latest SLAM framework, whose maps are compatible with this repository for localization, is MOLA.
How to cite
If you use mrpt_tps_astar_planner in your work, please cite the paper that describes it
(arXiv:2611.09210):
@misc{blanco2026tpsastar,
title = {{TPS-A*}: Path Planning for Any-Shape Vehicles with Certified Collision Checking in Trajectory Parameter Space},
author = {Blanco-Claraco, Jos{\'e} Luis and Rai, Shravan S. and Ca{\~n}adas-Ar{\'a}nega, Fernando and Torres-Moreno, Jos{\'e} Luis and Moreno-{\'U}beda, Jos{\'e} Carlos},
year = {2026},
eprint = {2611.09210},
archivePrefix = {arXiv},
primaryClass = {cs.RO},
url = {https://arxiv.org/abs/2611.09210}
}
Related papers (newest first)
@ARTICLE{xiao2023barn,
author = {Xiao, Xuesu and Xu, Zifan and Warnell, Garrett and Stone, Peter and Gebelli Guinjoan, Ferran and T Rodrigues, Romulo and Bruyninckx, Herman and Mandala, Hanjaya and Christmann, Guilherme and Blanco, Jos{\'{e}}-Luis and Somashekara Rai, Shravan},
month = {{aug}},
title = {Autonomous Ground Navigation in Highly Constrained Spaces: Lessons learned from The 2nd BARN Challenge at ICRA 2023},
journal = {IEEE Robotics & Automation Magazine},
volume = {30},
number = {4},
year = {2023},
url = {https://ieeexplore.ieee.org/abstract/document/10355540/},
doi = {10.1109/MRA.2023.3322920},
pages = {91--97}
}
IJARS 2015 (DOI)
@ARTICLE{jaimez2015efficient,
author = {Jaimez-Tarifa, Mariano and Gonz{\'{a}}lez-Jim{\'{e}}nez, Javier and Blanco, Jos{\'{e}}-Luis},
title = {Efficient Reactive Navigation with Exact Collision Determination for 3D Robot Shapes},
journal = {International Journal of Advanced Robotic Systems},
volume = {12},
number = {63},
year = {2015},
doi = {10.5772/60563}
}
IJARS 2015 (PDF)
@ARTICLE{bellone2015tprrt,
author = {Blanco, Jos{\'{e}}-Luis and Bellone, Mauro and Gim{\'{e}}nez-Fern{\'{a}}ndez, Antonio},
month = {{{may}}},
title = {TP-Space RRT: Kinematic path planning of non-holonomic any-shape vehicles},
journal = {International Journal of Advanced Robotic Systems},
volume = {12},
number = {55},
year = {2015},
url = {http://www.intechopen.com/journals/international_journal_of_advanced_robotic_systems/tp-space-rrt-ndash-kinematic-path-planning-of-non-holonomic-any-shape-vehicles},
doi = {10.5772/60463}
}
IJRR 2010 (PDF), particle filter used in mrpt_pf_localization
@ARTICLE{blanco2010ofn,
author = {Blanco, Jos{\'{e}}-Luis and Gonz{\'{a}}lez-Jim{\'{e}}nez, Javier and Fern{\'{a}}ndez-Madrigal, Juan-Antonio},
title = {Optimal Filtering for Non-Parametric Observation Models: Applications to Localization and SLAM},
journal = {The International Journal of Robotics Research},
volume = {29},
number = {14},
year = {2010}
}
Autonomous Robots 2008 (PDF)
@ARTICLE{blanco2008eoa,
author = {Blanco, Jos{\'{e}}-Luis and Gonz{\'{a}}lez-Jim{\'{e}}nez, Javier and Fern{\'{a}}ndez-Madrigal, Juan-Antonio},
title = {Extending Obstacle Avoidance Methods through Multiple Parameter-Space Transformations},
journal = {Autonomous Robots},
volume = {24},
number = {1},
pages = {29--48},
year = {2008},
doi = {10.1007/s10514-007-9062-7}
}
IROS 2006 (PDF)
@INPROCEEDINGS{blanco2006tps,
author = {Blanco, Jos{\'{e}}-Luis and Gonz{\'{a}}lez-Jim{\'{e}}nez, Javier and Fern{\'{a}}ndez-Madrigal, Juan-Antonio},
month = oct,
title = {The Trajectory Parameter Space (TP-Space): A New Space Representation for Non-Holonomic Mobile Robot Reactive Navigation},
booktitle = {IEEE International Conference on Intelligent Robots and Systems (IROS'06)},
year = {2006},
location = {Beijing (China)}
}
Documentation for each package
All packages follow REP-2003 regarding ROS 2 topic QoS.
Related to localization:
- mrpt_map_server: A node that loads a ROS standard gridmap or an MRPT or MP2P_ICP map and publishes it to a (set of) topic(s).
- mrpt_pf_localization: A node for particle filter-based localization of a robot from any kind of metric map (gridmap, points, range-only sensors, ...).
Related to sensor pipelines:
- mrpt_pointcloud_pipeline: A node that maintains a local obstacle map from recent sensor readings, including optional point cloud pipeline filtering or processing. For example,
- For 3D LIDARs, to filter by a volume or area, downsample the number of points, etc.
- For 2D laser scanners, to keep a memory of obstacles that get out of the sensor field of view.
Related to autonomous navigation:
- mrpt_reactivenav2d: Deprecated, use
mrpt_trajectory_followerwithmrpt_tps_astar_plannerinstead. A pure reactive navigator for polygonal robots on 2D worlds. - mrpt_tps_astar_planner: A path planner based on PTG trajectories using A* in a SE(2) lattice.
- mrpt_trajectory_follower: A path follower for wheeled robots, with predictive safety and a last-resort collision guard.
Others:
- mrpt_tutorials: Launch and configuration files for the various examples provided for the other packages.
- mrpt_msgs_bridge: C++ library to convert between custom mrpt_msgs messages and native MRPT classes
- mrpt_nav_interfaces: Definition of msgs, srvs, and actions used by the other packages.
- mrpt_navigation: Metapackage, also hosting the end-to-end navigation tests.
General documentation
- Package documentation: see the README of each package (linked above).
- Installation:
sudo apt install ros-$ROS_DISTRO-mrpt-navigation, or build from sources by cloning this repository into a colcon workspace. - Usage examples and tutorials: see mrpt_tutorials and the demos section below.
- Branches:
ros2: The most recent, active branch for modern ROS 2 distributions.ros1: Intended for ROS 1. No further development will happen there.
Individual package build status
Each cell shows one badge per OS and architecture: Ubuntu amd64 and arm64,
plus RHEL and Fedora x86_64 where the distro targets them.
Navigation demo and tests
A* planning (mrpt_tps_astar_planner) + path following
(mrpt_trajectory_follower) + localization (mrpt_pf_localization) in the
mvsim simulator. Set goals with RViz "2D Goal
Pose":
ros2 launch mrpt_tutorials demo_astar_trajectory_follower_gridmap.launch.py \
robot:=ackermann speed_limit:=1.0
robot:ackermann(car-like) ordiffdrive(Jackal-like, which can also rotate in place: its plans may include rotations, which the follower executes by stopping there).speed_limit[m/s]:0for the platform max speed. It can be changed at run time withros2 param set /mrpt_trajectory_follower speed_limit 2.0.
The follower publishes geometry_msgs/Twist on topic_cmd_vel_pub, or
geometry_msgs/TwistStamped (frame frame_id_robot) with the launch argument
cmd_vel_stamped:=True, as expected by many ROS 2 Jazzy robots (e.g. those
using twist_mux or diff_drive_controller with stamped commands).
A Foxglove layout equivalent to the RViz setup is in
mrpt_tutorials/foxglove/astar_demo.json (import it from the Foxglove layout
menu, with foxglove_bridge running).
demo_astar_trajectory_follower_street.launch.py is the same demo (ackermann
robot) in a street with parking bays at different angles, to try the planner on
parking maneuvers. demo_astar_trajectory_follower_mvsim_3d.launch.py runs it in
the mvsim greenhouse (Ackermann robot, world:=greenhouse) and warehouse
(Jackal, world:=warehouse) worlds, with live obstacles from 3D LiDARs
(mrpt_pointcloud_pipeline), a static obstacle map built from the world itself
(mrpt_tutorials/maps/generate_mvsim_obstacle_maps.sh, with mvsim slice),
ground-truth localization, and its own Foxglove layout
(mrpt_tutorials/foxglove/mvsim_3d_nav.json).
demo_astar_rnav_gridmap.launch.py uses the older, deprecated
mrpt_reactivenav2d navigator instead of the trajectory follower.
End-to-end tests (headless, both robots, a battery of A->B navigations checking there are no collisions, the robot stays on its path, and goals are reached or reported as failed in time; the car must reach only some of them):
colcon test --packages-select mrpt_navigation
Contributing
Code formatting: We use clang-format to ensure formatting consistency in the code base. Set up your IDE to automatically use clang-format-14, use
git clang-format-14, or invoke it manually from the root directory as:bash clang-formatter.sh
Contributors
Explore related projects
Loading…