Project: engagement_test

License: BSD

Dependencies:

Used by: None

All Packages

edu::wpi::hri::ros::testing::demo::Demo Class Reference

List of all members.

Static Public Member Functions

static void main (String[] args) throws IOException

Package Functions

void sendGeneration (String contents)
void sendRealizer (String contents)
void shutdown ()

Package Attributes

final String generationSamples
final String realizerSamples

Private Member Functions

 Demo (NodeHandle handle) throws IOException
String getFolder (String pkg) throws IOException

Private Attributes

final ServiceClient
< BMLRealization.Request,
BMLRealization.Response,
BMLRealization
bmlSrv
final ServiceClient
< TurnFragment.Request,
TurnFragment.Response,
TurnFragment
genSrv

Detailed Description

The Demo node can send sample input to generation and the realizer nodes. The samples are read in by finding the sample folders and retrieving the list of xml in those directories.

Author:
Aaron Holroyd (aholroyd (at) wpi (dot) edu)

Definition at line 51 of file Demo.java.


Constructor & Destructor Documentation

edu::wpi::hri::ros::testing::demo::Demo::Demo ( NodeHandle  handle  )  throws IOException [inline, private]

Definition at line 58 of file Demo.java.


Member Function Documentation

String edu::wpi::hri::ros::testing::demo::Demo::getFolder ( String  pkg  )  throws IOException [inline, private]

Definition at line 67 of file Demo.java.

static void edu::wpi::hri::ros::testing::demo::Demo::main ( String[]  args  )  throws IOException [inline, static]

The main entry point for the demo node.

Parameters:
args The standard ROS arguments.
Exceptions:
IOException if files can not be opened or etc.

Definition at line 129 of file Demo.java.

void edu::wpi::hri::ros::testing::demo::Demo::sendGeneration ( String  contents  )  [inline, package]

Send the contents of the given string to the generation node.

Parameters:
contents The EBML to send to generation.

Definition at line 107 of file Demo.java.

void edu::wpi::hri::ros::testing::demo::Demo::sendRealizer ( String  contents  )  [inline, package]

Send the contents of the given string to the realizer node.

Parameters:
contents The BML to send to the realizer.

Definition at line 88 of file Demo.java.

void edu::wpi::hri::ros::testing::demo::Demo::shutdown (  )  [inline, package]

Shutdown the demo node and the clients to the two nodes.

Definition at line 77 of file Demo.java.


Member Data Documentation

final ServiceClient<BMLRealization.Request, BMLRealization.Response, BMLRealization> edu::wpi::hri::ros::testing::demo::Demo::bmlSrv [private]

Definition at line 55 of file Demo.java.

Definition at line 53 of file Demo.java.

final ServiceClient<TurnFragment.Request, TurnFragment.Response, TurnFragment> edu::wpi::hri::ros::testing::demo::Demo::genSrv [private]

Definition at line 56 of file Demo.java.

Definition at line 54 of file Demo.java.


The documentation for this class was generated from the following file:
  • engagement_test/src/edu/wpi/hri/ros/testing/demo/Demo.java

engagement_test
Author(s): Aaron Holroyd (aholroyd (at) wpi (dot) edu), Brett Ponsler (bponsler (at) wpi (dot) edu)
autogenerated on Fri Sep 9 10:35:37 2011