RepositoryC++
moribots

moribots/motion_planning

Motion Planning Library to accompany turtlebot3_from_scratch repository. Deployed PRM, Grid Map, A*, Theta*, LPA*, D* Lite*, Potential Field, and MPPI.

201stars
40forks
3issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: optimal-control

#1 Repository of the month

1
TINIX TRENDING·Topic: search-algorithm

#1 Repository of the month

3
TINIX TRENDING·Topic: motion-planning

#3 Repository of the month

Motion Planning Library with ROS

Self-directed independent study.

Installation Guide:

  • Make a ROS Workspace: mkdir -p ws/src
  • Go to src and clone my repo: cd ws/src/ git clone git@github.com:moribots/motion_planning.git
  • Go back to the workspace root: cd ..
  • Initialize nuturtle.rosinstall to get my rigid2d library and other utilities: wstool init src src/motion_planning/nuturtle.rosinstall
  • Build the workspace: catkin_make and source: source devel/setup.bash

OSQP and OSQP-Eigen installation

OSQP OSQP-Eigen (C++ wrapper) - Do the manual install.

Notes for OSQP-Eigen:

  • Choose /usr/local in cmake -DCMAKE_INSTALL_PREFIX:PATH=<custom-folder> ../
  • Do sudo ln -s /usr/include/eigen3/Eigen /usr/local/include/Eigen to make a symbolic link for the Eigen header files so that OSQP-Eigen knows where to find them.

In this Repo:

  • The map package: roslaunch map viz_map.launch

    • Probabilistic Roadmap:
    PRM
    • Tunable-resolution Grid Map
    GRID
  • The global_planner package:

    • A* (green) on PRM:
    ASTAR
    • Theta* (green) on PRM (A* in red for comparison): roslaunch global_planner astar.launch
    ASTAR
    • A* (green) on Grid
    ASTARG
    • LPA* with Simulated Grid Updates [re-evaluated cells in orange]: roslaunch global_planner incremental.launch lpa:=True

      LPASTAR
    • D* Lite on Grid [re-evaluated cells in orange]: roslaunch global_planner incremental.launch

      DSL
    • Naive Potential Field (Local Minimum Escape TBD): roslaunch global_planner potential_field.launch

      PFN
  • Trajectory Optimization:

    • Model Predictive Path Integral Control on a parallel parking task: roslaunch control mppi_pentagon.launch parallel:=True

      PFN
    • The associated states and controls for the above demo:

      PFN

    NOTE: To launch waypoint following method, simply don't include the parallel argument.

    In a separate terminal, do:

    rosservice call /set_pose "x: 0.0 y: 0.0 theta: 0.0"

    To start the node.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
ai-winter/ros_motion_planning

Motion planning and Navigation of AGV/AMR:ROS planner plugin implementation of A*, JPS, D*, LPA*, D* Lite, Theta*, RRT, RRT*, RRT-Connect, Informed RRT*, ACO, PSO, Voronoi, PID, LQR, MPC, DWA, APF, Pure Pursuit etc.

3.6k
Apr 24, 2026
RepositoryC++
loco-3d/crocoddyl

Crocoddyl is an optimal control library for robot control under contact sequence. Its solver is based on various efficient Differential Dynamic Programming (DDP)-like algorithms

1.3k
Nov 24, 2026
RepositoryC++
pantor/ruckig

Motion Generation for Robots and Machines. Real-time. Jerk-constrained. Time-optimal.

1.5k
Nov 24, 2026
RepositoryC++
roboticslibrary/rl

The Robotics Library (RL) is a self-contained C++ library for rigid body kinematics and dynamics, motion planning, and control.

1.2k
Apr 15, 2025
RepositoryC++
SS47816/fiss_planner

FISS & FISS+: Fast Iterative Search and Sampling trajectory planners for autonomous driving (with FOP baselines). C++17 core, Python, ROS 2 / ROS 1, Lanelet2, CARLA, MPC

177
Nov 4, 2026
RepositoryC++
kohonda/proj-svg_mppi

[ICRA2024] Stein Variational Guided Model Predictive Path Integral Control: Proposal and Experiments with Fast Maneuvering Vehicles

172
Jul 8, 2025
RepositoryC#
Unity-Technologies/Unity-Robotics-Hub

Central repository for tools, tutorials, resources, and documentation for robotics simulation in Unity.

2.6k
Sep 22, 2026
RepositoryPython
wanxinjin/Pontryagin-Differentiable-Programming

A unified end-to-end learning and control framework that is able to learn a (neural) control objective function, dynamics equation, control policy, or/and optimal trajectory in a control system.

190
Jul 16, 2026
RepositoryPython
iory/scikit-robot

A Flexible Framework for Robot visualization and programming in Python

174
Nov 20, 2026