Merge pull request #1571 from JoePfeiffer/fix-1569

When sitting on the ground, advance simulation time to next event time
This commit is contained in:
SiboVG 2022-08-02 22:29:21 +02:00 committed by GitHub
commit f82fc74416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,5 +20,6 @@ public class GroundStepper extends AbstractSimulationStepper {
@Override
public void step(SimulationStatus status, double timeStep) throws SimulationException {
log.trace("step: position=" + status.getRocketPosition() + ", velocity=" + status.getRocketVelocity());
status.setSimulationTime(status.getSimulationTime() + timeStep);
}
}