Terrain elevation and associated functionalities added with TERRAIN plugin v1.0 #430
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear BlueSky Community,
I have implemented the initial version of the plugin
TERRAIN
.To test
TERRAIN
on your end,configure the
terrain_and_skyline
section insettings.cfg
. You may want to request an Open Topography key for free, and use it to replace the default key. The default bounding box is placed around Vienna that everyone loves.Run
plugin terrain
in the BlueSky console. Stand by for the plugin to download necessary dataset and to initialize its functions.Create an aircraft within the set bounding box. E.g., a 747 over Vienna,
cre A b744 48.2, 16.3 0m 10000 200
pan A
.Run
AGL A
for the updated above-ground level ofA
. You may hear a sound that says the AGL value in feet 🙄🙄🙄Mute that sound in
settings.cfg
withagl_mute = True
🤣🤣🤣Run
groundmsl A
orgroundmsl 48.2, 16.3
to check the ground elevation belowA
or at(lat, lon)
=(48.2, 16.3)
.Run
SHOWELEMAP
to print a drawing of the terrain elevation map in .pdf and .png formats.Please kind let me know if you have spotted any issue for me to fix, especially if I have broken any convention of BlueSky that I am not aware of.
As always, suggestions for me to improve and expand the plugin
TERRAIN
are much welcomed.Cheers,
Yaofu
P.s. we can totally make landing aircraft say "50, 40, 30, 20, 10, retard, retard, retard..." if you want this (useless?) feature!