Skip to content

Example files for MATLAB and Simulink Robotics Arena walking robot videos.

Notifications You must be signed in to change notification settings

mathworks-robotics/msra-walking-robot

 
 

Repository files navigation

Walking Robot Examples

Copyright 2017-2019 The MathWorks, Inc.

Introduction

This repository contains example files for the following MATLAB and Simulink Robotics Arena videos on walking robots.

You can also learn more about this example from our blog posts on modeling and simulation and control.

For any questions, email us at [email protected].


Setup

Run startupWalkingRobot.m to get the MATLAB path ready.

Below are the main folders containing various walking robot examples:

  1. 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.

  2. ModelingSimulation -- Shows how to build the simulation of the walking robot, including contact forces, various actuator models, and importing from CAD.

  3. Optimization -- Shows how to use genetic algorithms to optimize joint angle trajectories for stability and speed.

  4. 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.

  5. 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.


Multiphysics Library

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

About

Example files for MATLAB and Simulink Robotics Arena walking robot videos.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • MATLAB 100.0%