8000 GitHub - albheim/competitive_cartpole: Compete in cartpole balancing against a control algorithm.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

albheim/competitive_cartpole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Competitive cartpole balancing

This is a simple implementation of a simulated cartpole in javascript where the user battles an LQR controller.

Play

Try the game here

The challenge is to keep the pole upright, and keep close to the target x-coordinate. The further away from the target, the lower score you get each step.

LQR synthesis

The LQR controller is synthesized using ModelingToolkit.jl for implementing and linearizing the model, and ControlSystems.jl to solve the Riccati equation. To run the script, install Julia and add the Pluto.jl package. Run Pluto and open the notebook src/lqr_tuning.jl, it might take a while the first time since it installs and precompiles the dependencies.

About

Compete in cartpole balancing against a control algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0