[Pogamut-list] update analyzer faster
jakub.gemrot
pogamut-forum at diana.ms.mff.cuni.cz
Fri Oct 29 07:43:27 CEST 2010
Re: update analyzer faster
Author: jakub.gemrot
Ha, probably got it :-)
Are you using unmodified Analyzer class? If so than it is using UT2004AnalyzerObsStats to produce
outputs inside .csv file about the bot positions.
Well this class was not completed (== polished) so there is a strange static field of the UT2004AnalyzerObsStats:
public class UT2004AnalyzerObsStats {
...
/**
* How often to write logs into .csv files.
*/
public static double LOG_FREQUENCY = 0.5;
...
}
Which means that entries inside the .csv file will be logged with 0.5s (so it is not "frequency" but "period").
Just set this variable UT2004AnalyzerObsStats.LOG_FREQUENCY = 0.1; anywhere in your code and you should
get more frequent logging.
Does it help you to solve your problem?
Best,
Jimmy
P.S.: If you would fancy some changes in the analyzer / analyzer observers, just ask, we will see what we can do for you ;-)
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=386&post_reply=1#form>
More information about the Pogamut-list
mailing list