Giter Club home page Giter Club logo

mapc2019's Introduction

Group 3 RHBP workspace

This repository is based on the mapc_rhbp_example repo. Requirements: python 2.7 numpy matplotlib

Usage:

  1. Setup mapc_workspace as instructed in this repository
  2. clone this repo as rhbp_workspace into the src directory
    cd mapc_workspace/src
    git clone https://gitlab.tubit.tu-berlin.de/aaip-ss19/group3 rhbp_workspace
    
  3. run catkin_make
    cd ../
    catkin_make
    source devel/setup.bash
    
  4. Navigate to src folder in rhbp_workspace and run the massim server and then run the package in a different terminal as
    roslaunch rhbp_workspace rhbp_agents_all.launch
    
  5. To run map, navigate to folder where roslaunch runs (will be displayed on screen) /map
    python plot.py
    

Server setup

For quick visualisation, it is better to have only one team in the map.

  1. Go to server config:

    cd mapc_workspace/third-party/massim/server/conf
    
  2. Change SampleConfig2.json:

    "teams" : {
        "A" : "$(teams/A.json)",
        "B" : "$(teams/B.json)"
    }
    

    to

     "teams" : {
        "A" : "$(teams/A.json)"
        }
    
  3. And in server/server.json change teamsPerMatch to

    "teamsPerMatch" : 1,
    

To have only a single agent per team

  1. In SampleCongif2.json change the entities line to:
    "entities" : [{"standard" : 1}],
    
  2. And comment out the laucher for agents 2 - 10 in rhbp_workspace/launch/rhbp_agents_full.launch

Contibuting

To include your changes to the repo, create a local branch with your name

cd mapc_workspace/src/rhbp_workspace
git checkout -b <Name>
git commit -m"Message"
git push origin <Name>

Follow this convention for commit messages.
Write the summary line and description of what you have done in the imperative mood,
that is as if you were commanding someone. Start the line with "Fix", "Add", "Change"
instead of "Fixed", "Added", "Changed".

mapc2019's People

Contributors

ksb1217 avatar cehberlin avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar K.S.Bharathwaj 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.