Commit graph

377 commits

Author SHA1 Message Date
Dan Paulat
a268ca04e6 Asynchronous threads should execute in thread pools owned by parents
- Fixes #51
2023-06-21 23:34:49 -05:00
Dan Paulat
6000abdeb3 Save map style in settings
- Fixes #50
2023-06-21 23:34:49 -05:00
Dan Paulat
9f6d775c17 Reduce product cache limit 2023-06-20 22:41:59 -05:00
Dan Paulat
081b626855 Fix crash when switching radar sites while loading data from the old site
- Use thread pools owned by radar product manager, unless called statically (#51)
2023-06-20 20:12:57 -05:00
Dan Paulat
55d9fe1da8 Animation widget incorrectly displays auto update disabled when animating 2023-06-19 19:08:18 -05:00
Dan Paulat
93ae58424c Populate level 3 product times prior to loading, don't require an exact time match
- Consistent with level 2, will allow choosing of the correct level 3 product if an exact time isn't given
- Fixes step begin/end when not all products have the same volume times
- Expected to help when switching radar sites, and attempting to save selected time from previous site
2023-06-19 00:16:51 -05:00
Dan Paulat
ea1569cb76 Don't attempt to load an object that hasn't been listed yet by the provider
- Fixes issue when switching to a new product, product does not display the first time
2023-06-18 22:34:29 -05:00
Dan Paulat
fd322e61f7 Fix intermittent crash on exit while animating
- Use thread pools owned by timeline manager (#51)
- To keep animating while data is loading for the first time, add case to ReceiveRadarSweepNotUpdated
2023-06-15 23:17:51 -05:00
Dan Paulat
e8e3032dcd Save loop delay, speed, and time to settings on shutdown 2023-06-14 22:56:26 -05:00
Dan Paulat
96db63d5f3 If the time in the filename and file data differ, the filename should take precedence
This is required for properly indexing the file. If the file data is used, the data is stored under the file data index. Before the file is loaded, the data retrieval is attempted using the filename as the time.
2023-06-12 00:10:56 -05:00
Dan Paulat
9bb4ba4d93 Only use condition variable synchronization for animation, not other timeline functionality 2023-06-10 23:27:58 -05:00
Dan Paulat
580534d396 Protect against invalidated iterator in radar product manager 2023-06-10 23:00:42 -05:00
Dan Paulat
c7a4706f43 Loop delay configuration 2023-06-09 00:10:47 -05:00
Dan Paulat
27958415c5 Synchronize radar sweep updates to timeline manager 2023-06-08 23:07:52 -05:00
Dan Paulat
ea6134acea emit keyword is incompatible with oneTBB 2023-06-05 21:53:24 -05:00
Dan Paulat
9536a1fdcb Fix gcc error for added RadialSize enumeration 2023-06-02 08:05:38 -05:00
Dan Paulat
1b49e317e4 Fix level 2 display 2023-05-30 23:28:02 -05:00
Dan Paulat
4963add9cc Enable/disable auto update of radar data based on timeline selection 2023-05-29 13:37:21 -05:00
Dan Paulat
80f04be510 Set loop defaults 2023-05-29 13:00:50 -05:00
Dan Paulat
4e8b5ac452 Fix to prevent accessing empty level 3 product records 2023-05-28 13:06:20 -05:00
Dan Paulat
11e74b46ec Adjust number of stored/cached products based on loop time 2023-05-27 23:14:38 -05:00
Dan Paulat
5970eaf678 Add short delay at the end of a loop 2023-05-27 01:25:51 -05:00
Dan Paulat
ba1de683fa Timeline pause 2023-05-27 01:17:19 -05:00
Dan Paulat
41b9e25ea8 Timeline play 2023-05-27 00:22:34 -05:00
Dan Paulat
1479525c4a Timeline step begin and end 2023-05-26 17:12:12 -05:00
Dan Paulat
5f97718469 Timeline step next 2023-05-26 16:32:21 -05:00
Dan Paulat
0ddd9d91ea Timeline step back 2023-05-26 16:15:42 -05:00
Dan Paulat
6f1fb84397 Update timeline radar site selection logic 2023-05-26 10:45:55 -05:00
Dan Paulat
a41f4b802e Split volume time and selected time
- Volume time to be used for radar product view
- Selected time to be used for animated alerts
2023-05-26 01:25:16 -05:00
Dan Paulat
27ce694df8 Timeline manager live selection time update 2023-05-24 23:02:08 -05:00
Dan Paulat
da835d7226 Optimization of object listing by date 2023-05-24 22:56:17 -05:00
Dan Paulat
5500b2f4c2 Add debug statement for timeline time updated 2023-05-24 00:13:07 -05:00
Dan Paulat
ab42772f37 Lock timeline mutexes before destroying 2023-05-24 00:12:37 -05:00
Dan Paulat
344d32081e Define constant dates outside loop 2023-05-24 00:12:13 -05:00
Dan Paulat
f6de4d0742 Include radar site in time update determination 2023-05-23 22:41:27 -05:00
Dan Paulat
266be01d8f Timeline manager time selection 2023-05-22 22:46:48 -05:00
Dan Paulat
69730515aa Get next day in addition to previous when querying volume times 2023-05-21 23:52:03 -05:00
Dan Paulat
4bba7f4c64 Timeline Manager should have knowledge of radar site 2023-05-21 23:42:35 -05:00
Dan Paulat
a7a34e063c Active Volume Times for Radar Product Manager 2023-05-21 23:42:00 -05:00
Dan Paulat
3bee6f65e5 Starting some timeline manager stubs 2023-05-15 23:38:39 -05:00
Dan Paulat
81eb3b1af3 Add timeline manager 2023-05-14 08:36:21 -05:00
Dan Paulat
c77c899040 Cleanup use of custom provider definitions, use common map_provider.hpp 2023-04-30 14:47:30 -05:00
Dan Paulat
6c5ec2d996 Update map provider setting based on API key availability 2023-04-27 22:50:27 -05:00
Dan Paulat
26ea4f4771 Use mutex to allow for concurrent update requests 2023-04-22 23:28:30 -05:00
Dan Paulat
08654bb7b0 Update manager and test 2023-04-22 22:42:09 -05:00
Dan Paulat
023688b746 General GCC compilation fixes 2023-04-17 18:37:23 -05:00
Dan Paulat
cdd4ced28e Warning pragmas 2023-04-17 18:34:04 -05:00
Dan Paulat
a3afd71f03 "this" must be explicit in lambda capture 2023-04-17 18:29:37 -05:00
Dan Paulat
31db9a4315 GCC doesn't implement <format> yet, use fmt 2023-04-17 18:24:50 -05:00
Dan Paulat
70ed01c155 Fix switching radar sites while loading 2023-04-12 23:24:27 -05:00