Ramune6110 / Inverted-pendulum-LQR

Inverted-pendulum-LQR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inverted-pendulum-LQR

Inverted pendulum LQR

Constitution

lqr_control.hにclassを定義. 関数の実装はlqr_control.cppに書いてあります. またmain.cppがmainのファイルになります. 実行方法は以下のProcedureを参考に行ってください. 実行にはEigenのインストールが必要です.

sudo apt-get install libeigen3-dev

Result

LQR

KalmanFilter

青線が真値で赤線が推定値 Estimate

Environment

Ubuntu18.04

Procedure

g++ main.cpp lqr_control.cpp -I /usr/include/eigen3
./a.out

About

Inverted-pendulum-LQR


Languages

Language:C++ 64.6%Language:MATLAB 35.4%