![]() |
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 translating caffe classes to ontology classes. More...
Public Member Functions | |
| def | getOntologyClassEquivalent |
| Implements the getOntologyClassEquivalent service main function. More... | |
| def | loadMappingIntoDictionary |
| Loads the caffeToOntologyClasses file into a dictionary. More... | |
Contains the necessary functions for translating caffe classes to ontology classes.
Definition at line 31 of file ontology_class_bridge.py.
| def ontology_class_bridge.OntologyClassBridge.getOntologyClassEquivalent | ( | self, | |
| req | |||
| ) |
Implements the getOntologyClassEquivalent service main function.
| req | [rapp_platform_ros_communications::ontologyClassBridgeSrvRequest::Request&] The ROS service request |
| Exception | KeyError |
Definition at line 38 of file ontology_class_bridge.py.
| def ontology_class_bridge.OntologyClassBridge.loadMappingIntoDictionary | ( | self, | |
| mapFilePath | |||
| ) |
Loads the caffeToOntologyClasses file into a dictionary.
| mapFilePath | [string] The path to the file containing the caffe to ontology classes equivalencies |
Definition at line 61 of file ontology_class_bridge.py.