Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
flow_chart_visualization [2013/04/10 11:45] – [Flow chart visualization] admin | flow_chart_visualization [2013/04/10 14:37] – [Installation] admin | ||
---|---|---|---|
Line 4: | Line 4: | ||
{{ : | {{ : | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | The code is part of the knowrob_addons stack and can be found in the following repository: | ||
+ | git clone https:// | ||
+ | rosmake flowchart_vis | ||
+ | rosrun flowchart_vis flowchart_vis / | ||
+ | |||
===== Requirements on the SVG files ===== | ===== Requirements on the SVG files ===== | ||
+ | The SVG files need to be created in a special way for the system to work: | ||
+ | * All blocks that are to be used for interaction need to have special identifiers which can be set by right clicking on the element -> Object properties. | ||
+ | * There are two kinds of blocks: Elements of the processing pipeline and context menus for these elements. The former need to have identifiers of the form " | ||
+ | * There has to be a background rectangle called " | ||
+ | * Text must be converted into paths (Object -> To path) | ||
- | There are some assumptions about the structure | + | ===== Definition |
- | * There needs to be a background rectangle called " | + | The actions |
- | * Block IDs have the form " | + | * Executing Java methods: Static Java methods can be specified using IRIs of the form java:%%//%%<namespace+class>#<method>() |
- | * Text needs to be converted into paths (Object | + | * Querying the KnowRob knowledge base: Prolog queries are described by ' |
+ | * Calling ROS services: ROS services can be called | ||
+ | The following example of a [[http:// | ||
+ | actiondefs: | ||
+ | prac : ' | ||
+ | importer : ' | ||
+ | tracking : ' |