LQR on ArduPlane

Can someone point me to a source for implementing LQR on Arduplane?