5947 Commits

Author SHA1 Message Date
JoePfeiffer
33fc756a3e Use SimulationStatus.storeData() to save data to FlightDataBranch 2024-06-06 13:53:24 -06:00
JoePfeiffer
6ef9197d72 Move data from RK4SimulationStatus to RK4SimulationStepper.DataStore and eliminate RK4SimulationStatus 2024-06-06 13:51:45 -06:00
JoePfeiffer
7b0637e800 Merge remote-tracking branch 'refs/remotes/origin/store-more-initial-data' into store-more-initial-data 2024-06-06 11:18:13 -06:00
Joe Pfeiffer
fd85c523e3
Merge pull request #2491 from JoePfeiffer/sort-csv
Sort FlightDataTypes on FlightDataGroup priority first, then on FlightDataType priority
2024-06-04 17:43:26 -06:00
Joe Pfeiffer
28c92ac52a
Merge pull request #2494 from SiboVG/remove-duplicate-pref
Remove duplicate "Open last design file" preference from design tab
2024-06-04 17:43:08 -06:00
Joe Pfeiffer
e6eae2fb94
Merge pull request #2495 from SiboVG/remove-presets
Remove the Presets example design
2024-06-04 17:42:49 -06:00
SiboVG
c4942d2a48 Remove the Presets example design 2024-06-05 00:19:55 +02:00
SiboVG
657e7c873d Remove duplicate "Open last design file" preference from design tab 2024-06-05 00:16:19 +02:00
Sibo Van Gool
ce70842204
Improve clarity of launch rod tooltip text 2024-06-04 23:32:07 +02:00
JoePfeiffer
2ee9883a2d Clean up storeData 2024-06-04 12:30:20 -06:00
JoePfeiffer
f8d6cdd628 Add SimulationStatus.storeData() method to save status data 2024-06-04 12:23:58 -06:00
Joe Pfeiffer
fb42c40c15
Merge pull request #2488 from JoePfeiffer/delete-file-config-dir
Delete dead code
2024-06-02 08:47:47 -06:00
JoePfeiffer
eb055cfeec Sort FlightDataTypes on group priority first, then on priority of FlightDataType. Don't sort on name 2024-06-01 18:02:17 -06:00
JoePfeiffer
942d273c8d Don't need to re-sort. Types are provided in sorted order 2024-06-01 17:32:27 -06:00
JoePfeiffer
92edd7b40f No longer used for CSV export 2024-06-01 17:24:27 -06:00
JoePfeiffer
6e0c6b187a no need to sort the types, they are delivered sorted 2024-06-01 11:30:55 -06:00
Sibo Van Gool
d2a460d2a3
Rename beta releases to pre-releases 2024-06-01 13:47:48 +02:00
JoePfeiffer
c0453eabde No longer used for CSV export 2024-05-31 12:00:59 -06:00
JoePfeiffer
b10556d42a Delete dead code
I can find no sign that the code in these files is used for anything anywhere
2024-05-29 05:56:14 -06:00
Joe Pfeiffer
7a9bb436c1
Merge pull request #2481 from JoePfeiffer/fix-2479
Cleanups to component database directories; more robust manufacturer search
2024-05-12 08:35:06 -06:00
JoePfeiffer
98a931120a include LICENSE and README.md files with parts database 2024-05-10 05:51:07 -06:00
JoePfeiffer
596943a423 Correct comments in ComponentPresetDatabaseLoader to eliminate reference to presets directory 2024-05-09 07:10:29 -06:00
JoePfeiffer
013579faa9 Add LOC/Precision to Manufacturer list so it will appear as LOC/Precison no matter what order the parts databases are loaded.
Replace string equals with Manufacturer match method when searching for parts in the database
2024-05-09 07:02:19 -06:00
Joe Pfeiffer
434a612d77
Merge branch 'openrocket:unstable' into fix-2479 2024-05-08 08:38:09 -06:00
SiboVG
a60e0b11b8 Update the default IntelliJ run configurations 2024-05-08 01:36:37 +02:00
SiboVG
de72b50e65 Ignore IntelliJ shelf in git 2024-05-08 01:29:59 +02:00
JoePfeiffer
6dedf180bc Move internal and external (ie database) parts to .../components/internal and .../components/database respectively for better organization 2024-05-06 09:01:33 -06:00
JoePfeiffer
a4f9779c96 The core/src/main/resources/datafiles/presets directory contained a mix of
the legacy components (which are also present in core/src/main/resources/datafiles/components-openrocket/) and obsolete versions of files from the database
2024-05-03 15:17:40 -06:00
Sibo Van Gool
712efa605b
Merge pull request #2478 from JoePfeiffer/fix-recursive-exceptions
Report correct branch for simulation exceptions not on sustainer branch
2024-04-30 13:31:09 +02:00
SiboVG
fb15e4e48f Correct artifact name 2024-04-26 20:01:18 +02:00
Sibo Van Gool
ec2a7afa03
Update build.yml 2024-04-26 12:52:25 +02:00
JoePfeiffer
37ffdf2f69 Comment out exception test code 2024-04-23 09:25:03 -06:00
JoePfeiffer
9a06464afe Move calculation of summary data to a "finally" block so we display what we can, even if there was an exception during the simulation. In particular, if the exception happened in a branch other than the sustainer branch we still get all our summary data.
Added a commented-out bit of code forcing an exception for testing purposes. Since many former exceptions are now sim aborts, there isn't a reliable way to create a broken rocket design to test exception behavior -- which is a good thing!
2024-04-23 08:47:36 -06:00
JoePfeiffer
64832fe8d6 Move FlightDataBranch from SimulationException to SimulationCalculationException (since those are the only SimulationExceptions that make use of it).
Require FlightDataBranch when throwing SimulationCalculationException

Don't allow setting FlightDataBranch in SimulationCalculationException when exception is rethrown.
2024-04-22 15:13:42 -06:00
JoePfeiffer
bcfa73eb21 Don't have SimulationEngine return flight data. Add getFlightData() method
to obtain that after simulation completes
2024-04-22 09:01:59 -06:00
JoePfeiffer
51af956330 Add data branch to flight data before branch is simulated, not after.
simulateLoop() no longer returns a FlightDataBranch; it just adds to the FlightDataBranch it is simulating
2024-04-20 08:14:47 -06:00
JoePfeiffer
523fce1a4c Instead of attempting to calculate interesting values for flight data every time a data branch is added and only succeeding the first time, wait until the simulation is complete and calculate them at that time. 2024-04-20 07:56:02 -06:00
JoePfeiffer
872de38b8d It's confusing to have types FlightData and FlightDataBranch, with many variables of type FlightDataBranch named flightData. This commit changes these to be named flightDataBranch (and also changes a few other similarly named variables, so for instance data becomes dataBranch).
Also, FlightDataBranch.getBranchName() is renamed FlightDataBranch.getName(). I suspect the reason for the old method name was to clarify code in the presence of the confusion described above.
2024-04-20 07:47:54 -06:00
Sibo Van Gool
36afea51f2
Merge pull request #2210 from thzero/gradle
Gradle Build Enivornment
2024-04-10 01:31:29 +02:00
SiboVG
b5b9463e8d Increase zoom level box margin 2024-04-10 01:24:36 +02:00
SiboVG
93a410cf2a Increase tree margins 2024-04-10 01:20:59 +02:00
JoePfeiffer
026d5cc259 Check for NaN values and don't try to plot icons for them 2024-04-07 10:06:44 -06:00
SiboVG
723a4262a4 Fix UI properties file for OneDark theme 2024-04-07 01:36:41 +02:00
SiboVG
c272a140ee Fix some mistakes in merge conflicts 2024-04-07 01:23:24 +02:00
SiboVG
69c995b829 Fix material not being set when loading recovery device from preset 2024-04-06 02:24:15 +02:00
SiboVG
a590bdc299 Fix merge conflicts 2024-04-06 02:23:58 +02:00
SiboVG
aa54a39bf7 Ignore Copilot caching 2024-03-28 00:34:33 +01:00
Joe Pfeiffer
6f4d11447c
Merge pull request #2461 from SiboVG/issue-2456-1
[#2456] Overhaul of sim table GUI
2024-03-23 19:21:55 -06:00
SiboVG
dbf2838cae Clean up gradle build 2024-03-23 14:45:43 +01:00
SiboVG
d32faea6c6 Use jakarta.xml instead of javax.xml 2024-03-23 02:13:09 +01:00