forked from orocos-toolchain/rtt_dot_service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.xml
63 lines (47 loc) · 2.55 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<package>
<name>rtt_dot_service</name>
<version>0.0.1</version>
<description >
Orocos rtt_dot_service package
The rtt_dot_service is an RTT service which generates a file in the <a href="http://www.graphviz.org/doc/info/lang.html"> DOT language format</a> containing an overview of your current deployment configuration. It can be visualised with any DOT visualizer to give you an overview of:
<ul>
<li> all components currently deployed, together with their status information </li>
<li> all component ports (connected and unconnected), and how they are connected </li>
</ul>
The service takes into account all peer components of the component in which you load the service. To get an overview of your complete deployment configuration, load this service in the Deployer component. You can trigger execution manually using the generate() function, but it will execute automatically with every component update as well (don't forget to attach an activity to your Deployer component!)
To use it, load the service in your Deployer component, e.g. in your .ops script, add:
{{{
import ("rtt_dot_service")
loadService("Deployer","dot")
}}}
or equivalently in a .lua script:
{{{
depl:import ("rtt_dot_service")
depl:loadService("Deployer","dot")
}}}
The service has a property, dot_file, which you can adjust to the file you like to be generated. The way components, connections and channels can be plotted can be tuned using the comp_args, conn_args and chan_args properties. Visualisation of the dot file is possible, e.g. with the ROS xdot tool:
{{{
rosrun xdot xdot.py orograph.dot
}}}
Or in Fuerte or later:
{{{
python $(rospack find xdot)/bin/dot_viewer.py orograph.dot
}}}
Colors are used to display the component's current state:
<ul>
<li>Init - white</li>
<li>PreOperational - orange</li>
<li>FatalError, Exception, RunTimeError - red</li>
<li>Stopped - lightblue </li>
<li>Running - green</li>
</ul>
More information about the DOT language is available at http://www.graphviz.org/doc/info/lang.html and http://www.graphviz.org/Documentation/dotguide.pdf
</description>
<maintainer email="[email protected]" >Steven Bellens</maintainer>
<author>Steven Bellens - [email protected]</author>
<license>LGPLv2.1 / BSD</license>
<url>http://ros.org/wiki/rtt_dot_service</url>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>rtt</build_depend>
<run_depend>rtt</run_depend>
</package>