6032 Commits

Author SHA1 Message Date
Sibo Van Gool
3c7f35c137
Merge pull request #2453 from eliotalanfoss/patch-1
Update .gitignore
2024-02-02 17:50:05 +01:00
Eliot Foss
d5cd7a77cb
Update .gitignore
Added /swing/resources/datafiles/components/ to .gitignore so that git doesn't track changes in the directory due to building
2024-02-01 12:06:43 -08: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
4cf77bcdc4 Display error when SVG export failed 2024-01-30 20:57:22 +01:00
SiboVG
74cfa4dde5 Allow fins to be exported to SVG 2024-01-30 20:47:27 +01:00
Sibo Van Gool
55e8c64d8c
Merge pull request #2451 from JoePfeiffer/fix-2450
Don't add motor delay time to upper stage motor ignition time
2024-01-30 11:30:46 +01:00
SiboVG
8b150cbd74 Clean up these horrendous castings 2024-01-29 22:25:50 +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
Sibo Van Gool
c1295b5d7c
Merge pull request #2449 from JoePfeiffer/abort-on-recovery-deployment-under-thrust
Change recovery deployment under thrust from Warning to SimulationAbort
2024-01-28 23:12:43 +01: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
Joe Pfeiffer
f2f3e717df
Merge pull request #2447 from SiboVG/issue-2438
[#2438, #2377, #2435] Support RockSim booster importing/exporting, pods/booster splitting & fix a bunch of bugs
2024-01-28 06:55:53 -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
a249c2dddc Fix RockSim import/export unit tests 2024-01-27 04:34:19 +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
Sibo Van Gool
5965c76c16
Increase spacing between text and image 2024-01-25 16:23:32 +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
131f26e1c5 Enforce register in interface 2024-01-24 01:41:55 +01:00
SiboVG
ac16bc5820 Register models for invalidation
This should not only improve efficiency, but also help with unwanted side effects of the component still having listeners even when the config dialog is disposed.
2024-01-24 01:40:09 +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
Joe Pfeiffer
b908424971
Merge pull request #2440 from JoePfeiffer/fix-component-analysis-cd-format
Don't pass extra value (cd) to String.format
2024-01-16 07:52:44 -07:00
JoePfeiffer
553b234252 Don't pass extra value (cd) to String.format 2024-01-16 07:41:48 -07:00
Joe Pfeiffer
6417eb1783
Merge pull request #2431 from JoePfeiffer/SIMFAIL-flight-event
SIM_ABORT flight event
2024-01-11 16:46:39 -07:00
SiboVG
938fc6cc93 Disable show errors checkbox instead of hide 2024-01-12 00:24:57 +01:00
SiboVG
49cdbe5426 Minor improvements 2024-01-12 00:18:01 +01:00
JoePfeiffer
d75a345f4e typo 2024-01-11 10:04:59 -07:00
JoePfeiffer
00babafc7a Put underscores in SimulationAbort enum constants for readability 2024-01-11 09:42:46 -07:00
JoePfeiffer
c803104a16 update unit tests for simulation aborts instead of exceptions 2024-01-11 09:31:20 -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
Joe Pfeiffer
ced11d9b6c
Merge pull request #2436 from JoePfeiffer/oops-in-2432
Fix data field in thrustcurve events
2024-01-10 08:26:17 -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
31a638b2ed Make "All Stages" entry in stage selection dropdown more explicit; also connect to localization. 2024-01-09 17:58:30 -07:00
JoePfeiffer
843c2e6d22 Only show error checkbox if there are errors 2024-01-09 17:36:44 -07:00
JoePfeiffer
1dda428b2f create "Show errors" checkbox, making it possible to hide/show simulation aborts.
I'm following the lead of the design window "Show warnings" checkbox here, and leaving the checkbox present even if there are no errors.
2024-01-09 14:58:01 -07:00
JoePfeiffer
48526af8b8 create "Show errors" checkbox, making it possible to hide/show simulation aborts.
I'm following the lead of the design window "Show warnings" checkbox here, and leaving the checkbox present even if there are no errors.
2024-01-09 14:31:05 -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
eaa98af52b Move abort message to lower left; set background color to white and put a red border around it. 2024-01-07 14:37:09 -07:00
Sibo Van Gool
3a7b92c911
Update year 2024-01-07 14:10:29 +01:00
Joe Pfeiffer
b03c31f230
Merge pull request #2432 from JoePfeiffer/more-accurate-thrust
More accurate thrust
2024-01-04 20:27:38 -07:00