Skip to content

Use naive and learning model predictive control algorithm to control a pendulum.

Notifications You must be signed in to change notification settings

ZhengXinyue/Model-Predictive-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Model Predictive Control for Pendulum-v0

Naive MPC uses the real model for simulation.

Learning MPC uses a learned system dynamics with neural network for simulation.

Installation

pip install numpy matplotlib gym 
pip install mxnet  (or mxnet-cu90 which corresponds your cuda version)

Examples:
image

Naive MPC with different rollouts and horizon:
image

About

Use naive and learning model predictive control algorithm to control a pendulum.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages