Attached are flight tracks from some comparison HILSIM test flights that I just ran for three different navigation techniques.
The flights were under identical conditions, except for navigation techniques. It was a Cessna flying a butterfly pattern at about 90 knots with a 40 knot cross wind from 255 degrees true direction. Wind gain adjustment was turned off. The navigation techniques for the three pictures were:
HeadingAndCrossWind.JPG : this is the default (non-cross tracking) navigation technique presently in trunk. It is based on the attitude of the aircraft. The wind is included in the geometry computations. Desired heading is according to the desired course over ground from the aircraft to the next waypoint, using feedback only, no feed forward. The feedback loop drives the actual heading (yaw attitude) to match the desired heading.
CourseOverGround.JPG : this is a new non-cross tracking navigation technique in MP_WJP_research branch. The wind is entirely ignored in the navigation computations. The feedback loop drives the actual course over ground to match a desired course over ground to move toward the next waypoint.
CrossTracking.JPG ; this is a new cross tracking navigation technique in MP_WJP_research branch. The wind is entirely ignored in the navigation computations. The feedback loop drives the cross track error and cross track velocity to zero.
The reason that the wind can be ignored in the two new methods is that when the feedback loop drives the actual course over ground to match the desired course over ground, the difference between the two will be zero. When the two courses match, the "crab angles" for the cross wind that would go into a heading computation is the same for the two courses, so it cancels out in the subtraction, and is not needed.
Once again thanks to Paul Bizard, who sent me down this path by pointing out that, because of transient side slip, navigation controls perform better based on course over ground. Interestingly, that is how MatrixPilot started out. It used GPS course over ground for navigation. Although that obviated the need for wind computation, the latency caused control issues. So, we moved to heading based controls, which required wind estimation. We have come full circle now. With high bandwidth dead-reckoning, latency in course over ground is no longer an issue.
My plans for next steps is for Phil, Tom, and myself to flight test the new techniques. If all goes well, I will port to trunk.
Best regards,
Bill