First of all thanks for all the posts related to self balancing robot on this forum. I was able to build my own self balancing robot using PID control from the information given in those posts. But most of them use PID control method for the task of self-balancing. I want to implement LQR control method for this same task. I was not able to find good resources for this. Can anybody please help me with this?