NikolaiVChr / f16

General Dynamics F-16 for Flightgear flight simulator
GNU General Public License v2.0
128 stars 40 forks source link

Systems: Auto-GCAS #601

Open BobDotCom opened 4 weeks ago

BobDotCom commented 4 weeks ago

Auto-GCAS

Fixes #524

TODO

NikolaiVChr commented 4 weeks ago

This is super awesome.

I can see you have it set to 8 seconds, I will see if I have docs on that time.

Not knowing how the real one works, may I suggest: Not stop once it hits 15 seconds, but maybe at least pitch up till ~5 degrees. And preferably continue 1 or 2 seconds after clearing the mountain/ground. Else it can clear it, only to engage again right after but at a shallower angle.

Does nothing happen if pilots stick is non-zero? What happens if A/P is enabled, will it still engage?

NikolaiVChr commented 4 weeks ago

Did you see these: https://www.youtube.com/watch?v=nvppLPiYiN0 https://www.youtube.com/watch?v=XWx6-aK8Ick

BobDotCom commented 4 weeks ago

I can see you have it set to 8 seconds, I will see if I have docs on that time.

Based on what I've researched, that time can be configured. I would assume through the DED? Also, I believe it should trigger right when the pull-up cues are initiated, which are currently set to 8 seconds. Also, maybe it should be slightly variable based on speed? Obviously, the distance changes because it's time-based, but you still have much less reaction time at higher speeds.

Not stop once it hits 15 seconds, but maybe at least pitch up till ~5 degrees. And preferably continue 1 or 2 seconds after clearing the mountain/ground. Else it can clear it, only to engage again right after but at a shallower angle.

I do agree with this. Currently it disengages immediately once it clears the terrain, maybe it should pitch up an additional +5 degrees after. I don't think time-based would work because the pitch rate (constant +5G) varies based on speed.

Does nothing happen if pilots stick is non-zero?

IRL, it still engages. The pilot has to paddle it off.

In FG, currently it doesn't engage if the stick isn't centered. After talking with jmav, I think it would be a good idea to make the functionality toggleable between centered-stick and paddle-override.

What happens if A/P is enabled, will it still engage?

Yes. Currently, the autopilot will also re-engage after the recovery is successful. Not sure if this should be the case, or if it should disengage.

Did you see these: https://www.youtube.com/watch?v=nvppLPiYiN0 https://www.youtube.com/watch?v=XWx6-aK8Ick

No, I didn't. Great stuff, should be helpful.

NikolaiVChr commented 4 weeks ago

https://ntrs.nasa.gov/api/citations/20090035618/downloads/20090035618.pdf

BobDotCom commented 4 weeks ago

https://ntrs.nasa.gov/api/citations/20090035618/downloads/20090035618.pdf

Wow, that data is even better. 👍