The protoComponentGUITEST Example

From David Vernon's Wiki
Revision as of 05:04, 4 November 2014 by Dvernon (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
<application>
<name>Demo of protoComponentGUI</name>

<dependencies>
   <port>/robot/cam/left</port>
</dependencies>

<module>
   <name>protoComponentGUI</name>
   <parameters>--context components/protoComponentGUI/config </parameters>
   <node>dream1</node>
   <tag>protoComponentGUI</tag>
</module>

 <module>
    <name>protoComponent</name>
    <parameters>--context components/protoComponent/config </parameters>
    <node>dream1</node>
    <tag>protoComponent</tag>
 </module>
 
<module>
   <name>imageSource</name> 
   <parameters>--context components/imageSource/config --width 640 --height 480 </parameters>
   <node>dream1</node>
   <tag>imageSource</tag>
</module>

<connection>
  <from>/robot/cam/left</from>
  <to>/protoComponent/image:i</to>
  <protocol>tcp</protocol>
</connection>

<connection>
  <from>/protoComponent/image:o</from>
  <to>/protoComponentGUI/binaryimage:i</to>
  <protocol>tcp</protocol>
</connection>

<connection>
  <from>/protoComponent/statistics:o</from>
  <to>/protoComponentGUI/statistics:i</to>
  <protocol>tcp</protocol>
</connection>

<connection>
  <from>/robot/cam/left</from>
  <to>/protoComponentGUI/colourimage:i</to>
  <protocol>tcp</protocol>
</connection>

<connection>
  <from>/protoComponentGUI/threshold:o</from>
  <to>/protoComponent/threshold:i</to>
  <protocol>tcp</protocol>
</connection>

</application>

Back to Software Development Guide