2550 Commits

Author SHA1 Message Date
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
Daniel_M_Williams
e7ceafe31c [fix] fixed resultant test issues 2020-05-02 13:38:46 -04:00
Daniel_M_Williams
3e3b5dc655 [fix] SymmetricComponent.get{Next|Prev}SymmetricComponent simply retrieves next symmetric *sibling*. 2020-05-02 13:38:46 -04:00
Daniel Williams
8288de651f
Merge pull request #646 from teyrana/640-fix-dialog-close
[fixes #640] Dialogs should now close with the [x] button
2020-05-02 12:01:59 -04:00
Daniel_M_Williams
d038b1b190 [fixes #640] Dialogs should now closing with the [x] button in the corner. (and 'close' button. And ESC) 2020-05-02 11:15:46 -04:00
JoePfeiffer
834fb73617 Some thrust curves had two data points at the end of the curve, one with a thrust of 0. We can delete the 0-thrust point and accept the curve.
One (KBA K1750) had a duplicate (time and thrust both equal) data point.  Delete the duplicate and accpept
2020-05-01 10:21:33 -06:00
JoePfeiffer
16091b456d Clarifying error message when there are two data points for a single time.
I wrote the original, and I still didn't understand it when I came across it for the first time in a few months!
2020-05-01 09:55:33 -06:00
alexkarezin
3ea7fd2520
as requested - moving to the header of the file 2020-04-30 12:17:22 -04:00
alexkarezin
b89189dc1d
Linking project overview dashboard to README
Adding a link to the README header. The linked dashboard describes overall repository structure. The goal is to help new developers explore project and understand architecture/dependencies. Direct link: https://sourcespy.com/github/openrocketopenrocket/
2020-04-30 11:32:16 -04:00
Daniel Williams
1c7171eff2
Merge pull request #626 from teyrana/fix/555/fff/update
[Resolves #555] editing FreeformFins now updates main window
2020-04-25 18:01:05 -04:00
Daniel_M_Williams
da2fea3468 [fix] fixed unit tests for FreeformFinSet, due to fixing #555 2020-04-25 17:51:52 -04:00
Daniel_M_Williams
77bc272e7b [fix] FreeformFins now update main RocketWindow when a point is changed 2020-04-25 17:13:51 -04:00
Daniel Williams
a230d42fab
Merge pull request #630 from teyrana/fix/551/duplicate-button
[fixes #551] [UI] removed 'add stage' text button; reordered remaining buttons
2020-04-25 13:16:49 -04:00
Daniel_M_Williams
bbe2598454 [ui] removed 'add stage' text button; reordered remaining buttons 2020-04-25 13:15:27 -04:00
Daniel Williams
77382e4fc0
Merge pull request #635 from itshanney/fix/text-files-cleanup
[Documentation] Cleanup of text files in repo
2020-04-25 12:51:30 -04:00
Justin Hanney
2a3950fce9 Remove core/TODO; Tweak README.md 2020-04-24 20:02:14 -07:00
Justin Hanney
3116188c1d Adjust formatting for README.md 2020-04-24 20:02:03 -07:00
Justin Hanney
9c50efc708 More unify formatting of ChangeLog 2020-04-24 20:01:53 -07:00
Justin Hanney
5c7f255668 Unify formatting of ChangeLog 2020-04-24 20:01:45 -07:00
Justin Hanney
c0e3a9c497 Remove redundant README.TXT in favor of README.md 2020-04-24 20:01:34 -07:00
Justin Hanney
6adc19b267 Merge README.TXT into README.md 2020-04-24 20:01:27 -07:00
Justin Hanney
1dae23133b Move ChangeLog and README.TXT to root folder 2020-04-24 20:01:12 -07:00
Daniel_M_Williams
2203a3d18c [fix] restores travis-ci commenting on PRs 2020-04-24 18:14:32 -07:00
Daniel Williams
7934f0beec
Merge pull request #633 from JoePfeiffer/fix-627
Fix 627
2020-04-23 10:48:06 -04:00
JoePfeiffer
bf6624fb70 I can't find anywhere that these classes are imported by anything else 2020-04-22 09:29:57 -06:00
JoePfeiffer
b9a881c5c9 The deleted methods (setTotalThrustEstimate(), setBurnTimeEstimate(), setAverageThrustEstimate(), and setMaxThrustEstimate()) were never called. The member variables maxThrust, burnTimeEstimate, averageThrust, totalImpulse are all calculated by computeStatistics() and the values (if any) from the thrustcurve file are ignored. 2020-04-22 09:29:57 -06:00
Billy Olsen
58b92be39e Fix FreeformFinSetTest unit test
FreeformFinSetTest.testFreeformCMComputation_triangleOnTransition
was broken with the last merge. This change updates the expected
area for the fin tab to be the area of the triangle under the
curve as well as update the new CG contants in the tests.

Identified in #631

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-04-21 14:40:09 -07:00
Daniel_M_Williams
4326c71c71 [address 618] improves display of freeform fin tabs on transition bodies 2020-04-20 07:58:55 -07:00