RAPP Platform
v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
|
Contains the necessary functions for registering images to the ontology. More...
Public Member Functions | |
def | getUserOntologyAlias |
Gets the users ontology alias and if it doesnt exist it creates it. More... | |
def | registerImage |
Implements the getCloudAgentServiceTypeAndHostPort service main function. More... | |
def | registerImageToOntology |
Calls the knowrob_wrapper service that registers the image to the ontology. More... | |
Contains the necessary functions for registering images to the ontology.
Definition at line 44 of file image_registration_to_ontology.py.
def image_registration_to_ontology.ImageRegistrationToOntology.getUserOntologyAlias | ( | self, | |
username | |||
) |
Gets the users ontology alias and if it doesnt exist it creates it.
username | [string] The user's username |
Exception | AppError |
Definition at line 93 of file image_registration_to_ontology.py.
def image_registration_to_ontology.ImageRegistrationToOntology.registerImage | ( | self, | |
req | |||
) |
Implements the getCloudAgentServiceTypeAndHostPort service main function.
req | [rapp_platform_ros_communications::registerImageToOntologySrvRequest::Request&] The ROS service request |
Exception | IndexError |
Exception | IOError |
Exception | AppError |
Exception | KeyError |
Definition at line 54 of file image_registration_to_ontology.py.
def image_registration_to_ontology.ImageRegistrationToOntology.registerImageToOntology | ( | self, | |
req, | |||
baseDestinationFolder | |||
) |
Calls the knowrob_wrapper service that registers the image to the ontology.
req | [rapp_platform_ros_communications::registerImageToOntologySrvRequest::Request&] The ROS service request |
baseDestinationFolder | [string] The path to the image |
Exception | AppError |
Definition at line 109 of file image_registration_to_ontology.py.