1700 Commits

Author SHA1 Message Date
kruland2607
78d0eaefbd Fix persistant bug report which is reproduced by undoing the addition of
a flight configuration.  Need to test if the current selection in the
flight configuration table is off the table's current size.
2014-10-29 19:12:26 -05:00
kruland2607
1c48d69c8c Merge pull request #208 from teyrana/master
[Fix] Fixed bug in RSE file loading ( XML-formatted engine description)
2014-10-29 17:29:24 -05:00
Daniel_M_Williams
0752b97143 [Fix][Cont] Added Unit test for RSE-load negative mass bug.
- Added Test case in TestMotorLoader.java
  - Added Test load file 'test3.rse' which would previously raise an IOException on load.
  - Added this test case to the 'testGeneralMotorLoader' method as well.
  - Adjusted the digest string so that 'test3.rse' will pass the unit tests.
  - TestMotorLoader currently passes 5/5 unit tests.
2014-10-29 15:19:10 -06:00
Daniel_M_Williams
d905d24f47 re-apply patch 5c0d9eb... which was clobbered by mistake 2014-10-29 14:59:25 -06:00
Daniel_M_Williams
67e741a2df [Fix][Cont] Added Unit test for RSE-load negative mass bug.
- Added Test case in TestMotorLoader.java
  - Added Test load file 'test3.rse' which would previously raise an IOException on load.
  - Added this test case to the 'testGeneralMotorLoader' method as well.
  - Adjusted the digest string so that 'test3.rse' will pass the unit tests.
  - TestMotorLoader currently passes 5/5 unit tests.
2014-10-29 14:55:32 -06:00
Daniel_M_Williams
ab5d8f2a51 [Fix][Cont] Added Unit test for RSE-load negative mass bug.
- Added Test case in TestMotorLoader.java
  - Added Test load file 'test3.rse' which would previously raise an IOException on load.
  - Added this test case to the 'testGeneralMotorLoader' method as well.
  - Adjusted the digest string so that 'test3.rse' will pass the unit tests.
  - TestMotorLoader currently passes 5/5 unit tests.
2014-10-28 13:39:21 -06:00
Daniel_M_Williams
534a61ee7e interim commit. This moves the mass <0 from a separate loop into the previous loop. 2014-10-28 12:14:44 -06:00
kruland2607
9c0061ba83 Merge pull request #207 from celeron533/master
Update registered language code in L10nPropertyReport
2014-10-28 12:10:29 -05:00
Daniel_M_Williams
2d1c843bfb [Fix] Fixed bug in RSE file loading ( XML-formatted engine description)
This patch is based off a thread from "The Rocketry Forum"
( http://www.rocketryforum.com/showthread.php?70475-Problems-with-custom-motors-in-OpenRocket ) .

Complaint: Poster had a water-rocket engine file which would raise IOExceptions upon automatic load.
           (1) the original .rse motor file, posted in the thread above, has an invalid motor length.
           (2) The corrected .rse file follows at the end of this commit message.
Bug: The mass auto-scaling code would over-estimate the mass loss, and declare a negative mass upon motor exhaustion.
     The negative mass is small (in this case, ~= -1E-16).  However, this error is larger than the single-precision epsilon.
Fix: Added a loop which checked for negative mass during the thrust curve, and reset those values back to zero. (AbstractMotorLoader.java:105)
     Also, expanded the number and detail level of some related exception reporting. (ThrustCurveMotor:137)

----

<engine-database>
  <engine-list>
    <engine  mfg="Water" code="W90psi" Type="single-use" dia="18.001" len="200."
initWt="800." propWt="800." delays="1000" auto-calc-mass="1" auto-calc-cg="0"
avgThrust="280.059" peakThrust="428.329" throatDia="0." exitDia="0."
Itot="21.284" burn-time="0.08" massFrac="99.88" Isp="2.71" tDiv="10" tStep="-1."
tFix="1" FDiv="10" FStep="-1." FFix="1" mDiv="10" mStep="-1." mFix="1" cgDiv="10"
cgStep="-1." cgFix="1">
    <comments>Water Rocket, 90 psi, 800g</comments>
    <data>
      <eng-data  t="0." f="0." m="800." cg="81.6327"/>
      <eng-data  t="0.001" f="428.329" m="791.95" cg="89.1566"/>
      <eng-data  t="0.005" f="405.382" m="729.279" cg="107.229"/>
      <eng-data  t="0.008" f="383.711" m="684.79" cg="115.663"/>
      <eng-data  t="0.016" f="346.742" m="574.971" cg="132.53"/>
      <eng-data  t="0.023" f="319.972" m="487.264" cg="142.169"/>
      <eng-data  t="0.031" f="294.476" m="394.885" cg="154.217"/>
      <eng-data  t="0.041" f="267.705" m="289.234" cg="163.855"/>
      <eng-data  t="0.051" f="244.759" m="192.927" cg="172.289"/>
      <eng-data  t="0.059" f="229.462" m="121.63" cg="178.313"/>
      <eng-data  t="0.067" f="215.439" m="54.742" cg="186.747"/>
      <eng-data  t="0.072" f="203.966" m="15.3326" cg="189.157"/>
      <eng-data  t="0.076" f="0." m="0." cg="192.857"/>
    </data>
  </engine>
</engine-list>
</engine-database>
2014-10-28 10:32:01 -06:00
celeron533
5c0d9eb118 Update registered language code in L10nPropertyReport
Update registered language code in L10nPropertyReport.java
Register "tr", "zh_CN".

Existing property files (13):

messages.properties
messages_cs.properties
messages_de.properties
messages_es.properties
messages_fr.properties
messages_it.properties
messages_ja.properties
messages_pl.properties
messages_pt.properties
messages_ru.properties
messages_tr.properties
messages_uk_UA.properties
messages_zh_CN.properties
2014-10-19 20:45:10 +08:00
kruland2607
43aa40c7a9 Merge pull request #206 from kruland2607/master
Added ukranian translations.
2014-10-02 20:25:53 -05:00
kruland2607
73fabd01dd Added ukranian translations. 2014-10-02 20:23:51 -05:00
kruland2607
2913a9bb17 Merge pull request #205 from celeron533/master
Update zh_CN translation & logo
2014-10-01 19:47:56 -05:00
celeron533
c9e4c6dd37 Update zh_CN translation & logo 2014-09-26 15:13:45 +10:00
kruland2607
c62f345e20 Merge pull request #203 from rodinia814/master
Added support for Rocksim SubAssembly file elements (import only).
2014-09-10 21:31:40 -05:00
Doug Pedrick
c2e79ba50e Added support for Rocksim SubAssembly file elements (import only). 2014-08-30 21:08:13 -05:00
kruland2607
f7553c9a6f Update release to 14.06dev. 2014-06-26 08:42:32 -05:00
kruland2607
38595284ca updates to make the 14.06 release. release-14.06 2014-06-25 15:58:38 -05:00
kruland2607
c49896fea5 Merge pull request #202 from kruland2607/master
Update thrustcurves.
2014-06-25 15:49:35 -05:00
kruland2607
414cd82374 Update thrustcurves. 2014-06-25 15:21:30 -05:00
kruland2607
ab6880fd50 Merge pull request #201 from kruland2607/master
Bug fix, added knots to windspeed and velocity, added Klima motor texture.
2014-06-25 11:30:21 -05:00
kruland2607
0042fb352b Protect the table header when the pointer is outside. 2014-05-22 13:44:44 -05:00
kruland2607
35f9ae384e Added motor texture for Klima motors. 2014-05-21 15:11:31 -05:00
kruland2607
0e984d51f0 Add knots to velocity group. 2014-05-21 12:47:34 -05:00
kruland2607
3ea50e1fad Added knots to windspeed unit group. 2014-05-20 21:17:00 -05:00
kruland2607
eaaac8d2fe Update build.properties for 14.05dev. 2014-05-20 13:45:55 -05:00
kruland2607
a3e6c0d183 Update the version number in htp.def for release 14.05. release-14.05 2014-05-20 13:26:29 -05:00
kruland2607
967b6b3eeb Preparing for release 14.05. 2014-05-20 13:04:30 -05:00
kruland2607
024be44106 Merge pull request #200 from kruland2607/master
Update thrust curves and remove tumbling warning.
2014-05-20 10:50:10 -05:00
kruland2607
49ddd78cbc Updated thrustcurves. 2014-05-20 10:43:58 -05:00
kruland2607
b1e53e4e6b Removed the tumbling warning during coast to apogee. 2014-05-20 09:29:31 -05:00
kruland2607
a3e16da57f Merge pull request #199 from plaa/feature/klima_motors
Add Klima motor files
2014-05-18 20:21:35 -05:00
Sampo Niskanen
8c97f13c56 Update README.txt for Klima_*.eng 2014-05-18 12:51:45 +03:00
Sampo Niskanen
4a0960e4f6 Clean up spurious decimals from Klima thrust curve files 2014-05-18 12:46:14 +03:00
Sampo Niskanen
da8910a0ba Add Klima motor files 2014-05-18 12:41:34 +03:00
kruland2607
4d4acee6de Merge pull request #198 from kruland2607/override-indicators
Override indicators
2014-05-15 14:56:20 -05:00
kruland2607
12c47442f3 Renamed the cg-marker.png to cg-override.png. 2014-05-08 09:08:27 -05:00
kruland2607
bef5ff4f4a Merge remote-tracking branch 'upstream/master' into override-indicators 2014-04-24 09:46:10 -05:00
kruland2607
33af46a105 Added mass-override.png icon. 2014-04-24 09:42:00 -05:00
kruland2607
812e50b8ae Merge pull request #197 from kruland2607/master
Upon further research the estes nc data contained incorrect PNC-80FB
2014-04-24 09:10:17 -05:00
kruland2607
ae64f7a7f9 CG & Mass override indicators in component tree. 2014-04-23 21:22:43 -05:00
kruland2607
cc5340ca46 Upon further research the estes nc data contained incorrect PNC-80FB
part which does not exist.
2014-04-23 15:15:38 -05:00
kruland2607
455335270d Merge pull request #196 from kruland2607/optimum-delay
Implement feature to compute the optimum delay for a simulation.
2014-04-15 09:38:49 -05:00
kruland2607
a34d41d6af Implement feature to compute the optimum delay for a simulation. 2014-04-08 13:09:38 -05:00
kruland2607
9a85ba0099 Added simple mass indicator. 2014-04-08 08:31:21 -05:00
kruland2607
4565cdcd86 Merge pull request #192 from kruland2607/master
Bug fix in motor seleciton panel and new jogl libs
2014-03-31 09:17:25 -05:00
kruland2607
6e2708b6ac Updated jogl libraries to 2.1.5. 2014-03-25 12:13:47 -05:00
kruland2607
581ec324d9 Fix selection bug in motor selection panel. The app threw NPE when
trying to reuse the dialog.
2014-03-25 12:12:30 -05:00
kruland2607
11328bc1fc Prepare for dev release. 2014-03-19 16:59:15 -05:00
kruland2607
ae36404431 Changes for 14.03 Release. release-14.03 2014-03-19 15:54:22 -05:00