Difference between revisions of "The protoComponentTEST Example"

From David Vernon's Wiki
Jump to: navigation, search
(Created page with " <application> <name>Demo of protoComponent</name> <dependencies> <port>/robot/cam/left</port> </dependencies> <module> <name>protoComponent</name> <parame...")
 
 
Line 46: Line 46:
 
   
 
   
 
  </application>
 
  </application>
 +
 +
Back to [[Software Development Guide]]

Latest revision as of 06:04, 4 November 2014

<application>
<name>Demo of protoComponent</name>

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

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

<module>
   <name>yarpview</name>
   <parameters>--name /inputImage --x 000 --y 000 --w 320 --h 318 </parameters>
   <node>dream1</node>
   <tag>input_image</tag>
</module>

<module>
   <name>yarpview</name>
   <parameters>--name /binaryImage --x 320 --y 000 --w 320 --h 318 </parameters>
   <node>dream1</node>
   <tag>plot_image</tag>
</module>

<connection>
  <from>/robot/cam/left</from>
  <to>/inputImage</to>
  <protocol>tcp</protocol>
</connection>

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

<connection>
  <from>/protoComponent/image:o</from>
  <to>/binaryImage</to>
  <protocol>tcp</protocol>
</connection>

</application>

Back to Software Development Guide