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 Prolog modules] tenorthloading_files_and_ros_packages [2012/12/01 10:44] – [Exporting knowledge into OWL files] tenorth
Line 24: Line 24:
  
 Each KnowRob ROS package can be loaded using the following predicate: Each KnowRob ROS package can be loaded using the following predicate:
-<code prolog>+<code>
  register_ros_package('pkg-name').  register_ros_package('pkg-name').
 </code> </code>
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').