(Linux) Instructions to download, build and run the RoboCup Rescue Simulator (RCRS)
$ git clone [email protected]:roborescue/rcrs-server.gitOpen a terminal window, navigate to the root directory and executercrs-server
$ ./gradlew gmlEditor --args='<map file path>'where is optional.--args=<map file path>
Open a terminal window, navigate to the root directory and executercrs-server
$ ./gradlew scenarioEditor --args='<scenario path>'where is optional.--args=<scenario path>
Open a terminal window, navigate to the root directory and executercrs-server
$ ./gradlew randomScenario --args="'<map path>' <options>"where is the path to the map directory and <map path> are the minimum and maximum value for each entity in the scenario. The <options> are optional.<options>
Open a terminal window, navigate to the root directory and executercrs-server
$ ./gradlew logViewer --args="'-c' '<config file>' '<log path>'"where is the path to the log viewer configuration file, default <config file>. The config/logviewer.cfg is the rescue log file path, default <log path>.logs/log/rescue.log
Open a terminal window, navigate to the root directory and executercrs-server
$ ./gradlew osm2gml --args="'<osm map path>' '<gml map path>'"The is the path to the OSM map file and the <osm map path> is the destination GML map path.<gml map path>
If the scenario have many agents, the agents connection to the server may slow down at certain moment. To overcome this issue, you should
-
Install the
rng-toolspackage -
Edit the ` /etc/defaults/rng-tools` and add the line
HRNGDEVICE=/dev/urandom -
Start the rng daemon
/etc/init.d/rng-tools start
|
Important
|
This instructions are valid for Ubuntu. The package name and initialization commands may change on other distributions. |
To report a bug, suggest improvements or request support, please open an issue at GitHub https://github.com/roborescue/rcrs-server/issues.