When sitting on the ground, advance simulation time to next event time

This commit is contained in:
JoePfeiffer 2022-07-31 18:13:27 -06:00
parent c0ba04edac
commit 2ad7cd1c95
2 changed files with 2 additions and 1 deletions

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);
}
}

@ -1 +1 @@
Subproject commit 4c3604313f0cc8f52274c8fa07e4970e6bfaa273
Subproject commit 860757167c4835a7bb960a4cbb52b06f3309791c