Restore and modernize the Planes plugin with live ADS-B providers#4926
Conversation
|
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
alex-w
left a comment
There was a problem hiding this comment.
Thanks for the plugin!
It's good for me as first implementation and public testing feature, but IMHO informational box need to be redesigned and in future getting the ADS-B data also from connected real device will be very helpful.
|
@alex-w thanks! I’m all for it. I wanted to do something I could get done quickly—that’s why I chose the API. |
|
Very nice plugin! I think vertical rate could also be given in ft/min. |
|
@Atque I will fix this. I hope today |
|
Looks good with finally live data! Current wind means I have planes only out of sight, though, so cannot compare in this hour. The original Planes plugin also had track lines. Do you have plans to revive them? Related, when I change the time in Stellarium, the original implementation moved the planes. Not sure what kind of data the online retrieval delivers or whether tracks can be constructed on which the planes then would be shown moving. Currently the planes seem to be plotted where they are "now" (system time). It then may be better to suppress plotting if not in realtime mode. The color of the GUI panel title bar seems to differ from other plugin panels. Please try to harmonize with other plugins. |
|
This plugin could probably use the same selection marker as the Satellites plugin. |
|
I pushed a follow-up update that addresses the recent feedback:
Regarding track lines and time changes: I agree that the old Planes behavior was useful there. For the current live ADS-B implementation, the data source is fundamentally “live now”, not true historical trajectory data. My current plan is to treat track lines and limited backward time playback as a follow-up improvement:
That would provide a more honest time behavior without pretending to have full historical backend data. |
|
@kamilzaras95-cmyk please update |
|
I want to refactor infobox after merge to harmonize the data with other objects |
|
Hello @kamilzaras95-cmyk! Please check the fresh version (development snapshot) of Stellarium: |
Description
This PR restores the built-in
Planesplugin on current Stellariummasterand modernizes it into a working live aircraft plugin.The original
Planeswork and the later revival attempt in #3091 provided the upstream basis for this plugin. This PR brings it back as a native Stellarium object module and replaces the old offline /receiver-oriented approach with live online ADS-B providers.
Main changes:
plugins/Planesas a built-in static plugin on currentmasterStelObject/StelObjectModuleobjectsadsb.fiairplanes.liveUser-facing behavior:
Technical notes:
icao24, so the selection marker keeps following the aircraft after refreshesaircraftvsacpayload keys)default_cfg.iniThis PR focuses on a usable upstream MVP and does not try to solve every future enhancement in one go.
Related:
Attribution:
This plugin builds on the earlier
Planeswork and revival effort, with the current live ADS-B integration and maintenance update by Kamil Zaraś (astronow.pl).Screenshots:
Type of change
How Has This Been Tested?
Manual local testing on current Stellarium
masterbuild with the built-inPlanesplugin enabled.Tested areas:
adsb.fi/airplanes.live)Test Configuration:
Checklist: