Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
loading_files_and_ros_packages [2012/12/01 10:42] – [Exporting knowledge into OWL files] tenorth | loading_files_and_ros_packages [2013/02/12 17:41] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Loading files and ROS packages ====== | ====== Loading files and ROS packages ====== | ||
+ | ~~NOTOC~~ | ||
There are different ways how OWL and Prolog files can be loaded. For testing purposes, one can load single files. For deployment, one usually wants to set up a ROS package in such a way that all related files are automatically loaded. Both alternatives will be explained below. | There are different ways how OWL and Prolog files can be loaded. For testing purposes, one can load single files. For deployment, one usually wants to set up a ROS package in such a way that all related files are automatically loaded. Both alternatives will be explained below. | ||
===== Loading OWL files ===== | ===== Loading OWL files ===== | ||
OWL files need to be parsed to be [[http:// | OWL files need to be parsed to be [[http:// | ||
+ | |||
+ | < | ||
| | ||
+ | </ | ||
===== Loading Prolog modules | ===== Loading Prolog modules | ||
Most functionality in KnowRob is contained in [[http:// | Most functionality in KnowRob is contained in [[http:// | ||
+ | < | ||
| | ||
| | ||
+ | </ | ||
===== Loading OWL/Prolog files in ROS packages | ===== Loading OWL/Prolog files in ROS packages | ||
Line 19: | Line 24: | ||
Each KnowRob ROS package can be loaded using the following predicate: | Each KnowRob ROS package can be loaded using the following predicate: | ||
+ | < | ||
| | ||
+ | </ | ||
Alternatively, | Alternatively, | ||
+ | < | ||
| | ||
+ | </ | ||
===== Exporting knowledge into OWL files ===== | ===== Exporting knowledge into OWL files ===== | ||
At some point, you may want to create OWL files. This can be done with the predicates in the ' | At some point, you may want to create OWL files. This can be done with the predicates in the ' | ||
- | < | + | < |
% Export the perception of an object to an OWL file | % Export the perception of an object to an OWL file | ||
| |