viktorradnai / flightgear-ask21

ASK21 glider model for Flightgear
5 stars 6 forks source link

Aircraft goes wild in stall with spoilers extended #145

Open ghost opened 6 years ago

ghost commented 6 years ago

When stalling with spoilers extended, the glider rocks around like it's gone completely insane :D, probably we'll have to disable the stallflap, which is simply a dirty way, at least during spoiler deflection

viktorradnai commented 6 years ago

The stall flap implementation, apart from being a hack, it is also broken. When you gently stall the glider, you can normally unstall it by reducing the pull on the stick, which makes it fly normally rather than mushing. But the stall flap depends on the speed rather than the angle of attack, so once the glider stalls, it will lose a lot of height before it regains sufficient speed that the stall flap is deactivated. I would prefer to disable it completely.

ghost commented 4 years ago

I would have two (three) possible solutions to discuss for this:

  1. replace air speed dependation with angle of attack dependation advantage: more realistic stall with the yasim version disadvantage: still being a hack and probably still interfering strangely with spoilers and ailerons
  2. as you suggested, remove the stall flap implementation completely advantage: no more "going wild", not using a hack disadvantage: unrealistic stall behaviour, no "mushing stall"
  3. completely get rid of YASim FDM advantage: IMO JSBSim is far enough that we can use it alone, less maintaining effort, no more hacky stall implementation disadvantage: less option (can't choose yasim anymore if you like it better for some reason), all
    work that has gone into YASim would essentially be lost

What is your opinion? @viktorradnai