News/2008-03-09 - Added new event scheduler RealTime

The new event scheduler "RealTime" can be used to delay the execution of events to happen in real time. To choose the new scheduler instead of the normal event scheduler you add the following lines to the configuration:

...
import openwns.eventscheduler

...
# replace normal event scheduler by real time event scheduler
sim.environment.eventScheduler = openwns.eventscheduler.RealTime()

See also examples/MM1realtime.py.


CategroyNews

openWNS: News/2008-03-09 (last edited 2008-08-21 10:50:49 by localhost)