Classes | |
class | ExportCopModelCallback |
class | RetrieveCopModelCallback |
Public Member Functions | |
UnizarRoboEarthInterface (Ros ros, NodeHandle n) throws RosException | |
Static Public Member Functions | |
static void | createZipFromFiles (String xmlFile, Set< String > filenames, String target) |
static void | main (String[] args) |
Protected Member Functions | |
OWLOntology | buildOWLObjectDescription (String modelType, String objClass) |
Protected Attributes | |
NodeHandle | n |
REConnectionHadoop | re_interface |
Ros | ros |
SimpleDateFormat | sdf = new SimpleDateFormat("yy-MM-dd_HH-mm-ss-SSS") |
Interface between the Unizar Object Detector system (http://www.roboearth.org/wiki/Re_vision) and the RoboEarth database.
This class copies the CopRoboEarthInterface and provides ROS services to upload object models to the UniZar database as well as to retrieve object models from the database and add them to re_vision.
Definition at line 106 of file UnizarRoboEarthInterface.java.
roboearth.wp1.UnizarRoboEarthInterface.UnizarRoboEarthInterface | ( | Ros | ros, |
NodeHandle | n | ||
) | throws RosException [inline] |
Constructor. Advertises the needed ROS services.
ros | reference to rosjava |
n | the node handle |
RosException | if advertising ROS services failed |
Definition at line 131 of file UnizarRoboEarthInterface.java.
OWLOntology roboearth.wp1.UnizarRoboEarthInterface.buildOWLObjectDescription | ( | String | modelType, |
String | objClass | ||
) | [inline, protected] |
Builds an OWL encoded representation of the CoP object model.
objClass | the object types |
Definition at line 148 of file UnizarRoboEarthInterface.java.
static void roboearth.wp1.UnizarRoboEarthInterface.createZipFromFiles | ( | String | xmlFile, |
Set< String > | filenames, | ||
String | target | ||
) | [inline, static] |
Create a ZIP archive from a list of files.
filenames | List of files to be zipped |
target | File name of the resulting zip archive |
Definition at line 222 of file UnizarRoboEarthInterface.java.
static void roboearth.wp1.UnizarRoboEarthInterface.main | ( | String[] | args | ) | [inline, static] |
Definition at line 557 of file UnizarRoboEarthInterface.java.
NodeHandle roboearth.wp1.UnizarRoboEarthInterface.n [protected] |
Node handle used to advertise the ROS services
Definition at line 116 of file UnizarRoboEarthInterface.java.
Interface to the RoboEarth database
Definition at line 121 of file UnizarRoboEarthInterface.java.
Ros roboearth.wp1.UnizarRoboEarthInterface.ros [protected] |
Reference to rosjava
Definition at line 111 of file UnizarRoboEarthInterface.java.
SimpleDateFormat roboearth.wp1.UnizarRoboEarthInterface.sdf = new SimpleDateFormat("yy-MM-dd_HH-mm-ss-SSS") [protected] |
Definition at line 123 of file UnizarRoboEarthInterface.java.