Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
loading_files_and_ros_packages [2012/12/01 10:44] – [Loading OWL/Prolog files in ROS packages] tenorthloading_files_and_ros_packages [2012/12/01 10:45] – [Loading files and ROS packages] tenorth
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.
  
Line 36: Line 36:
 At some point, you may want to create OWL files. This can be done with the predicates in the 'owl_export' module in the 'knowrob_common' package: At some point, you may want to create OWL files. This can be done with the predicates in the 'owl_export' module in the 'knowrob_common' package:
  
-<code prolog>+<code>
  % Export the perception of an object to an OWL file  % Export the perception of an object to an OWL file
  export_object(knowrob:'Drawer1', 'path/to/object.owl').  export_object(knowrob:'Drawer1', 'path/to/object.owl').