On 24 May 2009, at 04:03, Chris Cannon wrote:
> Using Player 2.1.2 and Stage 2.1.1 is there anyway to increase
> simulation time (i.e. speed up the simulation)? In Edit >
> Preferences there are options which look like increasing the values
> would increase simulation time, but these do not work. There is also
> a TODO comment in the window which says that the update intervals
> are not working. Is there any other way to speed up simulation time?
The info you need is in the online documentation. In your world file
will be something like the following.
name "[filename of worldfile]"
The relevant fields (from the documentation) are:
# interval_sim [milliseconds]
* the length of each simulation update cycle in milliseconds.
# interval_real [milliseconds]
* the amount of real-world (wall-clock) time the siulator will
attempt to spend on each simulation cycle.
The default is that that both of these are 100 ms, so Stage will
attempt to run the simulation in real-time. To ask Stage to speed up
the simulation, you need to do something like the following.
This means: update the simulation every 32 ms (of simulated time), and
attempt to run the simulation at 100x. With these settings, my
simulation (on an XP box running Gentoo, sorry, don't have the exact
spec to hand) runs at about 50x. I have been informed by a colleague
that the bottleneck will be with the user hardware and software, not