Billy Olsen 97c1112c56 Fix ground hit velocity calculation
The ground hit velocity is calculated by taking the last recorded
total velocity for the flight data and using that as the ground
hit velocity if the last altitude measurement is less than 10 m.

This method worked until commit f11a3e4 introduced the ability to
track and report all events that happened after a GROUND_HIT event.
That commit introduced a GroundStepper that will step between the
GROUND_HIT event and the SIMULATION_END event and will always
add a measurement to the flight data to record the rocket being on
the ground.

A better way of measuring the ground hit velocity is to interpolate
the velocity at the time the GROUND_HIT event, as that would actually
be the appropriate ground hit velocity.

Closes #576

Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
2020-03-06 07:33:33 -07:00
..
2016-09-27 08:10:59 -05:00
2012-01-08 02:23:06 +00:00
2020-03-06 07:33:33 -07: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