From: Joschka B. <jbo...@un...> - 2007-06-16 00:32:20
|
Hi Hedayat, I'll CC this to the devel list, just to have it documented. On Fri, 2007-06-15 at 19:00 +0330, Hedayat Vatankhah wrote: > Hi again, > Fortunately, I found my problem too! I'm glad you did :-) > The problem is that there are two different files with the same name: > app/monitorspark/soccersim.rb and app/simspark/soccersim.rb! My > monitor crashed because it was using soccersim.rb of simspark. > app/monitorspark/soccersim.rb must be renamed to something else such > as soccersimmon.rb because both of these files should be installed. > Currently, one of these will be overwritten with the other one in the > installation (app/simspark/soccersim.rb will be written over > app/monitorspark/soccersim.rb in the installation directory > (e.g. /usr/local/share/rcssserver3d/) which will cause a crash for > monitorspark. > (Also, there are two copies of bindings.rb file which are the same. > One of them should be removed I think (or may be renamed or ....!)) > It's interesting that so far, nobody else had problems with this. Anyways, thanks a lot, we should definitely rename the files then. > And about the results: > I've not tested much, but I get the same results using agentspark in > both simspark and monitorspark: > With 4 agents, the simulation runs smoothly, but after running the 5th > agent, the simulation becomes unstable, some agents jump high in the > air and simulation hangs completely. I get similar results on my laptop. Currently, I can only run 4 agents reliably on my laptop (with the 0.5.6-preview). Anybody tried with connecting agents over the network? Does it make a difference? Also, does anybody have a machine close to the specs in Atlanta to test? My laptop is too weak to be used as a reference (only for a lower baseline maybe). > Jan Murray <mu...@un...> wrote on 06/15/2007 05:32:46 PM: > > Hedayat Vatankhah wrote: > > > Hi, > > > Sorry, the monitorspark crashes for me for other reasons too. > > > Currently, in the latest spark.rb, this line is missing for > > > monitorspark: > > > simulationServer.setMultiThreads(false); > > > > > > so it is running in multi thread mode which causes a crash on my > > > computer. when I add this line, monitorspark doesn't crash for > > > this reason. (It still has the other problem I mentioned in my > > > previous mail.) > > > > Woo Hoo, that did it for me. :-D > > > > monitorspark is now running for me. I just overlooked that it was > > the *logplayer* that was set to singlethread mode. > > > > I can drop the ball and move the agent and start the game now. But > > in the external monitor most of the time only the agent's forearms > > are moved. Sometimes the body follows a little later, sometimes it > > doesn't. But in the internal monitor this is rendered correctly. > > > > > > Thanks, > > Jan |