Adaptive Quadruped Robot with Reinforcement Learning
A 12-DOF quadruped robot simulation powered by MuJoCo physics and PPO-based adaptive gait control. Train intelligent controllers that learn to navigate rough terrain through reinforcement learning.
Get the quadruped robot simulation running in minutes
1
Install dependencies
Install ROS2 Jazzy and Python dependencies. The project requires MuJoCo for physics simulation, Stable-Baselines3 for RL training, and ROS2 for real-time control.
Use your gamepad’s analog stick to control forward/backward movement.
Explore by Topic
Deep dive into the robot’s architecture and capabilities
Robot Design
12-DOF quadruped with parallel SCARA leg mechanism and 5-bar linkage. Learn about the custom OpenSCAD CAD design.
Gait Control
Diagonal trot gait with Bézier curve swing trajectories. Understand the state machine and phase transitions.
Inverse Kinematics
3DOF parallel SCARA IK solver for leg positioning. Explore the geometric solutions and working modes.
Reinforcement Learning
PPO-based adaptive control with residual corrections. Learn how the policy learns to navigate rough terrain.
Usage Guides
Step-by-step tutorials for common workflows
Running Simulations
Run standalone simulations with MuJoCo viewer
Training Models
Train new adaptive gait policies with PPO
ROS2 Integration
Set up ROS2 nodes for real-time control
GUI & Joystick
Use the PyQt5 GUI with gamepad control
Baseline vs Adaptive
Compare performance metrics and results
Key Features
What makes this quadruped robot unique
Parallel SCARA Mechanism
Custom 5-bar linkage design with 3DOF per leg. OpenSCAD CAD models ready for 3D printing.
Adaptive RL Control
PPO policy learns gait parameter adaptation and residual corrections for rough terrain navigation.
MuJoCo Physics
High-fidelity physics simulation with configurable terrains (flat and heightfield rough terrain).
ROS2 Integration
Real-time control with ROS2 Jazzy. Camera streaming, telemetry, and command topics.
Ready to train your own adaptive controller?
Follow the training guide to learn how to customize gait parameters, configure PPO hyperparameters, and evaluate your trained policies on custom terrains.