[robocup-rescue-s] Package Simulationrunner.

From: Isabela Anciutti <darkaryen_at_hotmail.com>
Date: Tue, 30 Oct 2007 18:19:25 +0000

Hi, Everybody,

I didn't find a thread here about this subject. If there is one, please let me know.

I'm developing a rescue team in Java and in order to run tests automatically I'd like to be able to repeatedly start the simulation as well as the agents. I know that there are many script-based options to do the same. I have tried adding the line on Java code:

Runtime rt = Runtime.getRuntime().exec(all.sh);

Though everything seems to run fine, the "firesimulator" (in Java and not in C as the others simulators) won't start! And this is just a simple code that doesn't even handle thread's termination or deadlocks.

In meanwhile I found a package called rescuecore.tools.simulationrunner, which comes with the basic installation. On this package there are plenty of classes to support a pure Java control over "starting and stopping" simulation and agents, safely handling most of the common issues. If it's possible to make such call from inside a Java application, then it would be easier for me to control the experiments based in what I have developed so far.

Nevertheless, I'm not sure whether "simulationrunner" is still compliant with the latest versions of the robocup rescue simulation kernel or else just too old to be so (the header says: Last change: Date: 2004/05/04). If that's the case, I could adapt them to be compatible to the version 0.49 - which I'm using under openSuse. Hence, my questions are:

Is there anyone who successfully made use of the package "simulationrunner"? If so, did you have to adapt it to the kernel 0.49?
Is there anyone who already faced the same necessity and came up with a simple solution or developed a package for it?
Does anyone know where I can find the file "simulation.config", asked as a parameter by the class "StartSimulation"?

I'm open for suggestions.

Thank you all.

Isabela Anciutti
_________________________________________________________________
Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile!
http://mobile.live.com/signup/signup2.aspx?lc=pt-br
_______________________________________________
robocup-rescue-s mailing list
robocup-rescue-s_at_cc.gatech.edu
https://lists.cc.gatech.edu/mailman/listinfo/robocup-rescue-s
Received on Tue 30 Oct 2007 - 18:27:56 GMT

This archive was generated by hypermail 2.2.0 : Tue 30 Oct 2007 - 18:27:59 GMT