3422 Commits

Author SHA1 Message Date
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
50af3d10cc Use selectable component tree for CA plot/export components selection 2024-09-19 00:35:25 +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
SiboVG
f21dd55452 Refactor SimulationPlot to more generic Plot 2024-08-20 18:00:27 +02:00
JoePfeiffer
1c0710e240 Merge branch 'unstable' into flight-warning-event 2024-08-19 15:51:57 -06:00
JoePfeiffer
3be67960a4 Merge branch 'unstable' into flight-warning-event 2024-08-18 19:07:41 -06:00
SiboVG
621ee57cc2 Extract common functionality to DataBranch 2024-08-17 16:10:03 +02:00
SiboVG
410a30ffdc Refactor FlightDataType and FlightDataBranch to interfaces 2024-08-14 01:01:33 +02:00
SiboVG
f4e9d0db45 Return DEFAULT_CONFIG_NAME if default name cannot be found in prefs 2024-08-13 21:28:28 +02:00
SiboVG
c598004ba0 [#2537] Allow for reconfiguration of the default flight config name 2024-08-13 19:39:26 +02:00
SiboVG
8a0a12cd94 Refactor simulation export panel to more generic CSVExportPanel 2024-08-13 02:55:04 +02:00
JoePfeiffer
ae17468daa Merge branch 'unstable' into fix-852 2024-08-12 12:08:42 -06:00
SiboVG
a38230a05e Merge branch 'refs/heads/unstable' into material-groups
# Conflicts:
#	core/src/main/java/info/openrocket/core/database/Databases.java
#	core/src/main/java/info/openrocket/core/file/openrocket/importt/ConfigHandler.java
#	core/src/main/java/info/openrocket/core/material/Material.java
#	swing/src/main/java/info/openrocket/swing/gui/configdialog/ParachuteConfig.java
#	swing/src/main/java/info/openrocket/swing/gui/dialogs/preferences/DesignPreferencesPanel.java
#	swing/src/main/java/info/openrocket/swing/gui/dialogs/preferences/DisplayPreferencesPanel.java
#	swing/src/main/java/info/openrocket/swing/gui/dialogs/preferences/MaterialEditPanel.java
#	swing/src/main/java/info/openrocket/swing/gui/util/GUIUtil.java
#	swing/src/main/java/info/openrocket/swing/gui/widgets/SearchableAndCategorizableComboBox.java
2024-08-09 20:46:55 +02:00
JoePfeiffer
b183a571c4 Merge branch 'unstable' into fix-852 2024-08-09 11:47:52 -06:00
Joe Pfeiffer
e52374c6e4
Merge pull request #2528 from SiboVG/code-cleanup
Code cleanup
2024-08-09 11:34:54 -06:00
SiboVG
c963d8104c Merge branch 'refs/heads/unstable' into material-groups
# Conflicts:
#	core/src/main/java/info/openrocket/core/document/OpenRocketDocument.java
#	core/src/main/java/info/openrocket/core/rocketcomponent/RocketComponent.java
2024-08-09 18:30:18 +02:00
JoePfeiffer
ae501caab4 Merge branch 'unstable' into fix-852 2024-08-09 10:03:24 -06:00
JoePfeiffer
29a6c05035 Add deployable payload example 2024-08-09 10:00:34 -06:00
SiboVG
29aa71f397 Replace old package name with new one for simulation extensions 2024-08-09 06:12:12 +02:00
SiboVG
5e77e3670a Fix range because of GM scale 2 2024-08-09 06:03:06 +02:00
SiboVG
bf0e5eaeaf Forgot assertsame import 2024-08-09 06:02:52 +02:00
SiboVG
d311ee6cc0 Use assertSame 2024-08-09 05:48:23 +02:00
SiboVG
b5d9343ff0 Add missing Test annotations 2024-08-09 05:47:07 +02:00
SiboVG
7d2c3c0676 Use String equals 2024-08-09 05:44:46 +02:00