Illustration from another great turorial from Mattay. Read the whole thing here. f you want more, the whole thread is chock full of great stuff on autopilot math and code basics.
I am trying to analyze how well my Y-6 tracks the desired path. In the matlab file (I created from the tlog file), there is a parameter called xtrack_error_mavlink_nav_controller_output_t, but everything in the 2nd column are zeros. This not the same as for the my fixed-wing aircraft. Anyone know what xtrack error is called in Arducopter?
Comments
I am trying to analyze how well my Y-6 tracks the desired path. In the matlab file (I created from the tlog file), there is a parameter called xtrack_error_mavlink_nav_controller_output_t, but everything in the 2nd column are zeros. This not the same as for the my fixed-wing aircraft. Anyone know what xtrack error is called in Arducopter?
Thanks, Lou.
You mean in the ArduPlane code? It's in the Navigation.pde file.
Hi, I have looked into the forum, but I could not found the crosstrack error algorithm in arduino. Can someone guide me on this ?