Skip to content

anthonysiu2000/CartPoleML

Repository files navigation

CS4789 Programming Assignment 2: CartPole Control with LQR Method

This repository contains files that may help you get started with the programming assignments 2. There are TODOs in the files finite_difference_method.py, lqr.py and cartpole_controller.py. Please refer to the docstring in these files for more details.

Usage

  • run and show the cartpole environment. (also generate a video under directory ./gym-results)
  $ python cartpole.py
  • test different initial states
  $ python test.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages