3335 Commits

Author SHA1 Message Date
SiboVG
fd3f2e167c Use enhanced for-loops 2024-08-09 05:20:27 +02:00
SiboVG
7678a1226f Use standard hashcode methods 2024-08-09 05:20:00 +02:00
SiboVG
71d1c02070 Simplify map operations 2024-08-09 05:19:07 +02:00
SiboVG
f28cf9acb8 Use RemoveIf 2024-08-09 05:18:45 +02:00
SiboVG
eaf59aeb75 Replace Collections.sort with List.sort 2024-08-09 05:18:08 +02:00
SiboVG
7fd90efd3d Use Object.equals 2024-08-09 05:17:34 +02:00
SiboVG
8df1fa881a Collapse catch blocks 2024-08-09 05:17:16 +02:00
SiboVG
3f8b35343c Replace try finally with try with resources 2024-08-09 05:16:41 +02:00
SiboVG
595406ab68 Replace explicit type with <> 2024-08-09 05:15:51 +02:00
SiboVG
aef972699a Performance improvements 2024-08-09 05:14:37 +02:00
SiboVG
9cde5c9766 Replace wildcard imports with single imports 2024-08-09 05:07:41 +02:00
SiboVG
b0169b6a2a Remove unnecessary imports from java.lang 2024-08-09 04:37:46 +02:00
SiboVG
8d8b6a93cf Remove unnecessary imports from the same package 2024-08-09 04:37:27 +02:00
SiboVG
af7f26ab48 Remove unused imports 2024-08-09 04:36:51 +02:00
Sibo Van Gool
53b2e92cbd
Merge pull request #2522 from JoePfeiffer/modid
Replace UniqueID class with ModID and UUID
2024-08-09 04:27:25 +02:00
JoePfeiffer
3b7e9bcec7 Correct diameter of Spheachutes parachuts to match Cd.
Correct spelling of "drouge"
2024-07-26 15:21:26 -06:00
JoePfeiffer
6c732a7c0d comment was wrong 2024-07-26 10:02:39 -06:00
JoePfeiffer
eb9106a6a4 Be more consistent about creating a new modID when changes take place 2024-07-26 09:26:50 -06:00
JoePfeiffer
0e437a8cb7 Split UniqueID functionality into new ModID class and java UUID 2024-07-26 06:46:32 -06:00
Sibo Van Gool
f9c34ebb46
Merge pull request #2516 from AlexHladin/feat/add-ukrainian-translation
feat: update Ukrainian translation
2024-07-21 14:34:50 +02:00
Oleksandr Hladin
14406708ce feat: update Ukrainian translation 2024-07-20 13:06:37 +03:00
Ahanu Dewhirst
c4f93b1a6e
Merge branch 'openrocket:unstable' into issue-2485 2024-07-19 13:02:48 +10:00
Ahanu Dewhirst
a9456be0fb [#2485] Add show all action 2024-07-19 12:31:42 +10:00
Ahanu Dewhirst
3f3352302f [#2485] Fix visibility toggling logic and feedback 2024-07-19 09:52:56 +10:00
JoePfeiffer
e0ebef261c Remove store.rollAcceleration and store.lateralPitchAcceleration. That data is in store.AccelerationData 2024-07-17 18:07:14 -06:00
Ahanu Dewhirst
b4282a12e3 Merge branch 'unstable' of https://github.com/AhanuDewhirst/openrocket into issue-2485 2024-07-17 01:40:23 +10:00
Ahanu Dewhirst
7d71a9367e [#2485] Add component visibility functionality 2024-07-17 01:39:49 +10:00
Ahanu Dewhirst
32beec501f [#2485] Add English translation 2024-07-17 01:34:47 +10:00
JoePfeiffer
e346969c24 Get rid of linearAcceleration and angularAcceleration from DataStore; that data is in AccelerationData 2024-07-15 09:45:35 -06:00
JoePfeiffer
46ed6942b2 Modify AbstractEulerStepper to use local linearAcceleration variable instead of store.linearAcceleration.
Save acceleration data (after computation) in DataStore, not SimulationStatus
2024-07-14 15:19:01 -06:00
JoePfeiffer
3086635f39 Merge remote-tracking branch 'origin/fix-2443' into fix-2443 2024-07-14 13:44:44 -06:00
SiboVG
8daa8838ff [#2462] Provide air density as plottable variable 2024-07-13 00:32:38 +02:00
JoePfeiffer
e07eaf7297 Don't use store.linearAcceleration and store.angularAcceleration in RK4SimulationStepper. Use local variables in calculateAcceleration, and pull values out of store.accelerationData, instead 2024-07-12 09:25:05 -06:00
JoePfeiffer
96f0985100 Remove longitudinalAcceleration field from DataStore.
This was initialized to NaN, but never set to anything else. It (along with the atmospheric conditions) was passed to calculateThrust for possible more accurate thrust calculation in the future, but not used there at present

The entire DataStore is now passed to calculateAcceleration() to use whatever fields are useful to it -- none at present.
2024-07-12 05:53:43 -06:00
Joe Pfeiffer
e2b69c4650
Merge pull request #2505 from JoePfeiffer/fix-2498
Fix 2498
2024-07-11 15:48:59 -06:00
Sibo Van Gool
47b6fa273b
Merge pull request #2503 from JoePfeiffer/update-extension-documentation
Update simulation extensions documentation to reflect switch to gradle
2024-07-09 23:40:17 +02:00
JoePfeiffer
90f09d9860 In Cdm example don't actually save Cdm to FlightDataBranch until after simulation step. 2024-07-09 15:16:52 -06:00
JoePfeiffer
e1490e0d3d Initialize sim extensions before adding system-defined listeners to the sim listener list. This has the effect of running the user-defined listeners before evaluating custom expressions, so custom expressions can use the results from the user-defined listeners. 2024-07-09 14:41:05 -06:00
JoePfeiffer
5da56840c8 Fix FlightDataType check for equality 2024-07-08 15:16:32 -06:00
JoePfeiffer
c5a2f52d17 Change directories to conform to gradle directory layout
Change package and import statements to match changes since switch to gradle
Get rid of note pointing to documentation about listeners (it wasn't a valid hyperlink, and I can't find the documentation it thought it was pointing to in this documentation tree)
A little bit of rewording here and there
Get rid of src-extra/AirStart.java  file
2024-07-05 16:12:13 -06:00
JoePfeiffer
deeed0f7e0 Move DataStore from RK4SimulationStepper to AbstractSimulationStepper and make it protected (instead of private).
Move sim working variables for Euler steppers into DataStore.
Have DataStore store its own variables to FlightDataBranch instead of relying on code form outside
2024-07-03 14:27:36 -06:00
JoePfeiffer
5548bf1557 Save all available data at start of simulation 2024-06-06 13:54:23 -06:00
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
SiboVG
c4942d2a48 Remove the Presets example design 2024-06-05 00:19:55 +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