From: <he...@us...> - 2009-01-29 08:26:38
|
Revision: 38 http://simspark.svn.sourceforge.net/simspark/?rev=38&view=rev Author: hedayat Date: 2009-01-29 08:26:31 +0000 (Thu, 29 Jan 2009) Log Message: ----------- Some whitespace changes README updates Added installation requirements to INSTALL Fixed CMake files to use our compiler flags! Modified Paths: -------------- trunk/rcssserver3d/CMakeLists.txt trunk/rcssserver3d/ChangeLog trunk/rcssserver3d/INSTALL trunk/rcssserver3d/README trunk/rcssserver3d/data/rsg/agent/nao/naoneckhead.rsg trunk/rsgedit/CMakeLists.txt trunk/simspark-utilities/CMakeLists.txt trunk/spark/CMakeLists.txt trunk/spark/ChangeLog trunk/spark/INSTALL trunk/spark/README Modified: trunk/rcssserver3d/CMakeLists.txt =================================================================== --- trunk/rcssserver3d/CMakeLists.txt 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/rcssserver3d/CMakeLists.txt 2009-01-29 08:26:31 UTC (rev 38) @@ -14,13 +14,15 @@ find_package(Freetype REQUIRED) ########## add extra flags ########## -set(CMAKE_BUILD_TYPE Debug CACHE STRING "Release or Debug build type") add_definitions(-DHAVE_CONFIG_H) include_directories(${CMAKE_BINARY_DIR}) if (UNIX) - set(CMAKE_CXX_FLAGS "-Wno-deprecated") - set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual") - set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG") + set(CMAKE_CXX_FLAGS "-Wno-deprecated" CACHE + STRING "Common C++ compiler flags" FORCE) + set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual" CACHE + STRING "C++ compiler flags for Debug builds" FORCE) + set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG" CACHE + STRING "C++ compiler flags for Release builds" FORCE) endif (UNIX) set(BINDIR "bin" CACHE PATH "The directory to install binaries into.") Modified: trunk/rcssserver3d/ChangeLog =================================================================== --- trunk/rcssserver3d/ChangeLog 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/rcssserver3d/ChangeLog 2009-01-29 08:26:31 UTC (rev 38) @@ -1,3 +1,11 @@ +2009-01-29 Hedayat Vatankhah <he...@gr...> + + * INSTALL: + - added requirements + + * README: + - updated with the recent changes + 2009-01-28 Hedayat Vatankhah <he...@gr...> * INSTALL: @@ -9,7 +17,8 @@ * data/rsg/agent/nao/naoneckhead.rsg: * data/rsg/agent/nao/naoleg.rsg: * data/rsg/agent/nao/naoarm.rsg: - - enabled RestrictedVisionPerceptor and ObjectState nodes + - enabled RestrictedVisionPerceptor and ObjectState nodes + - some whitespace fix 2009-01-24 Hedayat Vatankhah <he...@gr...> Modified: trunk/rcssserver3d/INSTALL =================================================================== --- trunk/rcssserver3d/INSTALL 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/rcssserver3d/INSTALL 2009-01-29 08:26:31 UTC (rev 38) @@ -6,6 +6,17 @@ files, Visual Studio project files). You can generate build files using CMake command-line or GUI interfaces. +Requirements +============ +CMake version 2.6 or higher +Simspark Library +Boost C++ Libraries +FreeType + +The following packages are optional: +Latex (pdflatex): to generate developers manual +Doxygen: to generate API documentation + Basic Installation Using CMake Command-line Interface ===================================================== 1. Unpack the distribution and change directory to the top level source tree. Modified: trunk/rcssserver3d/README =================================================================== --- trunk/rcssserver3d/README 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/rcssserver3d/README 2009-01-29 08:26:31 UTC (rev 38) @@ -2,45 +2,18 @@ Please see doc/users/user-manual.pdf and NEWS. -*Note* The README is somewhat outdated and should be fixed after the - competition in Atlanta. The main difference is that the SimSpark - (app/simspark) simulator is now used for the official competitions. Also, - SPADES is currently not used anymore. The general directory structure and - concepts are still applicable though. - General Information -rcssserver3D is a physical simulation system. The primary purpose of -this system is to provide a *generic* simulator for different kinds -of simulations. In these simulations, agents can participate as -external processes. To create specific simulations, important parts -of the simulator are build as plugins that can be replaced for -different simulations. The plugins can be exchanged at runtime. -Things designed as plugins are for example parts of agents: agents -can be using different actuators or perceptors. Other plugins are -responsible for the simulator protocol or also for the rules of -specific simulations. -Simulations for this simulator can be constructed to a great part by -changing text files with no further recompilation. The soccer -simulation makes not yet use of this feature, but changes towards -this are already planned. - -The simulation system was created with a specific simulation in mind, +rcssserver3d is a 3D soccer simulation server running on top of simspark +simulation system. +The simspark simulation system was created with a specific simulation in mind, that is a 3D physical soccer simulation for RoboCup Simulation league. To this end, this distribution contains a set of plugins for RoboCup Soccer Simulation League. The soccer simulator can be found -in the ./app/simulator/ subdirectory. The basic simulator concept was -presented on the 2003 RoboCup Symposium in Padova [1]. +in the ./simspark subdirectory. -For scientific simulations, it is useful to be able to keep track of -the time used by different agents for thinking. A special plugin -makes it possible to use the simulator together with SPADES, a -middleware system for agent based simulations. SPADES was presented -on the 2002 RoboCup Symposium in Fukuoka [2] (SPADES itself is not -part of this package). - If you installed rcssserver3D-0.x before, make sure to clean -the ~/.rcssserver3D/ directory prior to using the new version. Also +the ~/.rcssserver3d/ directory prior to using the new version. Also better remove the old installed libraries in /usr/local/lib/ rcssserver3D manually. Sorry for this inconvenience. @@ -49,82 +22,17 @@ The different parts of this package are organized in different directories as follows: -./app/ Different applications. These applications are - mostly tests of different subsystems of the - simulator. Additionaly, there is -./app/simulator/ The soccer simulator. -./app/ A simple monitor that displays agents connected to -rcssmonitor3d/ the simulator. -./app/agenttest/ A 'hello world' agent (does nothing very useful, - kick and run soccer). -./lib/ The main simulator parts as libraries. The - simulator consists of these parts: -./lib/salt/ This library provides a collection of useful - general purpose classes. It contains mostly - math-and system-related functionality, such as a 3D - Vector class, a Matrix class, a file I/O wrapper - and an abstraction for loading/accessing shared - libraries. -./lib/zeitgeist/ The Zeitgeist library provides two major features. - It implements a mechanism to work with class - objects in C++. A class object is just a factory of - class instances. In addition to this mechanism, it - also implements an object hierarchy. This hierarchy - is essentially a virtual file system, where the - 'directories' and 'files' are instances of C++ - classes. These two concepts are quite intertwined - with each other, as class objects can also live - inside the object hierarchy. Objects within the - hierarchy are identified with a unique name. On top - of these two features, the Zeitgeist library also - provides three very important 'built-in' services. - Each basic service is usually represented by a - 'server' class in our terminology. An instance of - such a class provides the service to other parts of - the system. The three services built into the - Zeitgeist library are the LogServer, the - FileServer, and the ScriptServer. -./lib/oxygen/ Oxygen is the actual engine which is used for the - simulation. It is implemented on top of the - Zeitgeist framework and provides a multitude of - different services to a client application. It - handles the physics aspect (PhysicsServer), the - geometry aspect (PhysicsServer) and the agent - aspect (AgentAspect, ControlAspect). Another - important part of this library is performing the - world simulation (SceneServer). -./lib/kerosin/ Kerosin handles the visualization aspect - (ImageServer, FontServer, OpenGLServer, - TextureServer, MaterialServer). The classes in the - library also provide basic interfaces for receiving - input in interactive simulations (InputServer) and - for playing sounds (SoundServer). Currently, it is - not used for the simulator. -./plugins/ directory containing plugins to extend the - simulator +./simspark The soccer simulator. +./rcssmonitor3d A simple monitor that displays agents connected to + the simulator. +./rcssagent3d A 'hello world' agent (does nothing very useful, + moves some parts of its body). +./plugin directory containing plugins to extend the + simulator with soccer related features +./data contains data files needed by the above applications -Known Problems: - - * if during linking the compiler complains that it cannot find - -lslang, set a symbolic link /usr/lib/libslang.so linking to /usr - /lib/libslang.so.1 - -Literature: - -[1] Marco Kögler and Oliver Obst. Simulation League: The Next Generation. - In Daniel Polani, Andrea Bonarini, Brett Browning, and Kazuo - Yoshida, editors, RoboCup 2003: Robot Soccer World Cup VII, - Lecture Notes in Artificial Intelligence, Springer, Berlin, - Heidelberg, New York, 2004. - -[2] Patrick Riley. MPADES: Middleware for Parallel Agent Discrete - Event Simulation. In Gal A. Kaminka, Pedro U. Lima, and Raul - Rojas, editors, RoboCup-2002: Robot Soccer World Cup VI, Lecture - Notes in Artificial Intelligence, pp. 162-178, Springer Verlag, - Berlin, 2003. - --------------------------------------------------------------------- Oliver Obst -Last modified: Mo Feb 12 16:27:09 CEST 2007 +Last modified: Thu Jan 29 00:51 IRDT 2009 (By Hedayat Vatankhah) Modified: trunk/rcssserver3d/data/rsg/agent/nao/naoneckhead.rsg =================================================================== --- trunk/rcssserver3d/data/rsg/agent/nao/naoneckhead.rsg 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/rcssserver3d/data/rsg/agent/nao/naoneckhead.rsg 2009-01-29 08:26:31 UTC (rev 38) @@ -91,9 +91,9 @@ (nd RestrictedVisionPerceptor (setViewCones 120 120) (setSenseMyPos false) - (setStaticSenseAxis false) + (setStaticSenseAxis false) (addNoise true) - (setInterval 3) + (setInterval 3) ) (nd ObjectState Modified: trunk/rsgedit/CMakeLists.txt =================================================================== --- trunk/rsgedit/CMakeLists.txt 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/rsgedit/CMakeLists.txt 2009-01-29 08:26:31 UTC (rev 38) @@ -9,13 +9,15 @@ find_package(wxWidgets REQUIRED gl base core adv) ########## add extra flags ########## -set(CMAKE_BUILD_TYPE Release CACHE STRING "Release or Debug build type") add_definitions(-DHAVE_CONFIG_H) include_directories(${CMAKE_BINARY_DIR}) if (UNIX) - set(CMAKE_CXX_FLAGS "-Wno-deprecated") - set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual") - set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG") + set(CMAKE_CXX_FLAGS "-Wno-deprecated" CACHE + STRING "Common C++ compiler flags" FORCE) + set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual" CACHE + STRING "C++ compiler flags for Debug builds" FORCE) + set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG" CACHE + STRING "C++ compiler flags for Release builds" FORCE) endif (UNIX) set(BINDIR "bin" CACHE PATH "The directory to install binaries into.") Modified: trunk/simspark-utilities/CMakeLists.txt =================================================================== --- trunk/simspark-utilities/CMakeLists.txt 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/simspark-utilities/CMakeLists.txt 2009-01-29 08:26:31 UTC (rev 38) @@ -9,12 +9,14 @@ find_package(Boost REQUIRED) ########## add extra flags ########## -set(CMAKE_BUILD_TYPE Debug CACHE STRING "Release or Debug build type") add_definitions(-DHAVE_CONFIG_H) if (UNIX) - set(CMAKE_CXX_FLAGS "-Wno-deprecated") - set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual") - set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG") + set(CMAKE_CXX_FLAGS "-Wno-deprecated" CACHE + STRING "Common C++ compiler flags" FORCE) + set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual" CACHE + STRING "C++ compiler flags for Debug builds" FORCE) + set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG" CACHE + STRING "C++ compiler flags for Release builds" FORCE) endif (UNIX) set(BINDIR "bin" CACHE PATH "The directory to install binaries into.") Modified: trunk/spark/CMakeLists.txt =================================================================== --- trunk/spark/CMakeLists.txt 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/spark/CMakeLists.txt 2009-01-29 08:26:31 UTC (rev 38) @@ -73,13 +73,15 @@ ########## add extra flags ########## -set(CMAKE_BUILD_TYPE Debug CACHE STRING "Release or Debug build type") add_definitions(-DHAVE_CONFIG_H) include_directories(${CMAKE_BINARY_DIR}) if (UNIX) - set(CMAKE_CXX_FLAGS "-Wno-deprecated") - set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual") - set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG") + set(CMAKE_CXX_FLAGS "-Wno-deprecated" CACHE + STRING "Common C++ compiler flags" FORCE) + set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -W -Wall -Woverloaded-virtual" CACHE + STRING "C++ compiler flags for Debug builds" FORCE) + set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG" CACHE + STRING "C++ compiler flags for Release builds" FORCE) endif (UNIX) set(BINDIR "bin" CACHE PATH "The directory to install binaries into.") Modified: trunk/spark/ChangeLog =================================================================== --- trunk/spark/ChangeLog 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/spark/ChangeLog 2009-01-29 08:26:31 UTC (rev 38) @@ -1,3 +1,11 @@ +2009-01-29 Hedayat Vatankhah <he...@gr...> + + * README: + - updated README file + + * INSTALL: + - added requirements + 2009-01-28 Hedayat Vatankhah <he...@gr...> * INSTALL: Modified: trunk/spark/INSTALL =================================================================== --- trunk/spark/INSTALL 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/spark/INSTALL 2009-01-29 08:26:31 UTC (rev 38) @@ -6,6 +6,24 @@ files, Visual Studio project files). You can generate build files using CMake command-line or GUI interfaces. +Requirements +============ +CMake version 2.6 or higher +Ruby 1.8 +Boost C++ Libraries +Open Dynamics Engine (ODE) +FreeType +Developer Image Library (DevIL) +OpenGL +SDL + +The following packages are optional: +wxWidgets: for inputwx plugin (e.g. required if you want to build rsgedit) +FMOD: to buid fmod sound system plugin +Latex (pdflatex): to generate developers manual +Doxygen: to generate API documentation + + Basic Installation Using CMake Command-line Interface ===================================================== 1. Unpack the distribution and change directory to the top level source tree. Modified: trunk/spark/README =================================================================== --- trunk/spark/README 2009-01-28 17:24:13 UTC (rev 37) +++ trunk/spark/README 2009-01-29 08:26:31 UTC (rev 38) @@ -0,0 +1,104 @@ +simspark library README + +Please see NEWS. + +General Information + +simspark is a physical simulation system. The primary purpose of +this system is to provide a *generic* simulator for different kinds +of simulations. In these simulations, agents can participate as +external processes. To create specific simulations, important parts +of the simulator are build as plugins that can be replaced for +different simulations. The plugins can be exchanged at runtime. +Things designed as plugins are for example parts of agents: agents +can be using different actuators or perceptors. Other plugins are +responsible for the simulator protocol or also for the rules of +specific simulations. +Simulations for this simulator can be constructed to a great part by +changing text files with no further recompilation. The basic simulator +concept was presented on the 2003 RoboCup Symposium in Padova [1]. + +If you installed simspark-0.x before, make sure to clean +the ~/.simspark/ directory prior to using the new version. Also +better remove the old installed libraries in /usr/local/lib/ +simspark manually. Sorry for this inconvenience. + +For scientific simulations, it is useful to be able to keep track of +the time used by different agents for thinking. A special plugin +makes it possible to use the simulator together with SPADES, a +middleware system for agent based simulations. SPADES was presented +on the 2002 RoboCup Symposium in Fukuoka [2] (SPADES itself is not +part of this package). + +Package Overview + +The different parts of this package are organized in different +directories as follows: + +./lib The main simulator parts as libraries. The + simulator consists of these parts: +./lib/salt This library provides a collection of useful + general purpose classes. It contains mostly + math-and system-related functionality, such as a 3D + Vector class, a Matrix class, a file I/O wrapper + and an abstraction for loading/accessing shared + libraries. +./lib/zeitgeist The Zeitgeist library provides two major features. + It implements a mechanism to work with class + objects in C++. A class object is just a factory of + class instances. In addition to this mechanism, it + also implements an object hierarchy. This hierarchy + is essentially a virtual file system, where the + 'directories' and 'files' are instances of C++ + classes. These two concepts are quite intertwined + with each other, as class objects can also live + inside the object hierarchy. Objects within the + hierarchy are identified with a unique name. On top + of these two features, the Zeitgeist library also + provides three very important 'built-in' services. + Each basic service is usually represented by a + 'server' class in our terminology. An instance of + such a class provides the service to other parts of + the system. The three services built into the + Zeitgeist library are the LogServer, the + FileServer, and the ScriptServer. +./lib/oxygen Oxygen is the actual engine which is used for the + simulation. It is implemented on top of the + Zeitgeist framework and provides a multitude of + different services to a client application. It + handles the physics aspect (PhysicsServer), the + geometry aspect (PhysicsServer) and the agent + aspect (AgentAspect, ControlAspect). Another + important part of this library is performing the + world simulation (SceneServer). +./lib/kerosin Kerosin handles the visualization aspect + (ImageServer, FontServer, OpenGLServer, + TextureServer, MaterialServer). The classes in the + library also provide basic interfaces for receiving + input in interactive simulations (InputServer) and + for playing sounds (SoundServer). Currently, it is + not used for the simulator. +./plugin directory containing plugins to extend the simulator +./data contains some common data files which can be used + for creating simulations using simspark +./test applications for testing different subsystems of the + simulator. + +Literature: + +[1] Marco Kögler and Oliver Obst. Simulation League: The Next Generation. + In Daniel Polani, Andrea Bonarini, Brett Browning, and Kazuo + Yoshida, editors, RoboCup 2003: Robot Soccer World Cup VII, + Lecture Notes in Artificial Intelligence, Springer, Berlin, + Heidelberg, New York, 2004. + +[2] Patrick Riley. MPADES: Middleware for Parallel Agent Discrete + Event Simulation. In Gal A. Kaminka, Pedro U. Lima, and Raul + Rojas, editors, RoboCup-2002: Robot Soccer World Cup VI, Lecture + Notes in Artificial Intelligence, pp. 162-178, Springer Verlag, + Berlin, 2003. + +--------------------------------------------------------------------- + +Oliver Obst +Last modified: Thu Jan 29 10:57 IRDT 2009 (By Hedayat Vatankhah) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |