Nhật Bảnkohonda/mppi_playground
Model Predictive Path Integral Control (MPPI) with PyTorch
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#3 Repository của tuần
#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
piphoặcuvtừ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.
Model Predictive Path Integral (MPPI) with approximate dynamics implemented in pytorch
A high-performance, general-purpose toolkit for versatile robotic tasks.
Fast and embedded solvers for nonlinear optimal control and nonlinear model predictive control
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
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.
[ICRA2024] Stein Variational Guided Model Predictive Path Integral Control: Proposal and Experiments with Fast Maneuvering Vehicles
Colab notebooks showcasing experiments on MPPI (model predictive path integral control) and CBF (control barrier function). Utilizes jax to accelerate computation.
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...