3467 Commits

Author SHA1 Message Date
JoePfeiffer
0325274b88 Instead of checking each event as it is pulled from the queue to see if it came from a component that is no longer attached, filter all the events immediately after stage separation. 2024-11-15 13:08:08 -07:00
JoePfeiffer
33b27b45ca Fix bug in FlightEventsTest that kept from testing third sim branch 2024-11-14 16:34:54 -07:00
JoePfeiffer
4bfdb5c0e3 Don't let vertical acceleration be negative before liftoff. 2024-11-10 08:44:32 -07:00
Joe Pfeiffer
1d6b4359fc
Merge pull request #2579 from JoePfeiffer/fix-2569
Separate motor nominal vs actual diameter
2024-10-20 06:02:58 -06:00
JoePfeiffer
8b20f48894 Separate motor nominal vs actual diameter; display nominal but use actual to filter.
Add 32mm motors diameter.
2024-10-18 14:35:17 -06:00
JoePfeiffer
b06c535a80 Inhibit stall tests when recovery device(s) deployed or on the ground 2024-10-16 06:36:33 -06:00
JoePfeiffer
03acca208a Better compare sim warnings 2024-10-16 06:35:35 -06:00
JoePfeiffer
fbaaa8f74c Add units to large AOA warning message 2024-10-15 19:42:19 -06:00
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