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

Add more flexibility for minimum ground speed #10720

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

MrD-RC
Copy link
Collaborator

@MrD-RC MrD-RC commented Feb 23, 2025

This PR adds more flexibility to minimum ground speed. Access has been added to the programming framework for retrieval and override. An example use would be setting the min ground speed to be x km/h above the wind speed.

  • Added overriding min ground speed to the programming framework.
  • Added reading min ground speed to the programming framework.
  • Updated nav functions to get the min ground speed via the programming framework. This handles if the override is enabled or not.
  • Added min ground speed element to the OSD. This involved re-formatting osdFormatVelocityStr to take a osd_speedTypes_e value. Instead or adding another Boolean to define speed types. Moved Airspeed variants in to the function too. I think it's a neater and more futureproof solution.

Todo

  • Add getting wind speed to programming framework
  • Add getting wind direction to programming framework
  • Test

- Added overriding min ground speed to the programming framework.
- Added reading min ground speed to the programming framework.
- Updated nav functions to get the min ground speed via the programming framework. This handles if the override is enabled or not.
- Added min ground speed element to the OSD. This involved re-formatting `osdFormatVelocityStr` to take a `osd_speedTypes_e` value. Instead or adding another boolean to define speed types. Moved Airspeed variants in to the function too.

**Todo**
- [ ] Add getting wind speed to programming framework
- [ ] Test
@MrD-RC MrD-RC added this to the 9.0 milestone Feb 23, 2025
- Added horizontal wind speed to the programming framework.
- Added min ground speed and horizontal wind speed to programming framework docs. Along with a couple of missing entries
-  Added min ground speed to the OSD doc, plus another that was missing.
Corrected min constraint value for min ground speed programming framework operand A.
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.

1 participant