Code Monkey home page Code Monkey logo

rcrs-core-python's Introduction

This is the python core source code, this is a library that should not be changed, to develop your python agents please checkout this repository https://github.com/roborescue/rcrs-sample-agent-python which imports the python core libs

If you want to run the python core follow the following steps:

Install prerequisites using the following commands: sudo apt install python3-pip sudo apt-get install -y python3-rtree sudo pip install --upgrade protobuf

Run server: https://github.com/roborescue/rcrs-server cd rcrs-server/scripts ./start.sh -m ../maps/test/map -c ../maps/test/config

Run python core: https://github.com/roborescue/rcrs-core-python/tree/develop cd rcrs-core-python python3 launcher.py -fb -1 -pf -1 -at -1

-fb {number of Firebrigade agents (-1 to run all)} -fs {number of FireStation agents (-1 to run all)} -pf {number of PoliceForce agents (-1 to run all)} -po {number of PoliceOffice agents (-1 to run all)} -at {number of AmbulanceTeam agents (-1 to run all)} -ac {number of AmbulanceCenter agents (-1 to run all)} -pre {precompute flag. default is false} -p {RCRS server port number} -h {RCRS server host IP}

rcrs-core-python's People

Contributors

ffaraji avatar dina-helal avatar armanaxh avatar gnardin avatar

Stargazers

 avatar Jaebak Hwang avatar Minjae Jung avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar

rcrs-core-python's Issues

Zombie Process

I have seen that in your code you have watched KeyboardInterupt and then just exist from the process.
It will kill the parent process only and may create some zombie process.
I think that you can terminate all the processes by receiving the KerboardInterupt

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.