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>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
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;}
-->
<style>

<span style="" lang="EN-CA">Hi, <span>

<span style="" lang="EN-CA"> <span>

<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>

<span style="" lang="EN-CA"> <span>

<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>

<span style="" lang="EN-CA"> <span>

<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>


Thanks
<span style="" lang="EN-CA"><span>

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