Is there any documentation or related paper for this LQR lateral controller?
It seems like an error state model, but I don't know how to derive the linearized A,B matrix from scratch.
It would be great if there was some detailed explanation of the derivation steps.