rsasaki0109/rust_robotics
حول
100+ robotics algorithms in Rust: planning, localization, SLAM, control, and benchmarks.
العلوم والهندسةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- +٤
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلRustRobotics
Robotics algorithms in Rust: planning, localization, SLAM, control, and manipulation. Try them in your browser, then use the same library in your own project.
Open the playground · Run locally · Algorithm gallery · API docs
Try in your browser
Edit a map, move a robot, or inspect an algorithm step by step. Pause, replay, and share your experiment. No installation or account required.
![]() Grid planners |
![]() Localization |
![]() SLAM |
![]() Controller Arena |
![]() Arm Lab |
![]() Flight Lab |
Explore all experiments · Playground guide
Flight Lab
Flight recording · Course editor · Flight photograph
Quick Start
Clone the repository and launch the native playground:
git clone https://github.com/rsasaki0109/rust_robotics.git
cd rust_robotics
cargo run -p rust_robotics_playground
Rust navigation loop
Run planning, localization, and path tracking together without a GUI:
cargo run -p rust_robotics --example headless_navigation_loop \
--features "planning,localization,control"
Use As A Library
cargo add rust_robotics --features "planning,localization,control"
use rust_robotics::planning::{AStarConfig, AStarPlanner};
use rust_robotics::localization::{EKFConfig, EKFLocalizer};
use rust_robotics::control::PurePursuitController;
See the Rust guide for workspace crates, more examples, build instructions, and benchmarks.
Embedded / no_std
Core types and Kalman filters support no_std with alloc:
rustup target add thumbv7em-none-eabihf
cargo build -p rust_robotics_core -p rust_robotics_localization \
--no-default-features --target thumbv7em-none-eabihf
Run the embedded demo with EKF, Pure Pursuit, and PID on Cortex-M under QEMU.
Algorithm gallery
Robotics algorithms in action. Explanations, source, and commands.
Localization
Extended Kalman Filter Localization
Particle Filter Localization
Unscented Kalman Filter Localization
Histogram Filter Localization
Mapping
NDT Map
Gaussian Grid Map
Ray Casting Grid Map
SLAM
Iterative Closest Point (ICP) Matching
Scan-to-Map LiDAR Odometry
Loop Closure (LiDAR Graph SLAM)
FastSLAM 1.0
EKF SLAM
Graph-Based SLAM
Pose Graph Optimization
EuRoC / KITTI Dataset Replay
Path Planning
A* Algorithm
Theta* Algorithm
Jump Point Search (JPS)
Bezier Path Planning
Cubic Spline
Dynamic Window Approach
D* Lite
Dijkstra Algorithm
Informed RRT*
Model Predictive Trajectory Generator
Potential Field Algorithm
Quintic Polynomials
Rapidly-Exploring Random Trees (RRT)
RRT*
Hybrid A*
Reeds-Shepp Path
PRM (Probabilistic Road-Map)
Voronoi Road-Map
Frenet Optimal Trajectory
State Lattice Planner
Path Tracking
LQR Steer Control
Move to Pose
Pure Pursuit
Stanley Control
Rear Wheel Feedback Control
MPC (Model Predictive Control)
Inverted Pendulum
LQR Control
Arm Navigation
Two Joint Arm Control
Mission Planning
State Machine
Workspace
crates/
├── rust_robotics_core/ — Core types, traits, errors, Lie groups
├── rust_robotics_optimization/ — Factor graphs, robust losses, Gauss-Newton/LM
├── rust_robotics_planning/ — Path planning (A*, DWA, RRT, PRM, etc.)
├── rust_robotics_localization/ — Localization (EKF, UKF, PF, Histogram)
├── rust_robotics_control/ — Control & path tracking (Pure Pursuit, LQR, MPC, etc.)
├── rust_robotics_mapping/ — Mapping (NDT, Gaussian Grid, IMLS)
├── rust_robotics_slam/ — SLAM, pose graphs, IMU, BA, geometric ICP
├── rust_robotics_viz/ — Visualization (gnuplot wrapper)
├── rust_robotics_playground/ — Native and browser playground
└── rust_robotics/ — Umbrella crate (feature-gated re-exports)
ros2_nodes/ — ROS2 navigation nodes (safe_drive-based)
ROS2 Integration
TurtleBot3 Gazebo
/scan /odom /cmd_vel
| | ^
v | |
+-----------+ |
| slam_node | ----- +
+-----------+ /map
|
v
+-------------------+
| path_planner_node | ---> /planned_path
+-------------------+ |
^ ^ v
| | +--------------+
/ekf_odom /goal_pose ---> | dwa_planner |
^ +--------------+
|
+----------------------+
| ekf_localizer_node |
+----------------------+
^
|
+-------------------------+
| waypoint_navigator_node |
+-------------------------+
Gazebo demo · Setup and topics
Documentation
- Algorithm gallery — animations, source, and commands.
- Rust guide — library APIs, examples, and benchmarks.
- Playground guide — controls and browser builds.
- ROS2 / Gazebo · dora-rs.
- Datasets and VIO · Interfaces.
- Pose-observation loss experiment.
Community
Contributions and algorithm requests are welcome. See the security policy and MIT license.
Inspired by PythonRobotics and MathematicalRobotics. Attributions are in THIRD_PARTY_NOTICES.md.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…





