3443 Commits

Author SHA1 Message Date
SiboVG
e51790e69d Clamp beta factor in transonic region 2024-10-08 19:03:06 +02:00
JoePfeiffer
a1d46a881e Remove Prandtl-Glauert correction factor 2024-10-02 15:39:36 -06:00
JoePfeiffer
0471cdf87d Merge branch 'unstable' into flight-warning-event 2024-09-27 13:48:24 -06:00
Sibo Van Gool
c01af87528
Merge pull request #2563 from SiboVG/issue-2463
[#2463] Fix shoulder radius scaling issue when smaller than 1 + fin tab length/offset scaling
2024-09-26 17:21:16 +02:00
SiboVG
fdf130b982 Fix fin set tab length/offset scaling 2024-09-26 17:12:50 +02:00
Sibo Van Gool
7a4833f99c
Merge pull request #2559 from SiboVG/issue-2060
[#2060, #2558] Implement multi-level wind input
2024-09-25 22:48:47 +02:00
JoePfeiffer
8922dd945b Include warning text in SIM_WARN comments in CSV export 2024-09-24 17:49:44 -06:00
SiboVG
31fd57131e [#2463] Fix shoulder radius scaling issue when smaller than 1 2024-09-23 20:23:28 +02:00
JoePfeiffer
7dcd631735 Merge branch 'unstable' into flight-warning-event 2024-09-23 09:37:20 -06:00
JoePfeiffer
43bfc2c3fc update tests for SIM_WARN events 2024-09-23 06:55:52 -06:00
JoePfeiffer
38a3772eb0 Add SIM_WARN events to plots.
Note that this required a lot of rewrite to the code adding event icons
2024-09-23 06:53:22 -06:00
SiboVG
ba657940c7 Use deterministic wind for testing 2024-09-22 07:30:07 +01:00
SiboVG
78e68ecf20 Also copy the wind model type 2024-09-22 07:18:38 +01:00
SiboVG
f7455bd385 Fix level delete action 2024-09-22 07:13:18 +01:00
SiboVG
db08a4ffc2 Fix cloning and equality of wind models 2024-09-21 06:53:43 +01:00
SiboVG
4a3b9efe76 Properly fire changes after wind model change 2024-09-21 06:33:06 +01:00
SiboVG
b9d2ebd16b Get wind direction from velocity 2024-09-21 05:24:17 +01:00
SiboVG
e8b2fdb448 Don't use deviation 2024-09-21 05:18:04 +01:00
SiboVG
ea210bac8d Also use pink noise for multi-level wind 2024-09-21 05:12:33 +01:00
SiboVG
19f8e3c8f3 Add coordinate interpolation method + improve unit tests 2024-09-21 04:39:47 +01:00
SiboVG
50af3d10cc Use selectable component tree for CA plot/export components selection 2024-09-19 00:35:25 +01:00
SiboVG
c3614330b9 Actually, scrap that, allow 0-speed wind 2024-09-14 02:48:16 +01:00
SiboVG
ff638366a2 Clamp min wind speed to 0.1 2024-09-14 02:43:38 +01:00
SiboVG
93bf3df742 Store which wind model type to use 2024-09-13 02:29:32 +01:00
SiboVG
f645f580ec [#2060, #2558] Implement multi-level wind input 2024-09-13 02:09:32 +01:00
JoePfeiffer
0ffe0e03c0 Merge branch 'unstable' into flight-warning-event 2024-09-12 08:55:24 -06:00
Sibo Van Gool
6b88a998d4
Merge pull request #2557 from SiboVG/issue-2019
[#2019] Highlight selected component in CA dialog in rocket panel  & Add per-instance CD column to component analysis dialog
2024-09-10 23:30:45 +02:00
Sibo Van Gool
fd735d85cc
Merge pull request #2554 from SiboVG/issue-1081
[#1081] Add ability to choose user-defined component presets location
2024-09-10 23:30:05 +02:00
JoePfeiffer
12f8802cd3 Load and store SIM_WARN flight events
This requires substantial changes to Warnings in .ork files. Instead of Warnings consisting of a text string with id and priority as attributes, it is now a mixed content element with id, priority, description, and possibly sources as subelements and the original text string still present to provide backward compatibility.

If a .ork file with a warning is saved with this PR and then loaded also with this PR, the warning is reconstructed from the subelements and is available if there is a SIM_WARN flight event. If at some point we want to highlight the components referenced in a Warning, we now have references to them.

If a .ork file with a warning is saved with 23.09 and then loaded with this PR, none of the subelements are present, so the Warning is reconstructed from the text.  It won't have actual references to the components mentioned in the Warning, and there won't be a SIM_WARN event needing reference the Warning.

If a .ork file with a warning is saved with this PR and then loaded in 23.09, there will be .ork loading warnings for all the elements defined in this PR, and then the Warning will be constructed from the text content just as for a .ork saved in 23.09.
2024-09-09 08:51:51 -06:00
Sibo Van Gool
67faa7173d
Merge pull request #2555 from SiboVG/issue-1579
[#1579] Add command-line argument to bypass preset and motor loading at startup
2024-09-09 01:36:59 +02:00
SiboVG
86aec4e22e [#2019] Add per-instance CD column to component analysis dialog 2024-09-07 11:06:24 +02:00
SiboVG
58d091998f [#1579] Add command-line argument to bypass preset and motor loading at startup 2024-09-06 11:31:16 +02:00
SiboVG
4dd3bce26d [#1081] Add ability to choose user-defined component presets location 2024-09-06 01:25:09 +02:00
SiboVG
ffed01fb07 [#2532] Fire outdated sim on stage rename 2024-09-01 22:51:23 +02:00
JoePfeiffer
fad20af879 Refer to Warning UUID as ID for consistency with other code 2024-08-30 20:26:19 -06:00
Sibo Van Gool
e286eea144
Merge pull request #2545 from SiboVG/issue-2224
[#2224] Add hex color input field in appearance panel
2024-08-29 23:33:00 +02:00
SiboVG
0153c89ddc [#2224] Add hex color input field in appearance panel 2024-08-28 12:11:49 +02:00
SiboVG
b53f4e4f5a Better defaults for CA domain parameter ranges 2024-08-27 00:14:40 +02:00
SiboVG
6ebf1ed6e4 Store separation time in data branch 2024-08-27 00:06:29 +02:00
SiboVG
64d0d7e022 Merge branch 'refs/heads/unstable' into issue-2525
# Conflicts:
#	swing/src/main/java/info/openrocket/swing/gui/plot/SimulationPlot.java
2024-08-26 20:58:18 +02:00
SiboVG
15829ac22a Allow no components selection, but show a warning 2024-08-26 18:49:33 +02:00
SiboVG
1a81fd5a21 Use proper units for the CSV parameters export 2024-08-26 03:07:01 +02:00
SiboVG
525190b37f [#2525] Allow component analysis to be exported to a CSV file 2024-08-26 02:26:46 +02:00
SiboVG
1840bd4c0e Refactor component analysis data classes to core module 2024-08-25 22:53:56 +02:00
SiboVG
73981839e6 Add RocketComponent selector in CAExportPanel 2024-08-24 16:32:18 +02:00
SiboVG
88f7c7e18d Refactor ComponentAnalysisPlotExportDialog to a tabbed pane in ComponentAnalysisDialog 2024-08-24 03:41:38 +02:00
SiboVG
cb7b6ae8d0 Ignore inactive components in CA parameter sweep 2024-08-24 01:42:17 +02:00
SiboVG
5eaedd5fef Use dedicated translations for CADomainDataType 2024-08-24 00:02:30 +02:00
SiboVG
3312cb4f6c [#2525] Implement component analysis plotting 2024-08-23 23:17:15 +02:00
JoePfeiffer
1d4ef4383a SIM_WARN events take a null source. The Warning being passed in includes a set of sources; in case of a SIM_WARN event we'll look the source up there 2024-08-22 16:50:43 -06:00