apollo
apollo copied to clipboard
How to minimize the heading error and lateral error?
How to minimize the heading error and lateral error?
I use the procedure of the file ( How to Tune Control Parameters ) , it does not work properly. you can take a look at the lateral and heading graph.

The lateral error and heading error can be minimized by tuning MPC control (matrix_q) first and third sate respectively.
hello dude I have a question. What are differences between heading angle and yaw angle. I saw in vehicle_state_provider.cc mentioned, the only difference is the coordinate. Could you explain in details? Heading direction is not the direction of linear velocity?