RepositoryPythonJPNhật Bản
kohonda

kohonda/mppi_playground

Model Predictive Path Integral Control (MPPI) with PyTorch

238sao
28fork
0issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: mppi

#1 Repository của tuần

3
TINIX TRENDING·Chủ đề: gymnasium

#3 Repository của tuần

3
TINIX TRENDING·Chủ đề: motion-planning

#3 Repository của tuần

🚀 MPPI Playground: Điều khiển tối ưu MPC trên GPU với PyTorch

Một cách tiếp cận khác biệt cho MPPI Control — GPU-accelerated, differentiable, và dễ tùy biến.

MPPI Playground (pi-mpc) là một thư viện Python dựa trên PyTorch, cài đặt thuật toán Model Predictive Path Integral Control (MPPI) — một phương pháp tối ưu hoá điều khiển phi tuyến dùng mẫu ngẫu nhiên. Dự án hỗ trợ tính toán song song trên GPU, định nghĩa linh hoạt mô hình động lực học và hàm chi phí, cùng các tính năng mở rộng như điều chỉnh nhiệt độ tự động (temperature tuning) và làm trơn quỹ đạo bằng Savitzky–Golay.

✨ Điểm nổi bật

  • Tăng tốc GPU: Tính toán mẫu song song trên GPU để tăng tốc quá trình lấy mẫu MPPI.
  • Differentiable: Toàn bộ pipeline có thể lan truyền gradient — hữu ích cho học sâu tích hợp điều khiển.
  • Động lực học & chi phí linh hoạt: Dùng bất kỳ hàm số nào dưới dạng callable.
  • Điều chỉnh nhiệt độ tự động: Hỗ trợ các phương pháp MPO, LBPS, ESSPS.
  • Làm trơn quỹ đạo: Áp dụng bộ lọc Savitzky–Golay để làm mượt hành trình.
  • Ví dụ đa dạng: Navigation 2D, đua xe, con lắc, cartpole, mountain car.
  • Tích hợp dễ dàng: Cài đặt qua pip hoặc uv từ pyproject.toml.

💡 Vì sao đáng chú ý

Không chỉ là một bản cài đặt MPPI truyền thống, MPPI Playground tận dụng sức mạnh của GPU và tính khả thi của PyTorch để mang lại tốc độ cao và khả năng tùy biến vô lợi. Đặc biệt, khả năng điều chỉnh nhiệt độ tự động giúp giảm công thủ công chỉnh siêu tham số — một bài toán phổ biến khi áp dụng MPPI vào thực tế.

Phù hợp cho nghiên cứu, giảng dạy, hoặc triển khai mô hình điều khiển trên môi trường Gymnasium/gym.


#MPPI #ModelPredictiveControl #PyTorch #GPUAcceleration #MotionPlanning #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
UM-ARM-Lab/pytorch_mppi

Model Predictive Path Integral (MPPI) with approximate dynamics implemented in pytorch

775
Mar 15, 2026
RepositoryPython
openrobokit/robokit

A high-performance, general-purpose toolkit for versatile robotic tasks.

482
Nov 27, 2026
RepositoryC
acados/acados

Fast and embedded solvers for nonlinear optimal control and nonlinear model predictive control

1.5k
Dec 1, 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++
formiat/px4-ros2-drone-nav

Autonomous UAV navigation in GNSS-denied indoor spaces with no prior map: stereo VIO (MSCKF) and lidar-inertial odometry with map-based relocalization (SLAM), 3D occupancy mapping, D* Lite path planning and GPU MPPI obstacle avoidance. PX4 + ROS 2 + Gazebo SITL, DARPA SubT Urban.

176
Nov 29, 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
RepositoryJupyter Notebook
shaoanlu/mppi_cbf

Colab notebooks showcasing experiments on MPPI (model predictive path integral control) and CBF (control barrier function). Utilizes jax to accelerate computation.

143
Nov 11, 2025
RepositoryJulia
sisl/MPOPIS

Adaptive importance sampling modification to MPPI

121
Apr 1, 2024
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026