introduction to psyclone n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Introduction to Psyclone PowerPoint Presentation
Download Presentation
Introduction to Psyclone

Loading in 2 Seconds...

play fullscreen
1 / 10

Introduction to Psyclone - PowerPoint PPT Presentation


  • 97 Views
  • Uploaded on

Introduction to Psyclone. Gudny R Jonsdottir Center for Analysis & Design of Intelligent Agents Reykjavik University. Psyclone. A platform for building hybrid modular, distributed systems Middleware for message passing

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Introduction to Psyclone' - edana


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
introduction to psyclone
Introduction to Psyclone

Gudny R Jonsdottir

Center for Analysis & Design of Intelligent Agents

Reykjavik University

psyclone
Psyclone

A platform for building hybrid modular, distributed systems

Middleware for message passing

Mediated publish-subscribe communication with direct module-to-module interaction support

Manual & automatic retrieve of old messages

psyclone1
Psyclone

Bridges platforms and programming languages

Different operating systems

Different programming languages

C++, Java and C# now; more in the future

Distributed (multiple computer) module execution

psyclone2
Psyclone

Explicit modularity through whiteboards

Semantic message- and stream-based data exchange model

Message content: text, xml, …

Stream content: audio, video, …

psyclone messages
Psyclone messages

Message types (subject)

Dot-delimited strings, where each segment indicates a node in a tree/graph

From most general to most specific

Input.Perc.MulM.Interp.Person.LookingAt.Object

Output.Plan.Task

Output.Plan.Task.InProgress

Output.Plan.Task.Done

Output.Plan.Act.InProgress

Message body

Text, preferrably XML

the psyspec
The psySpec

Central management of system configuration

Whiteboard declaration

Module declaration

psyprobe
PsyProbe

Web-based monitoring of system at run-time with host:port in web browser

Manual messages for debugging purposes

contexts and phases
Contexts and Phases

Contexts = global states

Psylone.System.Ready

DiP.Off

DiP.On.I-have-turn

DiP.On.Other-has-turn

Phases = module-specific states

Module Starting up

Module Ready

Module working on .....

Messages specified for each context & phase

airplugs
AIRPlugs

Code libraries that implement the OpenAIR message and routing protocol

Easily added to new or existing applications

public class PlugExample {

JavaAIRPlug m_plug;

public PlugExample(String p_name, String p_host, int p_port) {

m_plug = new JavaAIRPlug(p_name,p_host,p_port);

if( !m_plug.init() )

{

System.out.println( p_name + ": Could not connect to the Server on " + p_host + " on port " + p_port + "..." );

System.exit( -1 );

}

System.out.println( p_name + ": connected to server on " + p_host + " on port " + p_port + "..." );

m_plug.postMessage("WBPerception","RU.S1.Internal.Perception.OutOfAir","","English","");

}

*AirPlugs are available for Java, C++, C#

preperations for project 1
Preperations for Project 1

Gola cluster: 192.168.101.1-9

We will use 5 and 6

Use Putty.exe to connect to gola

Running psyclone

psyclone spec=bla.xml port=10001-n