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 12:02] – [Definition of interaction] 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 ===== | ||
Line 15: | Line 23: | ||
The actions to be performed when an element has been clicked are defined in a yaml file that must be in the same folder as the svg and have the same filename (apart from the extension...). Three kinds of interaction are supported: | The actions to be performed when an element has been clicked are defined in a yaml file that must be in the same folder as the svg and have the same filename (apart from the extension...). Three kinds of interaction are supported: | ||
* Executing Java methods: Static Java methods can be specified using IRIs of the form java: | * Executing Java methods: Static Java methods can be specified using IRIs of the form java: | ||
- | * Querying the KnowRob knowledge base: | + | * Querying the KnowRob knowledge base: Prolog queries are described by ' |
- | * Calling ROS services: | + | * Calling ROS services: |
+ | |||
+ | The following example of a [[http:// | ||
actiondefs: | actiondefs: | ||
- | importer : ' | ||
prac : ' | prac : ' | ||
+ | importer : ' | ||
tracking : ' | tracking : ' |