Wrote some blog posts about trying to use model predictive control for the cart pole. Got it working ok-ish in simulation in OpenAI Gym.
http://www.philipzucker.com/model-predictive-control-of-cartpole-in-openai-gym-using-osqp/
http://www.philipzucker.com/osqp-sparsegrad-fast-model-predictive-control-python-inverted-pendulum/
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.