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
doc:knowrob_basics [2016/04/19 08:06] – [Installing and launching the system] daniel86doc:knowrob_basics [2016/04/19 08:11] – [Visualizing objects] daniel86
Line 7: Line 7:
  
 ===== Installing and launching the system ===== ===== Installing and launching the system =====
-If you would just like to try KnowRob, you can use the binary packages, but if you would like to experiment more and adapt the packages, you should install the source distribution. Please refer to the [[/installation|installation guide]] for instructions. Make sure to  [[/installation/workspace|Set up your workspace]] before starting this tutorial.+If you would just like to try KnowRob, you can use the binary packages, but if you would like to experiment more and adapt the packages, you should install the source distribution. Please refer to the [[/installation|installation guide]] for instructions. Make sure to  [[/installation/workspace|set up your workspace]] before starting this tutorial.
  
 You can now launch the system using the //rosprolog// script which takes the name of the package to be launched as parameter. When calling a package with //rosprolog//, the //init.pl// file is loaded, and all //init.pl// of referenced packages as well. That procedure ensures that all packages are initialized when being loaded. For more information on how to load your own packages, have a look at the [[http://www.ros.org/wiki/rosprolog|rosprolog]] documentation or into one of the //init.pl// files. You can now launch the system using the //rosprolog// script which takes the name of the package to be launched as parameter. When calling a package with //rosprolog//, the //init.pl// file is loaded, and all //init.pl// of referenced packages as well. That procedure ensures that all packages are initialized when being loaded. For more information on how to load your own packages, have a look at the [[http://www.ros.org/wiki/rosprolog|rosprolog]] documentation or into one of the //init.pl// files.
Line 97: Line 97:
 % Start the KnowRob side of the visualization canvas. This will start % Start the KnowRob side of the visualization canvas. This will start
 % a web server at http://localhost:1111 -- open that page in a browser % a web server at http://localhost:1111 -- open that page in a browser
-?- visualisation_canvas.+?- visualisation_server.
  
 % Select the map instance of type 'SemanticEnvironmentMap'  % Select the map instance of type 'SemanticEnvironmentMap' 
 % and add it to the 3D canvas % and add it to the 3D canvas
 ?- owl_individual_of(A, knowrob:'SemanticEnvironmentMap'),  ?- owl_individual_of(A, knowrob:'SemanticEnvironmentMap'), 
-   add_object_with_children(A).+   marker_update(object(A)).
 </code> </code>