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:
commit
f82fc74416
@ -20,5 +20,6 @@ public class GroundStepper extends AbstractSimulationStepper {
|
|||||||
@Override
|
@Override
|
||||||
public void step(SimulationStatus status, double timeStep) throws SimulationException {
|
public void step(SimulationStatus status, double timeStep) throws SimulationException {
|
||||||
log.trace("step: position=" + status.getRocketPosition() + ", velocity=" + status.getRocketVelocity());
|
log.trace("step: position=" + status.getRocketPosition() + ", velocity=" + status.getRocketVelocity());
|
||||||
|
status.setSimulationTime(status.getSimulationTime() + timeStep);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user