All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes | Static Package Functions | Package Attributes | Static Package Attributes
edu.tum.cs.ias.knowrob.map.PosesToOWL Class Reference

List of all members.

Public Member Functions

OWLOntology buildOWLDescription (String filename)
 PosesToOWL ()

Static Public Member Functions

static void main (String[] args)
static boolean saveOntologyToFile (OWLOntology ontology, String file)
static boolean saveOntologyToFile (OWLOntology ontology, String file, OWLOntologyFormat format)
static boolean saveOntologyToStream (OWLOntology ontology, OutputStream stream, OWLOntologyFormat format)
static String saveOntologytoString (OWLOntology ontology, OWLOntologyFormat format)

Static Public Attributes

static final String IAS_MAP = "http://ias.cs.tum.edu/kb/ccrl2_semantic_map_addons.owl#"
static final String KNOWROB = "http://ias.cs.tum.edu/kb/knowrob.owl#"
static final String OWL = "http://www.w3.org/2002/07/owl#"
static final DefaultPrefixManager PREFIX_MANAGER = new DefaultPrefixManager(IAS_MAP)
static final String RDFS = "http://www.w3.org/2000/01/rdf-schema#"

Protected Member Functions

OWLNamedIndividual createPerceptionInst (OWLNamedIndividual obj_inst, OWLNamedIndividual pose_inst, OWLNamedIndividual timestamp, OWLOntology ontology)
void createPointDescription (String objname, double[] matrix, OWLNamedIndividual timestamp, OWLOntology ontology)
OWLNamedIndividual createPointInst (OWLOntology ontology)
OWLNamedIndividual createPoseInst (double[] ros_obj, OWLOntology ontology)
OWLNamedIndividual createTimePointInst (ros.communication.Time stamp, OWLOntology ontology)
OWLNamedIndividual createTrajInst (OWLOntology ontology)
String instForClass (String cl)

Static Protected Member Functions

static void initRos (String node_name)
static double[] quaternionToMatrix (Point p, Quaternion q)

Static Protected Attributes

static final HashMap< String,
String > 
rosToKnowrob = new HashMap<String, String>()

Static Package Functions

 [static initializer]
 [static initializer]

Package Attributes

OWLDataFactory factory
int inst_counter = 150
OWLOntologyManager manager
DefaultPrefixManager pm
HashMap< String, ArrayList
< OWLNamedIndividual > > 
pointsInTrajectories

Static Package Attributes

static NodeHandle n
static Ros ros
static Boolean rosInitialized = false

Detailed Description

Definition at line 28 of file PosesToOWL.java.


Constructor & Destructor Documentation

Constructor. Advertises the needed ROS services.

Parameters:
rosreference to rosjava
nthe node handle
Exceptions:
RosExceptionif advertising ROS services failed

Definition at line 117 of file PosesToOWL.java.


Member Function Documentation

edu.tum.cs.ias.knowrob.map.PosesToOWL.[static initializer] ( ) [inline, static, package]
edu.tum.cs.ias.knowrob.map.PosesToOWL.[static initializer] ( ) [inline, static, package]
OWLOntology edu.tum.cs.ias.knowrob.map.PosesToOWL.buildOWLDescription ( String  filename) [inline]
Parameters:
ros_map
Returns:

Definition at line 131 of file PosesToOWL.java.

OWLNamedIndividual edu.tum.cs.ias.knowrob.map.PosesToOWL.createPerceptionInst ( OWLNamedIndividual  obj_inst,
OWLNamedIndividual  pose_inst,
OWLNamedIndividual  timestamp,
OWLOntology  ontology 
) [inline, protected]

Definition at line 322 of file PosesToOWL.java.

void edu.tum.cs.ias.knowrob.map.PosesToOWL.createPointDescription ( String  objname,
double[]  matrix,
OWLNamedIndividual  timestamp,
OWLOntology  ontology 
) [inline, protected]

Definition at line 243 of file PosesToOWL.java.

OWLNamedIndividual edu.tum.cs.ias.knowrob.map.PosesToOWL.createPointInst ( OWLOntology  ontology) [inline, protected]

Definition at line 272 of file PosesToOWL.java.

OWLNamedIndividual edu.tum.cs.ias.knowrob.map.PosesToOWL.createPoseInst ( double[]  ros_obj,
OWLOntology  ontology 
) [inline, protected]

Definition at line 297 of file PosesToOWL.java.

OWLNamedIndividual edu.tum.cs.ias.knowrob.map.PosesToOWL.createTimePointInst ( ros.communication.Time  stamp,
OWLOntology  ontology 
) [inline, protected]

Definition at line 261 of file PosesToOWL.java.

OWLNamedIndividual edu.tum.cs.ias.knowrob.map.PosesToOWL.createTrajInst ( OWLOntology  ontology) [inline, protected]

Definition at line 284 of file PosesToOWL.java.

static void edu.tum.cs.ias.knowrob.map.PosesToOWL.initRos ( String  node_name) [inline, static, protected]

Initialize the ROS environment if it has not yet been initialized

Parameters:
node_nameA unique node name

Definition at line 100 of file PosesToOWL.java.

String edu.tum.cs.ias.knowrob.map.PosesToOWL.instForClass ( String  cl) [inline, protected]

Definition at line 351 of file PosesToOWL.java.

static void edu.tum.cs.ias.knowrob.map.PosesToOWL.main ( String[]  args) [inline, static]

Definition at line 566 of file PosesToOWL.java.

static double [] edu.tum.cs.ias.knowrob.map.PosesToOWL.quaternionToMatrix ( Point  p,
Quaternion  q 
) [inline, static, protected]

Definition at line 357 of file PosesToOWL.java.

static boolean edu.tum.cs.ias.knowrob.map.PosesToOWL.saveOntologyToFile ( OWLOntology  ontology,
String  file 
) [inline, static]

Saves an OWL ontology to a file.

Parameters:
ontologyontology to be saved
filename of target file
Returns:
true - if saving was successfully completed
false - otherwise

Definition at line 488 of file PosesToOWL.java.

static boolean edu.tum.cs.ias.knowrob.map.PosesToOWL.saveOntologyToFile ( OWLOntology  ontology,
String  file,
OWLOntologyFormat  format 
) [inline, static]

Saves an OWL ontology to a file in a given ontology format.

Parameters:
ontologyontology to be saved
filename of target file
formatdesired ontology format (
See also:
OWLOntologyFormat)
Returns:
true - if saving was successfully completed
false - otherwise

Definition at line 512 of file PosesToOWL.java.

static boolean edu.tum.cs.ias.knowrob.map.PosesToOWL.saveOntologyToStream ( OWLOntology  ontology,
OutputStream  stream,
OWLOntologyFormat  format 
) [inline, static]

Saves an OWL ontology to an output stream in a given ontology format.

Parameters:
ontologyontology to be saved
streamoutput stream
formatdesired ontology format (
See also:
OWLOntologyFormat)
Returns:
true - if saving was successfully completed
false - otherwise

Definition at line 412 of file PosesToOWL.java.

static String edu.tum.cs.ias.knowrob.map.PosesToOWL.saveOntologytoString ( OWLOntology  ontology,
OWLOntologyFormat  format 
) [inline, static]

Saves an OWL ontology to a String object.

Parameters:
ontologyontology to be saved
formatdesired ontology format (
See also:
OWLOntologyFormat)
Returns:
String object containing the string representation of the ontology

Definition at line 462 of file PosesToOWL.java.


Member Data Documentation

Definition at line 79 of file PosesToOWL.java.

final String edu.tum.cs.ias.knowrob.map.PosesToOWL.IAS_MAP = "http://ias.cs.tum.edu/kb/ccrl2_semantic_map_addons.owl#" [static]

Definition at line 45 of file PosesToOWL.java.

Definition at line 83 of file PosesToOWL.java.

final String edu.tum.cs.ias.knowrob.map.PosesToOWL.KNOWROB = "http://ias.cs.tum.edu/kb/knowrob.owl#" [static]

Definition at line 36 of file PosesToOWL.java.

OWLOntologyManager edu.tum.cs.ias.knowrob.map.PosesToOWL.manager [package]

Definition at line 80 of file PosesToOWL.java.

NodeHandle edu.tum.cs.ias.knowrob.map.PosesToOWL.n [static, package]

Definition at line 90 of file PosesToOWL.java.

final String edu.tum.cs.ias.knowrob.map.PosesToOWL.OWL = "http://www.w3.org/2002/07/owl#" [static]

Definition at line 39 of file PosesToOWL.java.

DefaultPrefixManager edu.tum.cs.ias.knowrob.map.PosesToOWL.pm [package]

Definition at line 81 of file PosesToOWL.java.

HashMap<String, ArrayList<OWLNamedIndividual> > edu.tum.cs.ias.knowrob.map.PosesToOWL.pointsInTrajectories [package]

Definition at line 77 of file PosesToOWL.java.

final DefaultPrefixManager edu.tum.cs.ias.knowrob.map.PosesToOWL.PREFIX_MANAGER = new DefaultPrefixManager(IAS_MAP) [static]

Definition at line 49 of file PosesToOWL.java.

final String edu.tum.cs.ias.knowrob.map.PosesToOWL.RDFS = "http://www.w3.org/2000/01/rdf-schema#" [static]

Definition at line 42 of file PosesToOWL.java.

Definition at line 89 of file PosesToOWL.java.

Boolean edu.tum.cs.ias.knowrob.map.PosesToOWL.rosInitialized = false [static, package]

Definition at line 88 of file PosesToOWL.java.

final HashMap<String, String> edu.tum.cs.ias.knowrob.map.PosesToOWL.rosToKnowrob = new HashMap<String, String>() [static, protected]

Definition at line 58 of file PosesToOWL.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


mod_semantic_map
Author(s): Moritz Tenorth
autogenerated on Thu May 23 2013 08:54:30