Quantcast
Channel: ArduPlane - ArduPilot Discourse
Viewing all articles
Browse latest Browse all 7806

Faulty code (calculate airspeed_undershoot) in Navigation.cpp

$
0
0

@Gergely_Nagy wrote:

Hey everyone, I’m pretty new to Ardupilot, have been using it for 3 months, and I believe I discovered a bug in the Code that caused my to lose 3 planes. I did dig into it, and I believe that (In ArduPlane, Navigation.cpp) Plane::calc_gndspeed_undershoot() is faulty (by design, not by implementation). It appears to assume that Wind is always perfectly alignesd with Yaw (Heading), which is almost never true in real-life. I am a traning PPL pilot also, so I am kinda sure of this :slight_smile: I have created my own version, but since I am a newbie to the community, I do not want to initialize any push request before consulting with some more experienced Devs from here. I am happy to contribute my Fix (Tested works for me), if it is any use for the whole project… Of course, I need to be sure that I am right… I am not sure whome to address this issue, but I am happy to include more details here (too) if I can help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7806

Trending Articles