From: Markus R. <rol...@un...> - 2005-12-05 10:14:33
|
Hi, Hesham wrote: > Almost the communication code is ready. I attached the latetst > version, that is similar to say and hear in the 2D soccer server [...] thanks for your work! I didn't have time to review your code in detail yet (and i'm not near a linux box atm), so I'll comment in a separate message later. [...] > I used SoccerRuleAspect because it has easy access to all players. > But I guess for spark I should change it, but which class is better? I think it's ok to use the SoccerRuleAspect for message dispatching. We're trying to adapt it for the spark soccer version anyhow. Further its' the right place for policy decisions of all sorts, i.e. filtering what a specific player is allowed to hear etc. Note that the SoccerRuleAspect is currently disabled in the spark soccer version, so the say/hear infrastructure won't work. > unfortunately I couldn't run spark (cvs version), this is its error: > ./simspark.rb: line 11: syntax error near unexpected token > `sparkAddFPSCamera' ./simspark.rb: line 11: `sparkAddFPSCamera(' the sparkAddFPSCamera function is defined in lib/spark/spark.rb. Have you installed spark? (i.e run 'make install in the lib/ directory or directly in lib/spark). This should copy spark.rb in your $PREFIX/shared/rcssserver3d dir. regards, Markus |