Code Monkey home page Code Monkey logo

rcrs-server's Introduction

Robocup Rescue Simulation Server

(Linux) Instructions to download, build and run the RoboCup Rescue Simulator (RCRS)

Software Pre-Requisites

  • Git

  • OpenJDK Java 17

  • Gradle

Installation

Download project from GitHub

$ git clone [email protected]:roborescue/rcrs-server.git

Compile the project

$ cd rcrs-server

$ ./gradlew completeBuild

Execute the Rescue Simulation Server

Open a terminal window, navigate to the rcrs-server root directory and execute

$ cd scripts

$ ./start.sh -m ../maps/test/map -c ../maps/test/config

Tools

Map Editor

Open a terminal window, navigate to the rcrs-server root directory and execute

$ ./gradlew gmlEditor --args='<map file path>'

where --args=<map file path> is optional.

Example

./gradlew gmlEditor --args='maps/test/map/map.gml'

Scenario Editor

Open a terminal window, navigate to the rcrs-server root directory and execute

$ ./gradlew scenarioEditor --args='<scenario path>'

where --args=<scenario path> is optional.

Example

./gradlew scenarioEditor --args='maps/test/map'

Random Scenario

Open a terminal window, navigate to the rcrs-server root directory and execute

$ ./gradlew randomScenario --args="'<map path>' <options>"

where <map path> is the path to the map directory and <options> are the minimum and maximum value for each entity in the scenario. The <options> are optional.

Example

./gradlew randomScenario --args="'../maps/test/map' -civ 0 100 -fb 0 10 -fs 0 1 -pf 0 10 -po 0 1 -at 0 5 -ac 0 0 -refuge 0 2 -fire 0 0"

Log Viewer

Open a terminal window, navigate to the rcrs-server root directory and execute

$ ./gradlew logViewer --args="'-c' '<config file>' '<log path>'"

where <config file> is the path to the log viewer configuration file, default config/logviewer.cfg. The <log path> is the rescue log file path, default logs/log/rescue.log.

Example

./gradlew logViewer --args="'-c' 'config/logviewer.cfg' 'logs/log/rescue.log'"

osm2gml

Open a terminal window, navigate to the rcrs-server root directory and execute

$ ./gradlew osm2gml --args="'<osm map path>' '<gml map path>'"

The <osm map path> is the path to the OSM map file and the <gml map path> is the destination GML map path.

Example

./gradlew osm2gml --args="'/home/user/newmap.osm' '/home/user/newmap.gml'"

Support

To report a bug, suggest improvements or request support, please open an issue at GitHub https://github.com/roborescue/rcrs-server/issues.

rcrs-server's People

Contributors

camski avatar modaresimr avatar alim1369 avatar armanaxh avatar uiiaoo avatar gnardin avatar ffaraji avatar kandeh avatar okanasik avatar arminkz avatar amiraslanaslani avatar oscar-lima avatar pooria avatar tkmnet avatar salimm avatar taikusa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.