Commit Graph

94 Commits

Author SHA1 Message Date
Daniele Forsi 8c3f7e3775 Remove unused includes and use more direct includes 2024-04-11 23:31:34 +02:00
srcejon 54713ef67c Add DialogPositioner 2024-04-10 01:32:19 +01:00
srcejon 10c9864902 ADS-B: Only list available maps. 2024-03-12 14:10:56 +00:00
srcejon 7238b48e22 ADS-B: Add QT 6 support for map. 2024-02-28 12:34:57 +00:00
srcejon d989561df5 Use common code for creating and processing device and channel Ids. 2023-12-05 12:32:53 +00:00
srcejon 25016b5b50 Fix gcc warnings 2023-11-22 15:08:25 +00:00
Jon Beniston e799e5eb72 Fix resize cursor not being cleared when mouse moves over child widgets 2023-11-13 20:51:03 +00:00
srcejon a398381aaf Allow ADS-B to send airport ATC frequencies to Frequency Scanner.
Add ATC callsigns.
Add ATC mode, displaying basic info for all aircraft.
Add airport range rings.
Change Device setting to be an AM Demod setting, so AM demod isn't at DC.
Add basic aircraft data to ADSB Web API report.
2023-10-26 16:31:37 +01:00
Daniele Forsi b22922ef65 Fix URLs in menu texts 2023-08-05 23:06:05 +02:00
Daniele Forsi 34aca019e2 Fix spelling in strings 2023-07-23 18:55:12 +02:00
Jon Beniston 04db22584a Add DSC demodulator 2023-05-15 16:40:43 +01:00
Daniele Forsi 4bc1059a50 Fix check for inconsistent latitude
Fixes an error found by cppcheck:
plugins/channelrx/demodadsb/adsbdemodgui.cpp:2168:121: error: Invalid abs() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool]
                                || (positionValid && aircraft->m_positionValid && ((abs(latitude - aircraft->m_latitude > 2.0f)) || (abs(longitude - aircraft->m_longitude) > 2.0f)))
                                                                                                                        ^
2023-04-26 22:27:03 +02:00
Jon Beniston ab97ce7349 ADS-B: Only enable text to speech engine if speech used, as this can take 10 seconds on Linux 2023-02-16 12:40:05 +00:00
Jon Beniston f807b45df3 ADS-B: Add aircraft min zoom setting. Default to only displaying CTR airspace. 2023-02-16 12:20:31 +00:00
Jon Beniston df7b763eab Optionally reenamable smoothing on 2D maps, as 16 MSAA isn't always available 2023-02-16 11:00:30 +00:00
Jon Beniston 9c7aa8b333 Map Updates
Allow OpenSkyNetwork DB, OpenAIP and OurAirports DB stuctures to be
shared by different plugins, to speed up loading.
Perform map anti-aliasing on the whole map, rather than just info boxes,
to improve rendering speed when there are many items. Add map
multisampling as a preference.
Add plotting of airspaces, airports, navaids on Map feature.
Add support for polylines and polygons to be plotted on Map feature.
Add support for images to 2D Map feature.
Add distance and name filters to Map feature.
Filter map items when zoomed out or if off screen, to improve rendering
performance.
Add UK DAB, FM and AM transmitters to Map feature.
Use labelless maps for 2D transmit maps in Map feature (same as in ADS-B
demod).
2023-02-14 14:46:08 +00:00
f4exb f45e949e62 Fixed passing QPoint reference from right click enabler to connected method. Fixes #1549 2022-12-28 20:33:28 +01:00
Jon Beniston 0dd466a900 Add DialogPositioner to ensure dialogs are fully on screen and remain on
screen when screen orientation changes.
Add DialPopup to allow dials to adjusted with a slider, which is easier
on touchscreens.
Add TableTapAndHold to support table context menus on touchscreens.
2022-12-20 10:31:15 +00:00
Jon Beniston 3b5b222114 Update plugins to compile with Qt5 and Qt6 2022-11-17 14:36:12 +00:00
Jon Beniston 0d5404b6fb Remove resize code from Map and ADS-B 2022-11-11 12:35:19 +00:00
Jon Beniston c742efc866 ADSB: Handle double quoted arguments in commands 2022-09-29 16:51:08 +01:00
Jon Beniston ab0962b53d #1287 - Fix ADS-B crash when My Position changed 2022-09-20 12:15:47 +01:00
Jon Beniston 16fd3128b8 Check ICAO in sink worker, so CRC can be checked. Fix warnings 2022-08-26 13:47:36 +01:00
Jon Beniston 0830691929 ADS-B: Add support for decoding Comm-B replies in Mode-S frames. This adds TAS, IAS, Mach, Selelected Alt, Selected Heading, Turn rate, Roll angle, Autopilot enabled, Vertical and lateral navigation modes, Baro setting, Headwind, OAT, Wind speed and direction, Pressure, Static air temperature, Humidity. 2022-08-26 12:35:12 +01:00
f4exb 2c3ccc49af Some clang warnong fixes 2022-07-24 21:48:02 +02:00
Jon Beniston 8a7113be19 ADS-B: Support different map types for mapboxgl 2022-06-06 13:50:37 +01:00
Jon Beniston 90fe976d9a Remove debug 2022-06-06 13:03:17 +01:00
Jon Beniston 3a71ba0fb9 ADS-B: Add mapboxgl support, as osm maps do not work in Qt 5.15.3 2022-06-06 11:52:29 +01:00
Jon Beniston fb516d1ef1 ADS-B: Add support for displaying airport weather (METARs) from CheckWX 2022-06-06 10:53:10 +01:00
f4exb c6baed9f73 Massive UI revamping (v7): Restored channel highlighted by cursor function. Part of #1213 2022-04-26 00:42:26 +02:00
f4exb 360b8a9753 Massive UI revamping (v7): Fixed sizing of channel windows. Part of #1209 2022-04-24 12:28:56 +02:00
Jon Beniston 99fce0dce0 Add FramelessWindowResizer class for resizig frameless windows.
Remove top-right resize grip from windows.
In channels and features, make sure enterEvent and leaveEvent are passed
to parent class.
2022-04-22 18:21:24 +01:00
f4exb 018b97e17d Massive UI revamping (v7): updated basic channel settings and indicate stream index for MIMO device and single stream channel 2022-04-18 01:42:03 +02:00
f4exb 4e2a4b7f6c Massive UI revamping (v7): more cleanup 2022-04-15 19:53:50 +02:00
f4exb af13b31d85 Massive UI revamping (v7): display channel absolute frequency in status bar. Manage shift frequency limits 2022-04-13 11:08:21 +02:00
f4exb 2f89b79c84 Massive UI revamping (v7): added channels 2022-04-12 16:20:45 +02:00
f4exb 35f1c2aacc Map feature and dependent plugins: implement new message pipes. Part of #1154 2022-03-29 20:12:15 +02:00
f4exb 4111c967e9 Fixed some signal/slot connects. Removed unnecessary m_channelMessageQueue in ChannelAPI. Fixes #1185 2022-03-23 22:32:23 +01:00
Jon Beniston 4010ca6f75 Map: Remove unneeded code 2022-03-23 09:05:56 +00:00
Jon Beniston 625104c181 ADS-B: Remove device set refresh button, as now automatic. Fix possible crash on close. 2022-03-23 09:03:42 +00:00
Jon Beniston 5ec2133782 Update station icon on map when My Position preference changes 2022-03-21 10:14:35 +00:00
f4exb 9c063410fb Message pipes rework: more renaming 2022-03-02 23:57:35 +01:00
f4exb 74f917682b Message pipes rework: renaming to legacy 2022-02-28 23:08:01 +01:00
Jon Beniston 267ae13534 Add support for receiving global aircraft data from OpenSky Network.
Add support for feeding ADS-B data to OpenSky Network.
Fix binary Beast format feed.
Fix display of USA and Japan flags.
2022-02-09 16:36:09 +00:00
Jon Beniston 0591ae8378 ADS-B: Use randomized livery and model for aircraft not in database 2022-02-05 09:34:37 +00:00
Jon Beniston c0adffb25c Fix linux warnings 2022-02-04 23:57:29 +00:00
Jon Beniston b0ad41ff04 Fix linux warnings 2022-02-04 23:55:42 +00:00
Jon Beniston f4f2ab2dca ADS-B - Ensure default 3D model 2022-02-04 23:38:21 +00:00
Jon Beniston 97f55be6e9 ADS-B Demod Updates
Add support for animated 3D models.
Downloaded zipped airplane database as 1/4 of the size.
Add table context menu.
Add airline and country images to text bubbles on maps.
Fix calculation of ground speed when on surface.
Fix position calculation when aircraft transistions from surface to air.
Fix altitude calculation when Q-bit is set.
Speed up processing of large log files.
Add new airline logos.
2022-02-04 16:57:45 +00:00
f4exb 98b305f320 Make rollup state a serializable object so that it can be dumped in JSON format for the API. Prerequisite tp #1050 2022-01-09 05:27:12 +01:00