-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implement terrain checks #6
Comments
I read trough some of this topic. The needed data is in the gigabytes, alone for the 500m (which is mabe already too rough) spacing whole earth we have >500MB. It is surely no option to bake this into the plugin, so we need another route here: |
Alternatives (openelevation seems to be unmaintained): |
The ITM/Longley-Rice code that may be introduced by #15 can use terrain sampling data, that may be obtained with some of the methods brainstormed above. So probably its better to refactor the code to use ITM model before tackling this one here. |
Another idea would be to use some sort of backchannel to flightgear. In FGFS the addon could possibly craft answer packets to sample queries, and using the |
Currently the plugin uses a simple radio model that checks a perfectly round geoid. It would be cool to check line of sight against a digital height model, so mountains will prevent vhf communications.
Maybe we can incorporate the SRTM/ASTER files for this.
Terrain data should be used to check line of sight obstruction by mountains/hills etc.
Probably some changes to the UDP fields
HGT
andALT
will be needed. the plugin should (remain to) operate internally on AGL[1].ALT
therefore needs to be converted to AGL by querying the terrain model, if possible.For LOS-Checks both values then firstly need to be converted to real altitude (or the terrain model path values corrected for the difference).
has also todo with #15
See also links there!
[1] For two reasons: 1. because this gives better radio horizons when no terrain data could be obtained; 2. to keep backwards compatibility to previous plugin versions
The text was updated successfully, but these errors were encountered: