2283 Commits

Author SHA1 Message Date
SiboVG
921124e337 Don't compare aoa and recovery speed in warning equals
This caused a lot of duplicate warnings in the simulations
2024-02-16 01:31:21 +01:00
SiboVG
13f47a755d Separate warnings tooltip to sim table columns 2024-02-16 01:31:21 +01:00
SiboVG
90599bce02 [#2456] Save warning priority in .ork 2024-02-16 00:57:55 +01:00
SiboVG
7d23bb58ee [#2456] Add dedicated warnings column in sim table 2024-02-15 03:21:16 +01:00
SiboVG
ce507a6656 Refactor messages to have priority 2024-02-14 16:56:33 +01:00
Joe Pfeiffer
6ada3ff347
Merge pull request #2452 from SiboVG/fin-svg-export
Allow fins to be exported to an SVG file
2024-01-31 17:33:54 -07:00
SiboVG
9ecabd585f Also add fin tabs to SVG export 2024-01-31 12:43:53 +01:00
SiboVG
74cfa4dde5 Allow fins to be exported to SVG 2024-01-30 20:47:27 +01:00
JoePfeiffer
56bf5e1af8 Don't add delay time in again when queueing upper stage ignition event 2024-01-29 09:13:00 -07:00
JoePfeiffer
3513cb9bba log placing events in event queue. Don't do it for ALTITUDE events, since
those would dominate the log.
2024-01-29 09:01:42 -07:00
JoePfeiffer
692152e34e Change simulation warning when recovery is deployed while still under thrust to a simulation abort. 2024-01-28 14:51:23 -07:00
SiboVG
d60ba1f1d8 Also copy stage activeness when copying rocket
This fixes an issue where undoing/redoing stage activeness actions wouldn't work.
2024-01-27 04:48:53 +01:00
SiboVG
01df928f3c Support RockSim booster importing 2024-01-27 03:26:05 +01:00
SiboVG
b5704c108c Apply config listener action to common classes 2024-01-27 01:15:42 +01:00
SiboVG
b795fb0eb5 RockSim uses 0 for false and 1 for true :') 2024-01-24 18:01:42 +01:00
SiboVG
ddb73b5ca1 Can't have direct pod children of pod 2024-01-24 17:54:44 +01:00
SiboVG
e1ab350624 Use pod/booster split for RockSim export 2024-01-24 17:48:39 +01:00
SiboVG
24e72f0bd1 Rename custom invalidate method to avoid confusion with java.awt invalidate
This caused issue because the invalidating of invalidatables was sometimes triggered by AWT processes
2024-01-24 01:53:04 +01:00
SiboVG
e3eeecd7ae Refactor model invalidation to dedicated class 2024-01-24 01:40:09 +01:00
SiboVG
a793f27f51 [#2435] Copy stageMap instead of directly referencing it
This change is to ensure that the stageMap property of the Rocket class is isolated from its source object. Previously, it directly referenced the stageMap of the source, but now we create an entirely new ConcurrentHashMap to hold those stages. This will prevent possible conflicts and unwanted modifications to the source stageMap.
2024-01-22 14:07:46 +01:00
SiboVG
940b913dfa [#2377] Add booster/pod split functionality 2024-01-21 02:14:18 +01:00
SiboVG
d2fc662a56 Verify listener addition/removal 2024-01-21 00:01:50 +01:00
SiboVG
ff1ed750c4 [#2438] Support RockSim booster exporting 2024-01-19 16:51:46 +01:00
SiboVG
49cdbe5426 Minor improvements 2024-01-12 00:18:01 +01:00
JoePfeiffer
00babafc7a Put underscores in SimulationAbort enum constants for readability 2024-01-11 09:42:46 -07:00
JoePfeiffer
f5755cc4af Add explicit test and abort for "no stages defined" running simulation 2024-01-11 09:30:41 -07:00
JoePfeiffer
6273c7a7be Merge branch 'unstable' into SIMFAIL-flight-event 2024-01-10 08:29:50 -07:00
JoePfeiffer
3c02dbc2d1 Put "null" in data field of ALTITUDE events inserted for motor firing; check for null in altitude deployment configuration. 2024-01-10 08:09:23 -07:00
JoePfeiffer
843c2e6d22 Only show error checkbox if there are errors 2024-01-09 17:36:44 -07:00
JoePfeiffer
18b0e39738 No more addEvent in BasicEventSimualationEngine; only down in currentStatus 2024-01-07 14:43:03 -07:00
JoePfeiffer
7f56cd01f5 Merge branch 'unstable' into SIMFAIL-flight-event 2024-01-07 14:38:18 -07:00
JoePfeiffer
e51b76e176 Prevent RK4 simulation timestep from extending past next scheduled event.
Calculate thrust at sample points instead of averaged across timestep
2024-01-04 14:03:12 -07:00
JoePfeiffer
f25bfda6f2 Missed a simulation exception on zero mass that should have been an abort event 2024-01-04 06:57:51 -07:00
JoePfeiffer
10909ccf21 Add logic to better support CHAD staging (booster with no fins).
This will require more accurate thrust calculations to work properly.
2024-01-03 15:30:49 -07:00
JoePfeiffer
aec15658cd Tumbling under thrust should be a sim abort, not a warning.
Leaving the old warning in for backward compatibility.A .ork that triggered the warning will load cleanly. On rerunning the sims in the .ork the warning will go away and the sims will abort.
2024-01-03 10:53:58 -07:00
JoePfeiffer
07e15ddaa2 Merge branch 'unstable' into SIMFAIL-flight-event 2024-01-03 07:31:13 -07:00
JoePfeiffer
f9a8f59247 Add simulation aborts to .ork file load/save 2024-01-03 07:09:24 -07:00
JoePfeiffer
c1b76be844 Add simulation abort title to simulation plot 2024-01-02 07:39:30 -07:00
Sibo Van Gool
6b01afcd67
Merge pull request #2429 from SiboVG/parachute-size
Fix parachute length resizing when loading preset parachute
2023-12-30 22:32:48 +01:00
SiboVG
f66788e618 Fix parachute length resizing when loading preset parachute 2023-12-27 23:58:58 +01:00
SiboVG
2f81d26216 Set RockSim parachute length to radius 2023-12-27 19:54:25 +01:00
SiboVG
ba7da7c4ee Add snapshot version to OpenRocket versioning system 2023-12-26 19:57:39 +01:00
JoePfeiffer
7fa9d0ba0c Save event that causes a simulation abort 2023-12-26 09:15:09 -07:00
JoePfeiffer
6a7cfefbdc This Exception class never was used! 2023-12-24 21:01:17 -07:00
JoePfeiffer
1115212317 Remove some now-unused Exception classes: MotorIgnitionException and SimulationLaunchException. 2023-12-24 20:34:34 -07:00
JoePfeiffer
a36e7f1049 Replace thrown exceptions with simulation aborts whereever possible 2023-12-24 20:34:34 -07:00
JoePfeiffer
173a3d38e2 Integrate SIM_ABORT into code across OR 2023-12-24 20:34:34 -07:00
JoePfeiffer
2123531f14 Create new SIM_ABORT FlightEvent 2023-12-24 20:34:34 -07:00
JoePfeiffer
64e999f2e2 Create new class SimulationAbort to represent reasons for sim aborts 2023-12-24 20:34:34 -07:00
Joe Pfeiffer
85bac6484e
Merge pull request #2426 from SiboVG/fin-balsa
Set Balsa as default material for fins
2023-12-24 13:51:28 -07:00