Skip to content

cs4789-s21/PA1

Repository files navigation

CS4789 Programming Assignment 1: CartPole Control with LQR Method

This repository contains files that may help you get started with the programming assignments 1. 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
  • test finite difference method
  $ python finite_difference_method.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages