Classes | Static Public Member Functions | Static Protected Member Functions | Static Package Attributes | Static Private Member Functions
roboearth.wp5.REClients Class Reference

List of all members.

Classes

class  SparqlReader

Static Public Member Functions

static String downloadEnvironmentMapFrom (String url, String robotUID, ArrayList< String > outFilenames) throws IOException, ParserConfigurationException, SAXException
static String downloadEnvironmentMapFrom (String url, ArrayList< String > outFilenames) throws IOException, ParserConfigurationException, SAXException
static String downloadModelFrom (String url) throws IOException, ParserConfigurationException, SAXException
static String downloadRecipeFrom (String url) throws IOException, ParserConfigurationException, SAXException
static boolean exportCopModel (int obj_id)
static void publishObjectAsSeenObject (Publisher< ros.pkg.re_msgs.msg.SeenObject > pub, String name, float time, String[] pose)
static void publishObjectAsSeenObject (Publisher< ros.pkg.re_msgs.msg.SeenObject > pub, String name, float time, float[] pose)
static String[] requestActionRecipeFor (String command) throws IOException, ParserConfigurationException, SAXException
static boolean requestCopModel (String object_name)
static String[] requestEnvironmentMapFor (String[][] roomQuery) throws IOException, ParserConfigurationException, SAXException
static String[] requestModelFor (String objclass) throws IOException, ParserConfigurationException, SAXException
static void resetDBcontent ()
static Publisher
< ros.pkg.re_msgs.msg.SeenObject
startObjPublisher ()
static void stopObjPublisher (Publisher< ros.pkg.re_msgs.msg.SeenObject > pub)
static void submitActionRecipe (String owl_filename, String id, String cls, String description)
static void submitMap (String owl_filename, String id, String cls, String description)
static void submitObject (String owl_filename, String id, String cls, String description)
static void updateActionRecipe (String owl_filename, String id, String description)
static void updateMap (String owl_filename, String id, String description)
static boolean updateObjectModels (String[] filenames)
static void updateObjectOWL (String owl_filename, String uid, String description)
static boolean updateVslamMaps (String map_url)

Static Protected Member Functions

static void initRos ()

Static Package Attributes

static final String API_KEY = "6e6574726f6d40b699e442ebdca5850e7cb7486679768aec3c70"
static NodeHandle n
static Ros ros
static Boolean rosInitialized = false

Static Private Member Functions

static String readOWLtoString (String owl_filename)

Detailed Description

Definition at line 96 of file REClients.java.


Member Function Documentation

static String roboearth.wp5.REClients.downloadEnvironmentMapFrom ( String  url,
String  robotUID,
ArrayList< String >  outFilenames 
) throws IOException, ParserConfigurationException, SAXException [inline, static]

Definition at line 337 of file REClients.java.

static String roboearth.wp5.REClients.downloadEnvironmentMapFrom ( String  url,
ArrayList< String >  outFilenames 
) throws IOException, ParserConfigurationException, SAXException [inline, static]

Definition at line 428 of file REClients.java.

static String roboearth.wp5.REClients.downloadModelFrom ( String  url) throws IOException, ParserConfigurationException, SAXException [inline, static]

Definition at line 168 of file REClients.java.

static String roboearth.wp5.REClients.downloadRecipeFrom ( String  url) throws IOException, ParserConfigurationException, SAXException [inline, static]

Definition at line 248 of file REClients.java.

static boolean roboearth.wp5.REClients.exportCopModel ( int  obj_id) [inline, static]
Parameters:
obj_id
Returns:

Definition at line 666 of file REClients.java.

static void roboearth.wp5.REClients.initRos ( ) [inline, static, protected]

Thread-safe ROS initialization

Definition at line 109 of file REClients.java.

static void roboearth.wp5.REClients.publishObjectAsSeenObject ( Publisher< ros.pkg.re_msgs.msg.SeenObject pub,
String  name,
float  time,
String[]  pose 
) [inline, static]

Definition at line 570 of file REClients.java.

static void roboearth.wp5.REClients.publishObjectAsSeenObject ( Publisher< ros.pkg.re_msgs.msg.SeenObject pub,
String  name,
float  time,
float[]  pose 
) [inline, static]

Definition at line 597 of file REClients.java.

static String roboearth.wp5.REClients.readOWLtoString ( String  owl_filename) [inline, static, private]

Definition at line 876 of file REClients.java.

static String [] roboearth.wp5.REClients.requestActionRecipeFor ( String  command) throws IOException, ParserConfigurationException, SAXException [inline, static]

Sends a 'semantic query' to the RoboEarth DB to search for action recipes that perform the task specified as a rdfs:label

Parameters:
commandString command for which a recipe is searched
Returns:
Array of URL strings pointing to the recipe specifications
Exceptions:
IOException
ParserConfigurationException
SAXException

Definition at line 219 of file REClients.java.

static boolean roboearth.wp5.REClients.requestCopModel ( String  object_name) [inline, static]

Definition at line 630 of file REClients.java.

static String [] roboearth.wp5.REClients.requestEnvironmentMapFor ( String  roomQuery[][]) throws IOException, ParserConfigurationException, SAXException [inline, static]

Sends a 'semantic query' to the RoboEarth DB to search for an environment model

Parameters:
roomNumberEnvironment for which to search (currently: room number)
Returns:
Array of URL strings pointing to the recipe specifications
Exceptions:
IOException
ParserConfigurationException
SAXException

Definition at line 282 of file REClients.java.

static String [] roboearth.wp5.REClients.requestModelFor ( String  objclass) throws IOException, ParserConfigurationException, SAXException [inline, static]

Sends a 'semantic query' to the RoboEarth DB to search for models that re:providesModelFor the desired object class

Parameters:
objclassThe object class a model is searched for
Returns:
Array of URL strings pointing to the object models
Exceptions:
IOException
ParserConfigurationException
SAXException

Definition at line 138 of file REClients.java.

static void roboearth.wp5.REClients.resetDBcontent ( ) [inline, static]

Definition at line 821 of file REClients.java.

Definition at line 581 of file REClients.java.

Definition at line 593 of file REClients.java.

static void roboearth.wp5.REClients.submitActionRecipe ( String  owl_filename,
String  id,
String  cls,
String  description 
) [inline, static]

Definition at line 501 of file REClients.java.

static void roboearth.wp5.REClients.submitMap ( String  owl_filename,
String  id,
String  cls,
String  description 
) [inline, static]

Definition at line 512 of file REClients.java.

static void roboearth.wp5.REClients.submitObject ( String  owl_filename,
String  id,
String  cls,
String  description 
) [inline, static]

Definition at line 490 of file REClients.java.

static void roboearth.wp5.REClients.updateActionRecipe ( String  owl_filename,
String  id,
String  description 
) [inline, static]

Definition at line 541 of file REClients.java.

static void roboearth.wp5.REClients.updateMap ( String  owl_filename,
String  id,
String  description 
) [inline, static]

Definition at line 552 of file REClients.java.

static boolean roboearth.wp5.REClients.updateObjectModels ( String[]  filenames) [inline, static]

Calls ROS service to enable detection of objects given in the array of object UIDs

Parameters:
filenameslist of objects that shall be detected
Returns:
if all given object models were successfully fetched from RoboEarth

Definition at line 753 of file REClients.java.

static void roboearth.wp5.REClients.updateObjectOWL ( String  owl_filename,
String  uid,
String  description 
) [inline, static]

Definition at line 529 of file REClients.java.

static boolean roboearth.wp5.REClients.updateVslamMaps ( String  map_url) [inline, static]

Calls ROS service to download a vSLAM map from RoboEarth

Parameters:
map_urlURL of the vSLAM map in RoboEarth
Returns:
if all maps were successfully fetched from RoboEarth

Definition at line 705 of file REClients.java.


Member Data Documentation

final String roboearth.wp5.REClients.API_KEY = "6e6574726f6d40b699e442ebdca5850e7cb7486679768aec3c70" [static, package]

Definition at line 102 of file REClients.java.

Definition at line 100 of file REClients.java.

Ros roboearth.wp5.REClients.ros [static, package]

Definition at line 99 of file REClients.java.

Boolean roboearth.wp5.REClients.rosInitialized = false [static, package]

Definition at line 98 of file REClients.java.


The documentation for this class was generated from the following file:


re_comm
Author(s): Alexander Perzylo
autogenerated on Sun Jan 5 2014 11:29:48