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
doc:marker_visualization [2015/10/19 15:06] – [Usage] daniel86doc:marker_visualization [2015/10/19 15:07] (current) – [Marker-based visualization canvas] daniel86
Line 9: Line 9:
 Based on [[http://www.ros.org/wiki/rviz/DisplayTypes/Marker|rviz Markers]], this visualization module can display 3D information in a browser-based canvas that has been built using the [[https://github.com/RobotWebTools/ros3djs|ros3djs library]]. Based on [[http://www.ros.org/wiki/rviz/DisplayTypes/Marker|rviz Markers]], this visualization module can display 3D information in a browser-based canvas that has been built using the [[https://github.com/RobotWebTools/ros3djs|ros3djs library]].
  
-===== Usage ===== +===== Marker Types =====
- +
-First, setup the rosbridge communication interface and initialiaze the `knowrob_vis` package. +
- +
-  $ roslaunch rosbridge_server rosbridge_websocket.launch +
-  $ rosrun rosprolog  rosprolog knowrob_vis +
-   +
-Markers must be explicitly published by the user with following query ([[http://www.open-ease.org/|openEASE]] does this automatically). +
- +
-  % publish modified marker +
-  ?- marker_publish. +
- +
-==== Marker Types ====+
  
 The set of supported marker primitive types can be queried using the ''marker_prop_type(Type,_)'' predicate. The set of supported marker primitive types can be queried using the ''marker_prop_type(Type,_)'' predicate.
Line 37: Line 25:
   * **agent(Name)**: A marker that represents an OWL agent individual (including all links)   * **agent(Name)**: A marker that represents an OWL agent individual (including all links)
   * **stickman(Name)**: A special human skeleton visualization, kinematic structure is spanned by the OWL individual indentified by Name   * **stickman(Name)**: A special human skeleton visualization, kinematic structure is spanned by the OWL individual indentified by Name
 +===== Usage =====
 +
 +First, setup the rosbridge communication interface and initialiaze the `knowrob_vis` package.
 +
 +  $ roslaunch rosbridge_server rosbridge_websocket.launch
 +  $ rosrun rosprolog  rosprolog knowrob_vis
 +  
 +Markers must be explicitly published by the user with following query ([[http://www.open-ease.org/|openEASE]] does this automatically).
 +
 +  % publish modified marker
 +  ?- marker_publish.
 +
 +
  
 ==== Semantic Map Marker ==== ==== Semantic Map Marker ====