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
SiboVG
8b150cbd74
Clean up these horrendous castings
2024-01-29 22:25:50 +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
JoePfeiffer
9e63380f06
update unit tests
2024-01-04 14:03:37 -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
ba0b743d4f
fix typo
2024-01-03 15:30:27 -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
3c8327ffd2
tweak display of abort in sim plot a little
2024-01-03 07:26:51 -07:00
JoePfeiffer
f9a8f59247
Add simulation aborts to .ork file load/save
2024-01-03 07:09:24 -07:00
JoePfeiffer
c5f1f011ef
Add simulation abort to sim panel tooltip
2024-01-02 08:37:07 -07:00
JoePfeiffer
eb4b02bda4
Assign priorities to event images and colors based on ordinal of event types (higher ordinal means higher priority)
2024-01-02 08:05:17 -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
Sibo Van Gool
93b5446e29
Merge pull request #2428 from SiboVG/snapshot
...
Add snapshot version to OpenRocket versioning system
2023-12-28 00:18:03 +01:00
Sibo Van Gool
e056e6ed07
Merge pull request #2421 from neilweinstock/texture-pulldown
...
Updated texture select combobox
2023-12-28 00:17:31 +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