1932 Commits

Author SHA1 Message Date
Remington Holder
2d5d1b3eca Changes "Save As PNG" to "Export Image"
- Change improves application uniformity
2022-03-20 22:08:03 -04:00
Remington Holder
0a45df5167 (Minor) Adds Newline For Code Readability 2022-03-20 21:49:39 -04:00
Remington Holder
670455fb2d Formats Comments & Makes "Save As Image" Translatable 2022-03-20 21:39:26 -04:00
Remington Holder
c73a41071a Various Small Updates To PNG Chart Export
- Creates PNG file filter
- Adds new file filter to translation file
- Makes Exported Chart's Width & Height as it is displayed
- Changes Button From Print Icon to "Save As Image" text
2022-03-20 20:38:20 -04:00
SiboVG
56b7a1b869
Merge pull request #1235 from JoePfeiffer/fix-1215
Change default stage separation from next stage ignition to current stage motor burnout.
2022-03-14 04:00:10 +01:00
SiboVG
21b099d08f
Merge pull request #1236 from JoePfeiffer/fix-1226
Check for active upper stage before dropping booster
2022-03-14 03:59:17 +01:00
SiboVG
8022e9fedc [#1128] Fix common zero problem between left and right axis 2022-03-11 13:29:26 +01:00
JoePfeiffer
5ac829ea78 Check for active upper stage before dropping booster
If there are multiple independent motor clusters in a stage, each of them can attempt a separation event. When the second event happens, there is no longer an active upper stage, so the separation results in a simulation branch with no active stages.  This causes a NaN exception as the mass is 0.
2022-03-09 11:01:18 -07:00
JoePfeiffer
19c847d44a Change default stage separation from next stage ignition to current stage motor burnout.
For parallel stages, this is much more likely to be the user's intent.  The previous behavior caused stage separation the moment of ignition, so the booster set essentially flew as a second, independent rocket. With this change, the parallel stage stays with the center stack until the ejection charge files (note that OR treats a rocket with a -0 ejection delay as having an ejection charge at motor burnout).

    Note that this change to the default behavior is also applied to axial stages, but is also appropriate in that case.  For the vast majority  of low power rockets, the booster burnout ignites the next stage, so "next stage ignition" and "current stage ejection charge" are simultaneous.  For high power rockets, the next stage ignition has to be customized anyway.
2022-03-08 08:35:29 -07:00
Joe Pfeiffer
46017a0e8b
Merge pull request #1232 from JoePfeiffer/cleanup-SymmetricComponentCalc-debug
Remove unnecessary debug from SymmetricComponentCalc
2022-03-07 15:30:34 -07:00
SiboVG
498a42a3c5
Merge pull request #1221 from JoePfeiffer/fix-1210
Correctly identify when time is past end of thrustcurve so thrust is 0 in getAverageThrust
2022-03-07 23:29:56 +01:00
JoePfeiffer
533093f418 This was some debug I put in while fixing the error in subsonic nose cone drag (#1063). It isn't needed any more, and dumps a wad of unnecessary output in our already voluminous debug logs. 2022-03-07 14:43:39 -07:00
Joe Pfeiffer
1ff0ee9006
Merge pull request #1214 from SiboVG/issue-1172
[#1172] Add new shockcord materials
2022-03-07 14:35:53 -07:00
Joe Pfeiffer
c2a61c84db
Merge pull request #1202 from SiboVG/issue-1176
[fixes #1176] Add JRE version checking at startup
2022-03-07 14:32:32 -07:00
JoePfeiffer
6a8d533070 Cache active motors instead of recalculating on each call 2022-03-07 09:59:14 -07:00
JoePfeiffer
24e1dcc7fe Make sure active motor list is updated after all stage state changes
Use getActiveMotors() instead of getMotors() to get motors in thrust calculation
2022-03-07 09:46:27 -07:00
JoePfeiffer
2aa6a84bf7 Merge branch 'unstable' into fix-1210 2022-03-06 19:44:46 -07:00
Joe Pfeiffer
c98b90a829
Merge pull request #1223 from SiboVG/issue-1204
[fixes #1204] Fix stage CG override incorrect location
2022-03-05 19:00:17 -07:00
SiboVG
b2eb62f009
Merge pull request #1216 from JoePfeiffer/fix-1184
Create CalcMap based on all components, not just active ones
2022-03-06 02:39:01 +01:00
SiboVG
73044b3570 Update overridden text message 2022-03-06 02:36:49 +01:00
SiboVG
7255756e79 Undo #1204 changes 2022-03-06 02:35:22 +01:00
SiboVG
5074ac827e [#1220] Fix RockSim fin import issue 2022-03-05 17:06:47 +01:00
SiboVG
0dc7c306fe [#1204] Remove inertia update in calculateMotors 2022-03-05 16:41:00 +01:00
SiboVG
ec4e6eed37 [#1204] Add CG override effect to motors
The problem was that the overrideCG had no effect in calculateMotors().
2022-03-05 15:49:26 +01:00
JoePfeiffer
d2f364f086 Correctly identify when time is past end of thrustcurve so thrust is 0 in getAverageThrust
This has been lurking -- we're not actually supposed to be calling getAverageThrustThrust when we're past the end of the thrustcurve (there's a test for whether the motor is active before calling it), but another bug in the parallel staging code exposed it.
2022-03-04 17:52:44 -07:00
SiboVG
e3ce66d2ba Add 3/8 and 1/2 elastic braided cord material 2022-03-05 00:05:00 +01:00
SiboVG
3fcd942ee4 Add documentation 2022-03-04 18:11:15 +01:00
SiboVG
e82a7a89b2 Add helper methods 2022-03-04 18:10:44 +01:00
SiboVG
210183f3fd [#1172] Add additional shock cord materials 2022-03-04 16:29:41 +01:00
JoePfeiffer
4cef774c3d Create CalcMap based on all components, not just active ones 2022-03-03 10:55:40 -07:00
SiboVG
d7dfb580c2 [#1172] Add new shockcord materials
Thanks to @hcraigmiller
2022-03-03 03:11:44 +01:00
SiboVG
91b43317f3 Use component iterator instead of self-written childrenRecursive 2022-03-03 00:28:45 +01:00
SiboVG
06f220d6a9 [#1208] Add StageSelector button for ParallelStage 2022-03-02 22:39:20 +01:00
JoePfeiffer
4bd50af673 Make motor database search more robust, especially when loading files:
Instead of requiring motor "designation" to match either the actual designation or the common name, require it to be a substring of the actual designation or that the common name be a substring of the actual designation.  Many motors in stored rocket files have "designations" that resemble, but do not match, actual designations and common names.

Don't match on diameter or length when loading files.  Motors with errors in the old database (eg M1850) would fail to be recognized.
2022-03-01 11:38:09 -07:00
SiboVG
ef809147e1 Only allow Java 11 runtime version 2022-03-01 18:58:53 +01:00
SiboVG
6a6fe8d862 [fixes #1176] Add JRE version checking at startup 2022-03-01 01:48:17 +01:00
SiboVG
60d8b12297 Update default 3D color to #BBBBBB 2022-02-28 23:14:00 +01:00
SiboVG
746c251c5d [fixes #1192] Use default 3D component color mid-grey + 30% shine 2022-02-28 22:07:20 +01:00
Joe Pfeiffer
a6ddbcd1c5
Merge pull request #1197 from SiboVG/issue-1078
[fixes #1078] Add opacity slider to appearance config
2022-02-28 10:48:41 -07:00
Joe Pfeiffer
804d9bad0d
Merge pull request #1180 from SiboVG/issue-1166
[fixes #1166] Use [{motors}] for flight config motors placeholder
2022-02-28 10:27:19 -07:00
JoePfeiffer
7917576404 Don't save backward-compatible radialdirection for ParallelStage 2022-02-28 10:09:36 -07:00
SiboVG
6ca76c4e43 [fixes #1078] Add opacity slider to appearance config 2022-02-28 18:03:40 +01:00
SiboVG
d2acd0ed01 [fixes #1164] Account for different RockSim FinSet location directions 2022-02-28 00:24:14 +01:00
SiboVG
d614c77fa7
Merge pull request #1183 from SiboVG/unstable
Change SoftwareUpdater to by default check unofficial releases
2022-02-27 17:03:42 +01:00
SiboVG
756c6b0521 Change SoftwareUpdater to by default check unofficial releases 2022-02-27 16:57:21 +01:00
SiboVG
85d9985f0b Also copy configuration name upon config copy 2022-02-27 12:57:34 +01:00
SiboVG
d3ec4f66eb [fixes #1166] Use [{motors}] for flight config motors placeholder 2022-02-27 12:50:59 +01:00
thzero
05aae61932 Refactored from new Boolean and new Integer to Boolean.valueOf and Integer.valueOf due to deprecation warnings. 2022-02-26 09:47:57 -06:00
SiboVG
361efe2341 Use Joe's optimism 2022-02-23 01:41:11 +01:00
SiboVG
0f05f41cc1 Update build version to March 2022-02-22 23:23:12 +01:00