Difference between revisions of "Downloading Agilla"

From Cyber-Physical Systems Laboratory
Jump to navigationJump to search
(Removing all content from page)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
Agilla source code is distributed as a [http://searchenterpriselinux.techtarget.com/sDefinition/0,,sid39_gci821048,00.html tarball].  This page contains a list of releases that are available.  For installation instructions, see [[Agilla Tutorial Lesson 1|lesson 1]] of the [[Agilla Tutorial|tutorial]].
 
  
== Version 3.0.3 ==
 
* Release date: 05-13-2007
 
* Download
 
Changes:
 
# Added #if statements around cc2420-specific code
 
# Modified the AgentInjector to check whether clustering is enabled before it resets the LocationMgr
 
# Modified some default settings to use relative paths for portability.
 
 
== Version 3.0.2 ==
 
* Release date: 05-22-2006
 
* Download
 
 
Changes:
 
# Added Ex_Makefile.Agilla.
 
# Updated the README to describe the flags in it
 
 
== Version 3.0.1 ==
 
* Release date: 05-16-2006
 
* Download
 
 
Changes:
 
# A bug fix that rectifies the "QUEUE_ENQUEUE" error that sometimes occurs when there are numerous agents in the network.
 
 
== Version 3.0 ==
 
* Release date: 05-14-2006
 
* Download
 
 
Changes:
 
# Added support for TelosB platform
 
# Allow the user to disable the grid topology filter and greedy routing
 
# The Java Makefile now assumes an $AGILLA environment variable that specifies the root directory of Agilla's NesC code. The default value of this variable is $TOSROOT/contrib/wustl/apps/Agilla/.
 
 
== Version 2.2 ==
 
* Release date: 07-14-2005
 
* Download
 
 
Changes:
 
# Reduced memory usage to avoid stack overflow when large agents are injected.
 
 
== Version 2.1 ==
 
* Release date: 05-25-2005
 
* Download
 
 
Changes:
 
# Fixed a bug that prevented a mote from moving more than once.
 
# Changes the "reset all" function to only reset nodes that are reachable from the base station that broadcasted the reset message.
 
 
== Version 2.0 ==
 
* Release datea: 05-17-2005
 
* Download
 
 
Changes:
 
# The grid size can be changed using the AgentInjector (you no longer have to reprogram all the motes to change the grid size)
 
# When specifying the grid size, you only specify the number of columns (you no longer need to specify the number of rows). The node’s TinyOS address still determines the mote’s location. Mote 0 is at (1,1) located at the lower-left corner of the grid. TinyOS address’s increase in row major order.
 
# A mote’s location can be changed using the AgentInjector (you no longer need to reprogram the mote to change its address/location). The original ID of the mote is always used to specify which mote to modify, e.g., “move mote 1 to location (2,3).”
 
# The AgentInjector enters a modal state for ~3 seconds after a reset to allow the network components to reinitialize themselves. This is especially critical now that I’m sending the base station a message immediately after it resets telling it that it is a base station.
 
# The nodes periodically broadcast a beacon, neighbor discovery is done by each node
 
# The base station can be any node in the network. It no longer has a special address. There can be multiple base stations. Base stations can also move, their location is set like any other node using the AgentInjector.
 
# Since the location of a base station is no longer known by the non-base station nodes, Agilla no longer performs multi-hop routing to (uart_x, uart_y). Only the base station can perform a remote tuple space operation to (uart_x, uart_y). It is now up to the application to route messages to the base station. If an agent knows the location of the base station, Agilla can still perform the greedy multi-hop routing to it.
 
 
== Version 1.6 ==
 
* Release date: 03-30-2005
 
* Download
 
Changes:
 
 
# Fixed a bug in OPcompare preventing comparisons between variables of two different types. Now, whenever you try to compare two variables of different types, the condition code will always be set to 0.
 
 
Known issues:
 
# Linux's timing seems to be different from Windows resulting in agents being corrupted when injected. To solve this, open <agilla>/types/MigrationMsgs.h, uncomment lines 63-66, and comment out lines 77-84.
 
   
 
== Version 1.5 ==
 
* Release date: 03-24-2005
 
* Download
 
Changes:
 
# Fixed a bug preventing agents in the WSN from inserting tuples into the laptop's tuple space. Added an Oscilloscope example to demonstrate how a Java application running on the laptop can access the laptop's tuple space.
 
 
== Version 1.4 ==
 
* Release date: 03-23-2005
 
* Download
 
Changes:
 
# Fixed the tuple space and modified assembler to report line numbers in errors.
 
 
== Version 1.3 ==
 
* Release date: 03-21-2005
 
* Download
 
Changes:
 
# Removes instruction shiftl and shiftr and replaces them with mul (multiply) and div (divide). Agents can perform operations on the laptop's tuple space by using location (uart_x, uart_y).
 
 
Known Issues:
 
# The RMI code for allowing remote access to the laptop's tuple space has not been implemented yet.
 
 
== Version 1.2 ==
 
* Release date: 11-30-2004
 
* Download
 
 
Note: This is the version used to write the IPSN 2005 SPOTS paper.
 
 
Known Issues:
 
# The PC can access the tuple space on mote (0,0), but there is no clean interface for this yet. The PC cannot register reactions. The agents on the laptop cannot register reactions on tuple spaces within the WSN.
 
 
== Downloading Pre-Packaged Versions of Agilla ==
 
 
Click [[Agilla Releases|here]] to download a tarball containing Agilla's source code.  Once you have downloaded it, you need to extract the source code.  By default, the tarball should be extracted to /opt/tinyos-1.x.
 
 
 
 
== Downloading Agilla via CVS ==
 
 
The latest version of Agilla can be downloaded using CVS. It is available through the TinyOS CVS repository located on Sourceforge. Instructions for accessing TinyOS's CVS repository are available here. Checkout module tinyos-1.x/contrib/wustl using the following command:
 
 
$ cvs -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos login
 
$ cvs -z3 -d:pserver:anonymous@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co \
 
  -P tinyos-1.x/contrib/wustl
 
 
If you are TinyOS developer, you can download it using:
 
 
$ export CVS_RSH=ssh
 
$ cvs -z3 -d:ext:developername@tinyos.cvs.sourceforge.net:/cvsroot/tinyos co \
 
  -P tinyos-1.x/contrib/wustl
 
 
See [[Agilla Tutorial 1|Tutorial 1]] for more details on how to install Agilla.
 
 
== Demo Releases ==
 
 
    * IPSN SPOTS 2005 - NesC, Java
 
 
== Remote Injection using RMI ==
 
 
RMI is used to remotely inject agents into the sensor network. To do this, you need to install this java policy file in /opt/tinyos-1.x/contrib/wustl/tools/java. See the tutorial on how to remote inject agents via RMI.
 
 
== Useful Text Editing Tools ==
 
 
For Windows users, I recommend using TextPad to edit NesC and Mobile Agent files. Here are the color-syntax configurations for NesC and Agilla Agent files:
 
 
    * NesC
 
    * Mobile Agent
 
 
Install them in <Program Files>\TextPad 4\system.
 
If you are using Linux, I recommend gEdit. Here are the syntax files:
 
 
    * NesC
 
    * Mobile Agent
 
 
Install them in /usr/share/gtksourceview-1.0/language-specs/
 

Latest revision as of 20:51, 7 April 2008