Copyright 2017-2019 The MathWorks, Inc.
This repository contains example files for the following MATLAB and Simulink Robotics Arena videos on walking robots.
- Basics of walking robots
- Modeling and simulation
- Trajectory optimization
- Walking pattern generation
- Deep reinforcement learning
You can also learn more about this example from our blog posts on modeling and simulation and control.
For any questions, email us at roboticsarena@mathworks.com.
Run startupWalkingRobot.m
to get the MATLAB path ready.
Below are the main folders containing various walking robot examples:
-
LIPM
-- Shows how to generate a walking pattern using the linear inverted pendulum model (LIPM), which is one of the foundational models for humanoid walking control. -
ModelingSimulation
-- Shows how to build the simulation of the walking robot, including contact forces, various actuator models, and importing from CAD. -
Optimization
-- Shows how to use genetic algorithms to optimize joint angle trajectories for stability and speed. -
ControlDesign
-- Shows how to create closed-loop walking controllers using common techniques like Zero Moment Point (ZMP) manipulation and Model Predictive Control (MPC) for pattern generation. -
ReinforcementLearning
-- Shows how to set up and train a Deep Deterministic Policy Gradient (DDPG) reinforcement learning agent for learning how to walk.
Each of these folders has its own separate README with more information.
For convenience, a local copy of the Simscape Multibody Multiphysics Library has been included with this submission. If you would like to install the latest version of these libraries, you can find them from the Add-On Explorer, or on the File Exchange at https://www.mathworks.com/matlabcentral/fileexchange/37636-simscape-multibody-multiphysics-library