simulator: another bug in the episode handling

this time it was caused by the fact that the episodeStartTime_ is
defined as the time which was elapsed from the beginning of the
simulation instead of the posix time which the simulation currently
looks at...
This commit is contained in:
Andreas Lauser 2015-01-07 18:05:11 +01:00
parent 11b77029cf
commit 6c881ab88f

View File

@ -290,13 +290,6 @@ public:
// we want the episode index to be the same as the report step
// index to make things simpler...
simulator.setEpisodeIndex(0);
// the user-specified initial time step can be shorter than
// the initial report step size given in the deck, but it
// can't be longer.
Scalar dt = simulator.timeStepSize();
if (dt > simulator.episodeLength())
simulator.setTimeStepSize(simulator.episodeLength());
}
/*!