Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:marker_visualization [2015/10/19 14:38] – [Usage] daniel86 | doc:marker_visualization [2015/10/19 15:07] – [Marker Types] daniel86 | ||
---|---|---|---|
Line 11: | Line 11: | ||
===== Usage ===== | ===== Usage ===== | ||
- | The following queries read data from a semantic map and visualize it in the browser-based visualization. | + | First, setup the rosbridge communication interface |
$ roslaunch rosbridge_server rosbridge_websocket.launch | $ roslaunch rosbridge_server rosbridge_websocket.launch | ||
$ rosrun rosprolog | $ rosrun rosprolog | ||
| | ||
+ | Markers must be explicitly published by the user with following query ([[http:// | ||
+ | |||
+ | % publish modified marker | ||
+ | ?- marker_publish. | ||
+ | |||
+ | |||
+ | |||
+ | ==== Semantic Map Marker ==== | ||
+ | |||
+ | The following queries read data from a semantic map and visualize it in the browser-based visualization. | ||
+ | |||
% load and visualize semantic map | % load and visualize semantic map | ||
?- owl_parse(' | ?- owl_parse(' | ||
Line 23: | Line 34: | ||
?- owl_individual_of(A, | ?- owl_individual_of(A, | ||
- | | + | ==== Agent Marker ==== |
- | ?- marker_publish. | + | |
+ | The following queries read data from a robot description, | ||
+ | and visualize it in the browser-based visualization. | ||
+ | |||
+ | | ||
+ | ?- owl_parse(' | ||
+ | ?- mng_robot_pose_at_time(pr2:' | ||
+ | |||
+ | ==== Trajectory Marker ==== | ||
+ | |||
+ | The following queries read data from a robot description, | ||
+ | and visualize it in the browser-based visualization. | ||
+ | % load and visualize the base link of the pr2 robot for given timerange (T0,T1) | ||
+ | ?- owl_parse(' | ||
+ | ?- marker_update(trajectory('/ | ||
===== Visualizing 3D object meshes ===== | ===== Visualizing 3D object meshes ===== | ||