Orocos Corba communication for GUI

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 11"><meta name="Originator" content="Microsoft Word 11"><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CPELLET%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C02%5Cclip_filelist.xml"><style>
&lt;!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:&quot;&quot;;
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:&quot;Times New Roman&quot;;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-language:EN-US;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
--&gt;
</style>

<p class="MsoNormal"><span style="" lang="EN-CA">Hi, </span></p>

<p class="MsoNormal"><span style="" lang="EN-CA">&nbsp;</span></p>

<p class="MsoNormal"><span style="" lang="EN-CA">I'm looking
for using Orocos in reel-time remote application. In my application I will use
a computer to run the Orocos application and another computer to run a GUI that control the remote application.</span></p>

<p class="MsoNormal"><span style="" lang="EN-CA">&nbsp;</span></p>

<p class="MsoNormal"><span style="" lang="EN-CA">A problem I'm
facing off is that the GUI will ask a lot off "get Property" and produce a lot
of communication for nothing.</span></p>

<p class="MsoNormal"><span style="" lang="EN-CA">&nbsp;</span></p>

<p class="MsoNormal"><span style="" lang="EN-CA">Have you a
solution like a remote mirror TaskContext that can updated more efficiently as
possible and that "get Property" would not produce communication?</span></p><p class="MsoNormal"><br></p><p class="MsoNormal">Thanks<br><span style="" lang="EN-CA"></span></p>

Orocos Corba communication for GUI

On Tuesday 10 February 2009 16:59:25 Simon Pelletier-Thibault wrote:
> Hi,
>
>
>
> I'm looking for using Orocos in reel-time remote application. In my
> application I will use a computer to run the Orocos application and another
> computer to run a GUI that control the remote application.
>
>
>
> A problem I'm facing off is that the GUI will ask a lot off "get Property"
> and produce a lot of communication for nothing.

Will your GUI use the RTT or will it use the CORBA IDL directly ?

>
>
>
> Have you a solution like a remote mirror TaskContext that can updated more
> efficiently as possible and that "get Property" would not produce
> communication?

Assuming you use RTT at the GUI : The RTT CORBA layer caches the hierarchy the
property objects, and only when you read the value of a property (like 'ls'
does), a communication is made (because you always want the latest value). So
just iterating over the properties and reading their names does not cause
communication.

In case you need to iterate a lot over property _values_ as well, you might
consider making a copy of the property tree (RTT::copyProperties) and use the
copy.

In case you don't use the RTT at the GUI side, you'll need to implement this
mechanism yourself of course.

Peter