3459 Commits

Author SHA1 Message Date
JoePfeiffer
02b17dfd16 Use SimulationStatus.addWarning() to add large AOA warnings 2024-10-15 19:41:28 -06:00
JoePfeiffer
edf4d03322 Merge branch 'unstable' into no-tumble-warning 2024-10-15 17:23:26 -06:00
JoePfeiffer
8581dd09e1 Update unit tests (change in angle for tumble changes it a fraction of a second) 2024-10-15 10:59:57 -06:00
JoePfeiffer
ccb3937551 Move test for stall angle to a method in BarrowmanCalculator, and call it in BasicEventSimulationEngine; this replaces the separate tests in BarrowmanCalculator (which may set a warning) and in BasicEventSimulationEngine (which may transition to tumbling) -- note the angles were not synchronized between the two!
BasicEventSimulationEngine is now responsible for both setting the warning and the transition to tumbling (if appropriate).
2024-10-15 10:54:27 -06:00
Sibo Van Gool
039759079b
Merge pull request #2571 from neilweinstock/freeform-edit
Angle constraints in fin editor
2024-10-14 17:02:52 +02:00
SiboVG
f4b4e3ccc0 Allow table editing with single click + fix tab traversal in table 2024-10-12 16:17:43 +02:00
SiboVG
64d7c4bb80 Update unit tests for more beta testing 2024-10-12 01:06:25 +02:00
SiboVG
7c53e6017b Clamp beta to minimal value to avoid singularity 2024-10-12 01:01:59 +02:00
SiboVG
a5eae08456 Clamp Mach to avoid beta singularity 2024-10-09 22:56:55 +02:00
SiboVG
56aee518e7 Whoops, don't use compressibility correction at supersonic flow 2024-10-09 22:56:22 +02:00
Neil Weinstock
d04400d140
Merge branch 'openrocket:unstable' into freeform-edit 2024-10-08 21:51:13 -04:00
neil.weinstock@gmail.com
65ebf9de72 Implement angle constraints in fin editor 2024-10-08 20:57:49 -04:00
SiboVG
ecc203b621 Add unit tests for FlightConditions 2024-10-08 23:15:29 +02:00
SiboVG
8b3b763cc8 Also apply Prandtl correction at supersonic speed 2024-10-08 19:06:17 +02:00
SiboVG
ab5fa61d3e Remove debug prints 2024-10-08 19:05:18 +02:00
SiboVG
e51790e69d Clamp beta factor in transonic region 2024-10-08 19:03:06 +02:00
JoePfeiffer
90b2ece4fa Little bit of tidying up -- use addEvent(), not getEventQueue.add() 2024-10-07 15:47:38 -06: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