Index of /~jjb/web/BOD

Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] ABODE/ 2006-05-22 12:34 - [DIR] AgeS02/ 2005-12-20 14:46 - [TXT] bod-background.html 2007-08-21 11:45 3.0K [TXT] grammar-2Apr06.txt 2006-04-02 16:55 3.4K [TXT] BOD-developer.html 2013-11-03 15:35 4.1K [TXT] grammar.txt 2006-08-22 21:38 4.2K [TXT] grammar15May06.txt 2006-08-22 21:44 4.2K [TXT] abode.html 2013-08-04 17:26 5.5K [TXT] BOD-MASON-HOWTO.html 2007-08-21 11:45 5.7K [TXT] BOD-MASON.html 2008-04-24 11:25 6.7K [TXT] pyposh-UT.html 2008-09-08 22:38 8.7K [TXT] sheep-dog.html 2008-03-24 22:41 9.0K [TXT] abode bug-wish.html 2007-08-21 11:46 9.4K [TXT] jyPOSH_Installation...> 2008-07-28 10:31 14K [TXT] sposh.html 2008-04-01 15:40 24K [IMG] sheepdogJuly06.png 2006-07-30 17:35 44K [IMG] svn1.png 2008-05-01 01:11 48K [IMG] pydev-select2.png 2008-05-01 01:10 52K [IMG] pydev-select1.png 2008-05-01 01:10 59K [IMG] svn2.png 2008-05-01 01:11 80K [   ] lispBOD.zip 2005-08-15 12:55 150K [IMG] FrankBinns-Screensho..> 2008-03-24 22:36 264K [   ] TomHydeRobocupTeam.zip 2012-08-08 19:26 484K [   ] CTF-SimpleSteve.unr 2005-08-10 11:52 843K [   ] CTF-Simple2dt.unr 2005-07-19 09:40 849K [   ] jyposh.567.zip 2007-11-16 08:55 1.0M [   ] jyposh.640.zip 2008-03-24 22:36 1.0M [   ] jyposh.651.zip 2008-11-25 14:27 1.7M [   ] jyposh.648.tgz 2008-04-24 11:17 2.4M
jyposh directory README file Last Modified 22 April 2008

jyPOSH documentation

Behavior Oriented Design (BOD) is a way to develop AI systems.  It requires a modular behavior library in any OO language, and a version of POSH action selection for that language.  jyPOSH (formerly pyPOSH) is a version of POSH that runs in Python and Jython

Note on python:  if you are using python, you now need to use python 2.4 at least because of the logging.  However, note that to maintain compatability with jython, most features of even python 2.3 are not used.

Instructions for installing and using BOD and jyPOSH are on the web.  Please note that jyPOSH is open source & we are happy to have additional help with development (including of documentation).  Email us for access to our SVN repository.

Quickstart

There are two ways to use jyPOSH, either with a GUI or from the command line.  The command line is more powerful, in that it allows you to easily start multiple agents by specifying their parameters in an initialisation file.  The GUI just makes people happy.

To use any version of jyPOSH you need to add POSH/log4j-1.2.jar to your Java Classpath. Consult the documentation of your Java installation on how to do this.

To get the GUI, run jython jyposh.py.  You might be able to hack from there.  However, the most significant behavior libraries we distribute rely on other external software (e.g. the MASON simulation environment or Unreal Tournament) for creating the environment the BOD agents will run in.  There is one simple demo, the cookie demo, that is happy to run with just the OS as the environment (at least under linux, unix or mac OS X).

launch.py contains code that will run an agent without using the GUI.  If you are running under python instead of jython you must use this.  All of the options that could be set in the GUI are also easily set in an init_agent text file, which may be passed to launch.py as an option. 

Run either python launch.py --help or  jython launch.py --help for instructions, depending which language you want to use.

Green backgrounded text indicates files that only matter if you are going to be using a MASON behavior library.  MASON is an agent-based modelling toolkit.  To use MASON, you need to set the Java CLASSPATH to include platform_files/MASON/mason.jar. Also, you must consult platform_files/MASON/README before using MASON for the first time.

Files (in this folder)

Directories

Boldface indicates directories that have code you will edit if you create your own agents.

Behaviour Libraries

A single behaviour library can support many different agents on a single platform.  The individual agents are defined by their POSH scripts, which are found in a subdirectory called plans.  When using launch.py, you can set the number and parameters of agents you run by editing the init_agent script in that library's directory (or that you pass to launch.py as an argument).

Boldface indicates recommended libraries.  Documentation for these can be found linked on the AmonI Software Page.

Other Documentation



page authors: Joanna Bryson, Jan Drugowitsch