This repository stores the team project for the Multiagent and Agent Systems course (Winter Semester 2014) at HBRS.
#In order to run this project Please make sure you read this file before running the project.
- Make sure the JADE environment variables are correctly set. This would of course imply that JAVA is also running correctly.
- EG. Your .bashrc file should containg something similar to:
- export JADE_LIB=/home/JohnyCash/JADE/jade/lib
- export CLASSPATH='.:${JADE_LIB}/jade.jar:{JADE_LIB}/commons-codec/commons-codec-1.3.jar:{JADE_LIB}/jadeExamples.jar:/home/JohnyCash/JADE/jade/classes'
NOTE: If this is the case, you should be able to open a terminal in any location and correctly run: java jade.Boot -gui 2. From a terminal, run the dna_maas_2014ws.sh: ./dna_maas_2014ws.sh 3. The JADE gui should open.
#Communication Tests
##Shelf Test
- Write click on the Main Container and select "Start New Agent".
- Create an agent of class shelf.SimPickerAgent. Give it any name.
- Create an agent (or several) of the class shelf.ShelfAgent. Give it any name.
- Look at the console:
- Right now, requests are fixed. The Picker asks periodically for an amount of some specific piece. The Shelves that have such piece answer. The amount decreases in the Shelf's inventory.
##Robot Test
- Write click on the Main Container and select "Start New Agent".
- Create an agent of class station.PickerAgent. Give it any name.
- Create an agent (or several) of class station.RobotAgent. Give it any name.
- Right now, requests are fixed. The Picker asks periodically for active robots. Active robots answer with their current location (x, y).