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:47] – [Requirements on the SVG files] 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: | 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. | * 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 have identifiers of the form " | + | * There are two kinds of blocks: Elements of the processing pipeline |
+ | * There has to be a background rectangle called " | ||
+ | * Text must be converted into paths (Object -> To path) | ||
- | * There needs to be a background rectangle called " | + | ===== Definition of interactions ===== |
- | * Text needs to be converted into paths (Object -> To path) | + | The actions |
+ | * Executing Java methods: Static Java methods can be specified using IRIs of the form java: | ||
+ | * Querying the KnowRob knowledge base: Prolog queries are described by ' | ||
+ | * Calling ROS services: ROS services can be called (with either no arguments or those of type string) by service: | ||
+ | The following example of a [[http:// | ||
+ | actiondefs: | ||
+ | prac : ' | ||
+ | importer : ' | ||
+ | tracking : ' |