2578 Commits

Author SHA1 Message Date
Billy Olsen
cb11d18aaf Check to see if column index is valid
Check to see if column index returned from the FlightConfigurationTable
model is referencing a valid column before getting the column data.
Additionally, the FlightConfigurationTableModel was not adequately
accounting for the FCID table column when returning the column.

Fixes #677

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-06-09 20:38:24 -07:00
Daniel Williams
6920500847
Merge pull request #675 from yasunari89/fix-README-typo
Fix typo in README.md
2020-06-01 21:28:43 -04:00
yasunari89
0d8be9cd62 fix typo in README 2020-06-01 08:49:08 +09:00
Daniel Williams
94a9775929
Merge pull request #674 from teyrana/524-recovery-device-update
[fixes #524][ui] Recovery Devices update their name in the 'Recovery' tab
2020-05-31 00:28:22 -04:00
Daniel_M_Williams
31b2f8b8be [fix 524][ui] Recovery Devices update their name in the 'Recovery' tab 2020-05-24 20:04:11 -04:00
Daniel Williams
16300941c7
Merge pull request #665 from wolsen/add-print-progress-dialog
[Fixes 637] Update print dialog to allow simulation control
2020-05-24 13:46:33 -04:00
Billy Olsen
b673a591f2 Update print dialog to allow simulation control
Updates the print dialog to allow for simulations to be re-run
or not. Selecting the "Update simulation data" checkbox will
re-run any out of date simulations prior to generating the
design report.

Fixes #637

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-05-23 15:41:44 -07:00
Joe Pfeiffer
289e0cb4bb
Merge pull request #670 from teyrana/571-fin-phantom-body-message
[Resolve #571] Add message fins-on-phantom-bodies
2020-05-22 16:35:50 -06:00
Daniel_M_Williams
530744d4cc [fix][simulation] Adds 2 warnings about fins on Phantom-Bodies 2020-05-22 16:17:26 -04:00
Daniel Williams
93e34c47d8
Merge pull request #669 from teyrana/666-fix-oob
Resolves #666 -- fix the "Exception loading stream" error while loading certain rockets.
2020-05-17 18:44:06 -04:00
Daniel_M_Williams
462a65bba3 [fix] SymmetricComponent.getNextSymmetricComponent() now handles PodSets 2020-05-16 11:31:16 -04:00
Daniel_M_Williams
ce6a6fa2e3 [fixes #666] Find SymmetricComponent.PreviousSymmetricComponent now handles PodSets correctly. 2020-05-16 11:26:27 -04:00
Daniel_M_Williams
e400c8aeac [fix] fixed typo in documentation 2020-05-15 19:55:54 -04:00
Daniel Williams
a1a777266b
Merge pull request #664 from wolsen/619-fix-graphics-launcher-osx
Use the open -a prefix to commands on OSX
2020-05-12 22:43:12 -04:00
Billy Olsen
e0982935e1 Use the open -a prefix to commands on OSX
On the OSX platform, the command editor needs to open the program
with using the 'open' command.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-05-10 19:23:09 -07:00
Joe Pfeiffer
4eab059b1b
Merge pull request #661 from teyrana/fix-spelling
[fix][i10n] Adjusts Labels for add-component buttons: Stage, Booster, Pods
2020-05-10 19:57:38 -06:00
Daniel_M_Williams
3f0a5b1780 [fix] Fin tabs are now more resistant to non-physical / error states 2020-05-10 18:38:41 -07:00
Daniel_M_Williams
7886712321 [fix] Fins now render with tabs 2020-05-10 18:38:41 -07:00
Daniel_M_Williams
7046d02bae [cleanup] cleans up extra debugging from RocketRenderer, also fixed whitespace 2020-05-10 18:38:41 -07:00
Daniel_M_Williams
dd277b3702 [fix][i10n] Adjusts Labels for multiple add-component-buttons 2020-05-09 18:39:36 -04:00
Daniel Williams
800101e6bb
Merge pull request #659 from teyrana/643-fix-button-formatting
[ui] Moves new assembly buttons to their own row in the New Component panel.
2020-05-09 18:25:56 -04:00
Daniel_M_Williams
bcc5d6bcf8 [fix] Scale Rocket now scales the radial distance of pods & p-stages 2020-05-09 13:33:40 -07:00
Daniel Williams
247bbbc6fc
Merge pull request #660 from teyrana/656-fix-button-render
[fixes #656] Rail Buttons now properly display in 2d side views
2020-05-09 15:20:55 -04:00
Daniel_M_Williams
5c3ce2ec5e [cleanup] removed unnecessary debug lines 2020-05-09 15:20:10 -04:00
Daniel Williams
7fd14ac14b
Merge pull request #636 from wolsen/update-icons
Update icons for Tube Fins and Rail Buttons
2020-05-09 10:27:41 -04:00
Billy Olsen
680f6d8e64 Update rail button and tube fin icons for transparency
Update the transparency of the exported icons so there isn't a white
background clashing with the button color. Additionally, the tube fin
and rail button small icons were updated to be more in line with other
icons.

The tube fin is bigger and has the body tube showing like other
fin small icons.

The rail button works better in a side profile rather
than an offset profile.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-05-08 20:51:28 -07:00
Daniel_M_Williams
4ba395ac77 [fix] Rail Buttons now properly display in 2d side views (when the rocket is rotated 2020-05-08 17:35:32 -04:00
Daniel_M_Williams
1c540a8252 [ui] Adjusted spacing of new stage buttons 2020-05-08 13:04:21 -04:00
Daniel Williams
deed818fd3
Merge pull request #655 from teyrana/show-cp-y
[fix] 2D Rocket Figure will now display off-axis CoM and CoP
2020-05-08 11:02:59 -04:00
Daniel Williams
90173c38a2
Merge pull request #657 from JoePfeiffer/fix-654
Pin CP to axis (Fix 654)
2020-05-08 11:02:16 -04:00
Daniel Williams
5e264c8604
Merge pull request #649 from teyrana/641-fix-cg
[fixes #641] MassCalculator now accounts for rotations in the tree
2020-05-07 18:32:29 -04:00
Daniel Williams
83ce19cac4
Merge pull request #647 from teyrana/645-fix-auto-radius
[Fixes #645] fix auto radius calculation on Symmetric Components
2020-05-07 18:31:48 -04:00
Daniel_M_Williams
61b6fc107f [fix] fixes MIN_MASS check in MassCalculator 2020-05-07 18:09:53 -04:00
Daniel_M_Williams
ac6ae0b440 [fix] 2D display of Cg and Cp values now respects the rotation slider 2020-05-07 17:47:56 -04:00
JoePfeiffer
f0e5902e00 Pin CP to axis when calculating in BarrowmanCalculator.calculateNonAxialForces()
It turns out that the assumption of radial symmetry is absolutely pervasive in our CP calculations.  Looking at FinSetCalc.calculateNonAxialForces(), we don't actually compute the CP of a fin -- we calculate its X value, and pin it to Y=Z=0.

The only exception to this is in BarrowmanCalculator.calculateNonAxialForces(), where the pinning only takes place if there are three or more fins in a FinSet.  If we remove the test for number of fins in the FinSet, we are in essence making the assumption that there are more fins *somewhere* which will end up being radially symmetric.
2020-05-06 16:57:04 -06:00
JoePfeiffer
73dd6b7e7a Dead code. Method's only occurrence in the source tree is this definition. 2020-05-06 16:12:47 -06:00
Daniel_M_Williams
0dc259ab4e [fix] Changed MassCalculator to compare 'MIN_MASS < ', instead of '0==' 2020-05-06 15:38:54 -04:00
Daniel_M_Williams
cce900d408 [fix] MassCalculator now accounts for rotation in Component Assembly Instance Trees 2020-05-06 15:32:19 -04:00
Daniel_M_Williams
2a524c2855 [fix] 2D Rocket Figure will now display off-axis CoM and CoP values 2020-05-06 15:26:06 -04:00
Daniel Williams
91652e7e4f
Merge pull request #652 from JoePfeiffer/fix-648
Avoid considering cp with 0 weight when calculating worst-case CP for display in RocketInfo
2020-05-05 23:00:39 -04:00
JoePfeiffer
2d9239fe5b When determining worst-case CP, only consider cases where the CP's weight is non-zero 2020-05-05 10:46:31 -06:00
JoePfeiffer
51b2f7a03f cp.weight doesn't have any obvious relationahip to mass. We may want to revisit the idea of having a separate minimum cp.weight, but for the moment just making it be MathUtil.EPSILON removes the confusion and doesn't change behavior (MassCalculator.MIN_MASS is set to MathUtil.EPSILON in that class) 2020-05-05 10:37:22 -06:00
Daniel Williams
db63de492e
Merge pull request #644 from JoePfeiffer/fix-627b
Small tweaks on database download from thrustcurve.org
2020-05-04 00:42:13 -04:00
Daniel Williams
1430f7b140
Merge pull request #639 from alexkarezin/readme-link-to-dashboard
[Documentation] Linking project overview dashboard to README
2020-05-04 00:40:36 -04:00
Daniel_M_Williams
7b9deff180 [refactor] ComponentPresetChooserDialog now calls SymmetricComponent.get{Next|Prev}SymmetricComponent(...) 2020-05-03 15:30:43 -04:00
Daniel_M_Williams
d8a8c14449 [fix] get{Next|Prev}SymmetricComponent now searches across stages 2020-05-03 15:02:19 -04:00
Daniel_M_Williams
0c47f2eba3 [fix] adjusted RocketTest unit tests to match auto-radius across stages. 2020-05-03 15:01:12 -04:00
Daniel_M_Williams
5bea957e50 [fix][doc] fixes comments in BarrowmanCalculator.java 2020-05-02 14:28:30 -04:00
Daniel_M_Williams
bbef167bbc [fix] fixes instancing on RocketComponent.toDebugTree 2020-05-02 13:38:47 -04:00
Daniel_M_Williams
bb3cdf2ce8 [refactor] renamed variables in TransitionTest to reflect their containing component type 2020-05-02 13:38:46 -04:00