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 server setting informing plugins / clients to identify a preference for Magnetic OR True paths #1787

Open
panaaj opened this issue Sep 8, 2024 · 0 comments
Labels

Comments

@panaaj
Copy link
Member

panaaj commented Sep 8, 2024

Allow the user to configure which type of path to preference so plugins and clients can use the preferred value type.

Why:
There are a number of paths which offer both True and Magnetic values (e.g. navigation.bearingMagnetic & navigation.bearingTrue).

Example use cases include:

  • Course VMG calculation
  • Course Bearing to destination calculation
  • Displaying wind vectors
  • Displaying laylines

Behaviour:
When a selection has been made plugins and clients should use the preferred value type for the relevant operation.
If a value of the preferred type is NOT available the plugin / client should NOT fall back to the other type.

Example:
Preference = Magnetic
navigation.bearingMagnetic = null
navigation.bearingTrue = 0.1546

Operation should handle the null appropriately and NOT fall back to using navigation.bearingTrue.

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

No branches or pull requests

1 participant