From: Jan M. <mu...@un...> - 2007-05-24 13:11:49
|
Hi Yuan and all, |On Wed, 23 May 2007 11:33:09 +0800, "Yuan Xu" <xuy...@gm...> said: > I make a patch for the current cvs: > http://xuyuan.cn.googlepages.com/rcssserver3D-timer-cvs20070523.patch.bz2 > Hope get more tests and feedback soon ;-) I downloaded and applied the patch, and could compile the simulator without problems. But I have some problems in running simspark and especially monitorspark. 1. Simspark > [robocup@aeonflux:simspark] $ ./simspark > (spark.rb) sparkEnableLog logTarget=:cerr logType=eError > (spark.rb) sparkSetupServer > (spark.rb) sparkSetupInput > (spark.rb) sparkAddFPSCamera > (bindings.rb) setting up bindings > (spark.rb) sparkEnableLog logTarget=:cerr logType=eAll > (ScriptServer) updating cached script variables > (ScriptServer) Running soccersim.rb Okay so far. > (Core::Get) ERROR: Could not find object 'sys/server/opengl' > (Light) ERROR: OpenGLServer not found > (Core::Get) ERROR: Could not find object 'sys/server/opengl' > (Light) ERROR: OpenGLServer not found That's because I disabled internal rendering > (GeometryServer) imported mesh 'StdUnitBox with 'oxygen/StdMeshImporter' > (SceneServer) imported scene file 'rsg/agent/flag_no_viz.rsg with 'RubySceneImporter at /usr/scene/ [...] > (spark.rb) sparkRegisterMonitorCmdParser TrainerCommandParser > (MonitorServer) Registered monitor item 'GameStateItem' > (ScriptServer) updating cached script variables > (ScriptServer) updating cached script variables > (SimulationServer) SimControlNode 'kerosin/InputControl' not found Don't know about this. > (SimulationServer) entering runloop > (NetControl) 'MonitorControl' setting up a server on TCP:3200 > (NetControl) 'AgentControl' setting up a server on TCP:3100 ------------------------------------------------------------------------- 2. monitorspark > [robocup@aeonflux:monitorspark] $ ./monitorspark > (spark.rb) sparkEnableLog logTarget=:cerr logType=eError > (spark.rb) sparkSetupRendering > (spark.rb) sparkSetupInput > (spark.rb) sparkSetupMonitor > (spark.rb) sparkAddFPSCamera > (bindings.rb) setting up bindings > (spark.rb) sparkEnableLog logTarget=:cerr logType=eAll > (ScriptServer) updating cached script variables > (ScriptServer) Running soccersim.rb > (spark.rb) sparkRegisterCustomMonitor SoccerMonitor > (spark.rb) sparkRegisterCustomRender SoccerRender > (ScriptServer) updating cached script variables > (ScriptServer) updating cached script variables > (SimulationServer) SimControlNode 'kerosin/InputControl' not found Same error as with simspark. > (SimulationServer) entering runloop > lt-monitorspark: /usr/include/boost/shared_ptr.hpp:253: T* boost::shared_ptr<T>::operator->() const [with T = oxygen::SimControlNode]: Assertion `px != 0' failed. > Abgebrochen monitorspark always exits with this message. The internal rendering seems to work, though. But with 6 local agents connected it doesn't react to mouse and keyboard any more. :-( Any ideas about why the assertion fails? Bye, Jan PS: The monitorsparks from ProjectX and rcssserver3d-0.5.4 work. |