Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systems: Auto-GCAS #601

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

BobDotCom
Copy link
Contributor

@BobDotCom BobDotCom commented Oct 23, 2024

Auto-GCAS

Fixes #524

TODO

  • Add HUD elements
  • Aural messages
    • "Power! Power!"
      • Increase throttle
    • "You got it!"
      • Recovery successful, controls returned to pilot
  • Should pilot be locked out of controls? (currently not, but IRL yes)
  • Should AP be disengaged upon success?
    • If not, should alt-hold mode be reset?
  • Testing on other blocks besides B52. Shouldn't make a difference, but good to check

@NikolaiVChr
Copy link
Owner

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
Copy link
Owner

@BobDotCom
Copy link
Contributor Author

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
Copy link
Owner

@BobDotCom
Copy link
Contributor Author

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

Wow, that data is even better. 👍

@NikolaiVChr
Copy link
Owner

NikolaiVChr commented Nov 26, 2024

https://www.combataircraft.com/en/News/2009/11/10/Software-prevents-fatal-crashes,-scientists-say/

That one say 1.5 seconds.

Another thing, this system is fairly new, so should not be in all blocks. Block 60 for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement Auto-GCAS
2 participants