Commit Graph

127 Commits

Author SHA1 Message Date
Alexander Bock
d52c5dd0d9 Cleanup code with designated initializer lists 2023-01-22 23:01:32 +01:00
Alexander Bock
4f4764209f Happy new year 2023-01-02 11:19:33 +01:00
Alexander Bock
7bc9e99b87 Feature/satellites (#2185)
* Remove planet geometry and simplespheregeometry
* Only use a single TLE loading implementation
* Add caching to the satellite loader;  Add Lua function to load kepler file
* Fix RenderablePlanetProjection specification
* Add OMM loading funtion;  Remove mean motion from Kepler parameters
* Replace TLETranslation class with GPTranslation and support OMM files
* Support loading SMDB files in kepler functions
* Merge RenderableSatellites and RenderableSmallBody with RenderableOrbitalKepler
* Update submodules
* Adapt existing satellites to new OMM file type
* Remove TLE helper
* Remove SSSB shared file and adapt sssb assets
2022-08-02 13:11:50 +02:00
Alexander Bock
351eb33d61 Add the ability to use integer NAIF IDs in a SpiceTranslation 2022-08-01 18:25:55 +02:00
Alexander Bock
163ac4dcef Cleanup of mostly asset files
- Fixes for all files
 - constexpr cleanup
 - Cosmetic changes
 - Remove punctuation from the end of messages
2022-07-28 17:21:59 +02:00
Alexander Bock
9cc4c595a8 Code Cleanup (#2191)
* constexpr const -> constexpr
* const char* -> std::string_view
2022-07-25 15:57:45 +02:00
Alexander Bock
9b1143f02f Ubuntu 22.04 and GCC11 fixes (#2163)
* Update CEF version
* Update Ghoul
* Update SGCT
* Update codegen
* Remove warnings happening on Ubuntu 22.04 with GCC 11
* AppleClang warning fixes
* Compile fix for Ubuntu and MacOS
* Add Qt 6.2.3 to the CMAKE_PREFIX_PATH
2022-06-28 00:46:01 +02:00
Alexander Bock
5751fe26d3 Cleanup handling of warnings (#2030) 2022-04-16 20:57:29 +02:00
Alexander Bock
c206da4a98 Coding style adaptations 2022-04-10 23:25:37 +02:00
Malin E
9dab943999 PR comments 2022-04-08 16:49:48 +02:00
Malin E
46aec2c63c Move static functions in HorizonsFile to be free functions + PR comments 2022-04-08 11:41:16 +02:00
Malin E
af0a6d61cb Clean up fmt::format useage 2022-04-07 09:34:52 +02:00
Malin E
d3528c3342 Address some PR comments 2022-04-01 14:51:50 +02:00
Malin E
8eb34d3209 Tiny clean up 2022-03-30 16:56:19 +02:00
Malin E
109c52f33d Make it clear to the user when a horizons file was failed to be read 2022-03-28 12:56:03 +02:00
Malin E
45ed5b6e69 Some optimization on Horizons reading and writing 2022-03-25 16:31:27 +01:00
Malin E
607c61f995 Prevent duplicates when loading several horizons files in one trajectary 2022-03-10 14:31:16 +01:00
Malin E
30487fafde Mode adjustments and clean up 2022-02-28 11:48:08 +01:00
Malin E
ce883cf60b Add posibility to use Vector table type of data from Horizons 2022-02-22 16:10:38 +01:00
Malin E
a9dde8f2b6 Merge branch 'master' into feature/horizons-framework 2022-02-17 10:58:24 +01:00
Alexander Bock
30212b6768 Adapt to new auto coding style 2022-02-10 15:20:21 +01:00
Malin E
fd7ea608c8 Merge branch 'master' into feature/horizons-framework 2022-01-13 09:35:52 +01:00
Alexander Bock
d7d279ea16 Happy new year 2022-01-01 12:32:55 +01:00
Malin Ejdbo
b57f25f75b Merge branch 'master' into feature/horizons-framework
* Solve conflict in launcher/CmakeLists.txt
2021-12-22 11:58:21 +01:00
Alexander Bock
c96764aa1c Remove Clang warnings 2021-07-30 14:56:55 +02:00
Malin Ejdbo
c9b9b042d3 Fix so all horizons files in list gets loaded 2021-07-05 14:28:51 +02:00
Malin Ejdbo
ef8f8b6fa0 Merge branch 'master' into feature/horizons-framework
* Resolve conflicts
2021-07-02 16:24:19 +02:00
Alexander Bock
87da9a27ab Feature/path normalization (#1674)
* Path normalization (making sure there are fewer cases of '"..."'
* Using more std::filesystem::path instead of std::string
* Update Ghoul
2021-07-01 23:46:22 +02:00
Malin Ejdbo
4abb6d2707 Merge branch 'master' into feature/horizons-framework
* Adjust the horizons translation to new master

* Resolve conflicts
2021-07-01 10:29:28 +02:00
Malin Ejdbo
b92ed4cafe Read Horizons file with double precision 2021-06-08 13:30:24 +02:00
Micah Acinapura
6fc0a598e7 add fixed time for spice translations, update insight asset to use (#1614)
* add fixed time for spice translations, update insight asset to use

* review cleanup
2021-05-30 13:09:58 -04:00
Alexander Bock
63cbf270ee Adapt to changes in codegen that require specifying the identifier in the codegen::doc function 2021-05-25 23:10:12 +02:00
Alexander Bock
cb17bd7570 Remove warnings 2021-05-25 22:06:49 +02:00
Alexander Bock
92432caed2 Adapt to changes in Ghoul that made absPath return a std::filesystem::path instead of a std::string 2021-05-17 00:23:15 +02:00
Alexander Bock
ccdc5a5dc3 Feature/filesystem cleanup (#1587)
* Adapting to the changes in Ghoul
* First step of moving filesystem functions to std
* Remove persistence flag from cachemanager
2021-05-16 20:26:49 +02:00
Alexander Bock
6837bad5b0 Tiny cleanups 2021-02-17 16:18:08 +01:00
Alexander Bock
6d821d4f91 Feature/codegen (#1480)
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository

Co-authored-by: Emma Broman <emma.broman@liu.se>
2021-02-09 09:12:43 +01:00
Malin Ejdbo
c0a1f53610 Add possibility to give several horizons files that will be combined
* In asset file either one Horizons file can be given as a string (as
before), or a list of files can be given as a dictionary.

* When the HorizonsTranslation is created the data points in the files
will be combined into the same timeline, meaning that only one trail will
be created for the data in all the files.
2021-01-14 17:08:22 +01:00
Malin Ejdbo
374790e637 Add caching version for horizons files 2021-01-14 17:04:32 +01:00
Malin Ejdbo
647ae18bef Fix reading of horizons files
* Take back initial "empty" loop to ignore header information
2021-01-14 14:48:30 +01:00
Alexander Bock
7004c02b86 Happy new year 2021-01-02 15:26:51 +01:00
Alexander Bock
067c0f4b27 Introduction of new Dictionary class (#1446)
* Adapting to introduction of new Dictionary class in Ghoul
 * Mainly replacing usage of float instead of doubles as expected
 * Adjust to the lack of the hasKeyAndValue function
2021-01-02 15:07:11 +01:00
Alexander Bock
ad8af3ffeb Feature/CMake (#1443)
General CMake cleanup/overhaul
* Enable precompiled headers for all projects
* Move specifications itto separate CMakeLists files
  * Add openspace-core as a subdirectory
  * Move handle_modules functionality into modules/CMakeLists.txt
  * Move handleapplications logic into apps/CMakeLists.txt
* Introduce openspace-module-collection interface library to simplify inclusion of modules in applications
* Turn module initialization into a two-step process to adapt to the new minimal dependency scenario
* Compile time speedup
  * Remove circular dependencies between modules and core preventing multithreaded compilation on MSVC
  * Build Spice multithreaded and as static library
  * Remove dependency from core to module-webbrowser
  * Remove unused dependency from kameleon
  * Remove additional unnecessary dependencies
  * Cleanup volume/kameleon/kameleonvolume modules
  * Fix visibility issues. Restrict include paths
  * Compile kameleon in parallel
* Other cleanup
  * Only copy CEF files from one target (hard-coded to OpenSpace right now)
  * Remove unused instrumentation code
  * Remove the ability to render AABB for globes as it caused a circular dependency between GlobeBrowsing and Debugging
  * Removing compiler and cppcheck warnings
  * Turn almost all includes into non-system includes
  * Don't warn on deprecrated copy
* Updated submodules
2020-12-28 18:26:57 +01:00
Alexander Bock
60e3ed2170 General pass for coding style 2020-11-28 22:31:06 +01:00
Malin Ejdbo
33191aafcb More cleanup 2020-11-04 14:18:21 +01:00
Malin Ejdbo
b5df4fcb37 General cleanup 2020-11-04 08:35:02 +01:00
Malin Ejdbo
6b9170f5c0 Add caching of horizons files to optimize reading
* Remove line 104 in horizonstranslation.cpp to prevent double reading

* Add reading and writing of cached horizons files
2020-10-09 12:11:14 +02:00
Alexander Bock
74c1b6cad5 Remove memory allocation in SpiceTranslation due to copy constructor of StringProperty 2020-08-06 10:56:36 +02:00
Alexander Bock
c472ac131e Removing more dynamic memory allocations 2020-08-05 15:45:06 +02:00
GPayne
fbd5d3490a Leap year time fix for satellite tracking 2020-04-19 23:47:30 -06:00