From: Yuan X. <xuy...@gm...> - 2007-05-24 15:47:05
|
Hi Jan and Joschka, > > (SimulationServer) SimControlNode 'kerosin/InputControl' not found > > Don't know about this. I think it may be an original mistake in the spark.cpp the kerosin::InputControl register name is "InputControl", so change "kerosin/InputControl" to "InputControl" in Line 136. and a similar change is needed in Line 147: "kerosin/RenderControl" --> "RenderControl" > > > (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. :-( > I am sorry, I have not test the external monitor before. Joschka has found the solution ;-) I think there may be a same problem in my patch: in SceneServer::PostPhysicsUpdate() we also need: if ( mActiveScene.get() == 0 ) { return; } And even more I try to use the monitorspark load the logfile. but assertion failed again. I checked the code, and found that the SparkMonitorLogFileServer is inheritor of SimControlNode, and all the SimControlNodes run parallelly, but the SparkMonitorLogFileServer modifies the scene. So it seems that we need to lock the scene. However, I think a better solution may be let the SparkMonitorLogFileServer inheriting from the SimulationServer. What about your opinion? At last, I found sometimes the server abort when the agent disconnected. The prints said the Ruby Segmentation fault. The Ruby is 1.8.6, I do not know if is it matter. -- Best wishes! Xu Yuan School of Automation Southeast University, Nanjing, China mail: xuy...@gm... xy...@ya... web: http://xuyuan.cn.googlepages.com -------------------------------------------------- |