Replies: 2 comments 2 replies
-
Dear @yaofuzhou, Thanks for the update on your interesting work. I think that elevation data functionality would be a useful addition to the main functions of bluesky. If this only involves user/scenario-initiated (stack) commands it can easily be fully integrated without plugins. If it required a periodic function we might have to consider putting this into a 'core plugin': something that you can disable if you don't need it, but is part of the main distribution of bluesky. Since the data comes from online storage, I would use bluesky's cache functionality to locally cache the data. your other questions need some further discussion / brainstorming. It could be that someone is interested in altitude above terrain for each aircraft at any time, which means it needs an additional aircraft state. If it adds non-negligible computational load this needs to be something you can toggle. |
Beta Was this translation helpful? Give feedback.
-
Dear @jooste , A pull request has been made with instructions on how to test the TERRAIN plugin. Please review at your convenience and feel free to provide any feedback. Thank you, Yaofu |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have been working on introducing the features of 3D terrain and skyline and their associated functionalities to BlueSky.
I want to give a brief description of what I have in mind and I would appreciate if creators and the community of BlueSky can tell me how to best integrate these new features with BlyeSky.
So far I have 3D terrain ready and it works as follows:
bounding box
using S, W, N, E coordinates. This would be the area of interest.scipy.interpolate.LinearNDInterpolator
, and an interpolation functioninterpo_terrain
is returned for further use.point_terrain(self, lat, lon)
is defined based oninterpo_terrain
to yield the value of elevation at any given (lat, lon) within the interested area (0 elsewhere).DEM
(short for Digital Surface Model), and the instance is calledterrain
.DEM
. It draws a 3D terrain map usingpoint_terrain(self, lat, lon)
with, say, 1000,000 random points inside the interested area and allows the user a way to visualize. An example of NYC (terrain only, skyline not included).point_terrain(self, lat, lon)
cost well less than 1 ms.My goal is to -
radar altimeter
. This would be the most obvious use case of the 3D terrain feature.radar altimeter
and other existing features of BlueSky.My goal in the longer term is to -
Questions:
bluesky/bluesky/tools
(if this were a permanent feature) orbluesky/plugins
(if this were an optional feature).bluesky/bluesky/resources/navdata
? Options can be implemented somewhere to keep/delete/re-download the data whenever it applies.radar altimeter
? Specifically, 1) how would you store the returned above-ground-level attitude for further use (say, in GPWS functionalities), and 2) what would be a native way to display/present/log the returned above-ground-level attitude when the command is issued?Thank you for any feedback!
Beta Was this translation helpful? Give feedback.
All reactions