5989 Commits

Author SHA1 Message Date
Sibo Van Gool
c136436284
Merge pull request #2416 from SiboVG/issue-2178
[#2178] Add South/West unit for latitude/longitude
2023-12-09 02:03:15 +01:00
Sibo Van Gool
5746aa1350
Merge pull request #2406 from SiboVG/refactor-warnings
Add Warning component source to Warning
2023-12-09 02:02:41 +01:00
SiboVG
757a2ab006 Re-add lat and long to unit prefs panel 2023-12-01 19:30:33 +01:00
SiboVG
52f33a3429 Merge branch 'unstable' into issue-2178
# Conflicts:
#	core/src/net/sf/openrocket/simulation/FlightDataType.java
#	core/src/net/sf/openrocket/unit/UnitGroup.java
#	swing/src/net/sf/openrocket/gui/dialogs/preferences/LaunchPreferencesPanel.java
#	swing/src/net/sf/openrocket/gui/dialogs/preferences/UnitsPreferencesPanel.java
#	swing/src/net/sf/openrocket/gui/simulation/SimulationConditionsPanel.java
2023-12-01 19:28:40 +01:00
Joe Pfeiffer
5938f08145
Merge pull request #2413 from SiboVG/issue-2338
[#2338] Organize axis plot types selector in categories + add search function
2023-11-26 12:57:15 -07:00
SiboVG
e6a4f9bddb Whoops, forgot to use FlightDataComboBox for x axis types 2023-11-25 03:50:34 +01:00
SiboVG
0ff32888a1 Refactor searchable and categorizable combobox to general method
In case we want to use it for other parts of the UI :)
2023-11-25 03:00:50 +01:00
SiboVG
341ab81b79 [#2338] Use searchable and categorizable combobox for flight data type 2023-11-24 20:47:05 +01:00
SiboVG
764ebac7b0 Merge branch 'unstable' into issue-2338 2023-11-23 17:31:55 +01:00
Sibo Van Gool
ce2c9c97fe
Merge pull request #2407 from SiboVG/issue-2345
[#2345] Reintroduce motor ignition delay optimization
2023-11-23 17:31:24 +01:00
SiboVG
f3a58598d6 Merge branch 'unstable' into issue-2338 2023-11-22 23:22:34 +01:00
Sibo Van Gool
42102647b2
Merge pull request #2410 from SiboVG/fix-rasaero
Use meters->feet conversion for RASAero rod length
2023-11-22 23:09:07 +01:00
Sibo Van Gool
3b5233593f
Merge pull request #2411 from SiboVG/issue-2409
[#2409] Don't use fixed precision for shape parameter
2023-11-22 23:08:46 +01:00
JoePfeiffer
e92e2bc3a9 Instead of incrementing through the slices of the component, multiply to recalculate each slice (from some comments in the code I suspect there were some problems with floating point error accumulating).
Increase the number of divisions to 128, so division is just an exponent change and won't cause floating point error

a little tidying
2023-11-22 11:32:32 -07:00
Sibo Van Gool
c82db35558
Add extra features 2023-11-22 00:46:25 +01:00
JoePfeiffer
ff6b23f366 merge integrateInertiaVolume() into integrate() 2023-11-21 16:40:57 -07:00
JoePfeiffer
4b1c6a4f4b eliminate SymmetricComponent::integrateInertiaSurface()
Previously, the code calculated the volume of a component, and if that volume was too small calculated its moments of inertia based on the surface instead of the volume. The decision wasn't based on the thickness of the shell (which might have made sense to me), it was the actual volume. The result is any really small component had its moments of inertia calculated using this surface method, no matter how "solid" the object was.

The cause of #2403 was that this method was used to calculate the moments of inertia in the .ork that failed, but the actual CG was used in the parallel axis theorem. This put the CG in a different place than a "surface CG" would have, so the longitudinal moment of inertia ended up less than 0 triggering the crash.

Now, if a component is so small that's volume is 0 it is assumed its contribution to moment of inertia must also be negligible, so the moments of inertia are set to 0 in this case.
2023-11-21 16:01:41 -07:00
JoePfeiffer
9fec2af7a8 Use Double.NaN to identify values that haven't been calculated. Spotting uncalculated values by checking for <0 is just asking for trouble down the line. 2023-11-21 15:54:35 -07:00
Sibo Van Gool
5bd1bd285e Readd gnome... 2023-11-21 15:25:30 +01:00
Sibo Van Gool
565016cc8b Remove gnome extension 2023-11-21 13:47:41 +01:00
Sibo Van Gool
e3e9d0989e Merge branch 'unstable' of github.com:openrocket/openrocket into unstable 2023-11-21 13:21:13 +01:00
Sibo Van Gool
868fd13a2c Add JDK & JRE to site packages 2023-11-21 13:20:46 +01:00
SiboVG
6e2d79e156 [#2409] Don't use fixed precision for shape parameter 2023-11-21 00:45:23 +01:00
SiboVG
c6ecc5c035 Use meters->feet conversion for RASAero rod length 2023-11-21 00:31:36 +01:00
Sibo Van Gool
ba7d8d11a1
Add Chocolatey badge 2023-11-20 21:28:46 +01:00
Sibo Van Gool
9359cbc8ee Merge branch 'unstable' of github.com:openrocket/openrocket into unstable 2023-11-20 20:41:48 +01:00
Sibo Van Gool
f3974c2f6c Finalize mitigation to core22 2023-11-20 20:41:25 +01:00
Sibo Van Gool
4ce5ac18bf
Add tutorials page 2023-11-20 20:25:06 +01:00
Sibo Van Gool
56c066fe06
*sigh* fix Discord link format 2023-11-20 20:24:04 +01:00
Sibo Van Gool
268fca3755
Update SUPPORT.md 2023-11-20 20:23:35 +01:00
Sibo Van Gool
6e2a8bbd65
Update SUPPORT to reference Discord server instead of Slack 2023-11-20 20:22:04 +01:00
Sibo Van Gool
1d9afcc247
Specify architectures separately... 2023-11-20 03:21:01 +01:00
Sibo Van Gool
fe20e2c590 Build for all architectures 2023-11-20 03:01:36 +01:00
Sibo Van Gool
fed0aebb58 Ensure Java 17 is used in snap ant build 2023-11-20 02:32:35 +01:00
SiboVG
7fff5c40f1 Update travis to JDK 17 2023-11-20 01:32:42 +01:00
SiboVG
4d4f7ef6a8 Still one Java 11 reference in snap... 2023-11-19 22:33:17 +01:00
SiboVG
773ab9fdeb Update snap OR logo 2023-11-19 22:26:15 +01:00
Sibo Van Gool
973bca70ec
Use JRE 17 for snap 2023-11-19 22:24:26 +01:00
Sibo Van Gool
74ea4cf06e
Add snapcraft badge 2023-11-19 22:22:25 +01:00
SiboVG
06a7999ba4 Fix coloring of disabled optimization parameters in dark mode 2023-11-19 03:53:09 +01:00
SiboVG
8f4ccd747a [#2345] Reintroduce motor ignition delay optimization 2023-11-19 03:40:41 +01:00
SiboVG
e3b52efc84 Add message source to message 2023-11-19 01:43:05 +01:00
SiboVG
9c163fa551 Rename custom color class to ORColor 2023-11-19 00:47:55 +01:00
Joe Pfeiffer
7fe41ed0ae
Merge pull request #2405 from JoePfeiffer/adjust-sim-unit-tmes
Add times to some of the events that were currently unspecified.
2023-11-18 07:22:36 -07:00
JoePfeiffer
6a5a298097 Add times to some of the events that were currently unspecified. If we end up getting spurious failures we can take them back out. 2023-11-18 07:04:18 -07:00
Sibo Van Gool
b4d4062121
Merge pull request #2339 from superspacehog/twr-plotting
Add thrust-to-weight option to plot menu
2023-11-17 23:32:24 +01:00
SiboVG
a0dc99c40b Update chute sim 2023-11-17 23:32:12 +01:00
SiboVG
c0c00dd6c3 Merge unstable 2023-11-17 23:29:05 +01:00
SiboVG
06ca16724d Merge remote-tracking branch 'origin/unstable' into unstable 2023-11-17 23:22:35 +01:00
SiboVG
d838157209 Only support Java 17 2023-11-17 23:22:25 +01:00