This repository is based on the mapc_rhbp_example repo. Requirements: python 2.7 numpy matplotlib
Usage:
- Setup mapc_workspace as instructed in this repository
- 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
- run catkin_make
cd ../ catkin_make source devel/setup.bash
- 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
- To run map, navigate to folder where roslaunch runs (will be displayed on screen) /map
python plot.py
-
Go to server config:
cd mapc_workspace/third-party/massim/server/conf
-
Change SampleConfig2.json:
"teams" : { "A" : "$(teams/A.json)", "B" : "$(teams/B.json)" }
to
"teams" : { "A" : "$(teams/A.json)" }
-
And in server/server.json change teamsPerMatch to
"teamsPerMatch" : 1,
- In SampleCongif2.json change the entities line to:
"entities" : [{"standard" : 1}],
- And comment out the laucher for agents 2 - 10 in rhbp_workspace/launch/rhbp_agents_full.launch
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".