Billy Olsen 94534ee8f8 Fix number of motors and stageMass for DesignReport
Fix the number of motors that are reported. A previous change made
the MotorMount.getMotorCount() return the number of motors which
have been configured. However, according to the javadocs of the
MotorMount interface, the getMotorCount() method is supposed to
return the number of motors that a MotorMount can take for
configuring it. This restores the InnerTube and BodyTube getMotorCount
behavior and adds a new getMotorConfigurationCount() method to
provide the new behavior.

Additionally, the stageMass calculations in the DesignReport were
using a deprecated method which does not return proper component
weights. Change this to use the MassCalculator.calculateLaunch(...)
method, which is consistent with the RocketPanel behavior.

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-03-28 16:49:36 -07:00
..
2016-09-27 08:10:59 -05:00
2012-01-08 02:23:06 +00:00
2012-12-16 00:12:44 -08:00
2016-09-27 08:10:59 -05:00
2015-03-26 06:49:54 -05:00
2013-04-16 22:55:01 +03:00
2013-04-16 22:55:01 +03:00
2012-08-04 08:46:33 +00:00
2012-01-08 02:49:21 +00:00

OpenRocket - an Open Source model rocket simulator
--------------------------------------------------

Copyright (C) 2007-2013  Sampo Niskanen and others


For license information see the file LICENSE.TXT.

For more information see http://openrocket.sourceforge.net/



To start the software run the class 

    net.sf.openrocket.startup.Startup

or from the JAR file run

    $ java -jar OpenRocket-<VERSION>.jar



Contributions have been made by:
--------------------------------

Sampo Niskanen, main developer
Doug Pedrick, support for RockSim designs, printing
Kevin Ruland, Android version
Bill Kuker, 3D visualization
Richard Graham, geodetic computations
Jason Blood, freeform fin set import
Boris du Reau, internationalization

Translations contributed by:
Tripoli France
Tripoli Spain
Stefan Lobas / ERIG
Mauro Biasutti
Sky Dart Team
Vladimir Beran
Polish Rocketry Society / Łukasz & Alex Kazanski