- Rocket total mass is split into 'dryMass' and 'propellantMass' -- each mass type has a corresponding calculation method in MassCalculator - Calculating Inertias and Center-of-Mass FOR MOTORS assume: - time-invariant x-coordinate - time-decreasing density - mass correctly tracks propellant usage, as measured by thrustCurves - elimated MassCalcType enum: was not actually solving a problem. - simply use motorTime: 0 for launch Double.MAX_VALUE for burnout - NO_MOTORS is represented by a configuration without attached motors -- try: "rocket.setSelectedConfiguration( rocket.getEmptyConfiguration())" - 'dry mass' vs 'total mass': 90% of the time, a caller wanted 'total mass' - total_mass = dry_mass + propellant_mass - mass @ simulation time wasn't represented by the enum, had existing overloads anyway - get vs calculate methods: -- gets revalidate the cache, then retreive specific information -- calculate simple calculate the desired information, and ignore the cache. --- I'm particularly confident about cache reliability: particularly as it doesn't account for changing time during simulation. - reduced / simplified debugging messages
OpenRocket
Build Status -
Overview
OpenRocket is a free, fully featured model rocket simulator that allows you to design and simulate your rockets before actually building and flying them.
The main features include:
- Six-degree-of-freedom flight simulation
- Automatic design optimization
- Realtime simulated altitude, velocity and acceleration display
- Staging and clustering support
- Cross-platform (Java-based)
Read more about it on the OpenRocket Wiki.
License
OpenRocket is an Open Source project licensed under the GNU GPL. This means that the software is free to use for whatever purposes, and the source code is also available for studying and extending.
Contributing
OpenRocket needs help to become even better. Implementing features, writing documentation and creating example designs are just a few ways of helping. If you are interested in helping make OpenRocket the best rocket simulator out there, please click here for information on how to get involved!
Description
Languages
Java
80.3%
Csound
13.9%
Racket
4.6%
Cython
1.1%