RTT::corba::TaskContextProxy usage ?

Hi,
I am trying to use the RTT::corba::TaskContextProxy
together with orogen generated tasks.
As soon, as I connect to my task, I get a lot
of warnings :
0.001 [ Warning][TaskContextProxy] remote port input has a type that
cannot be marshalled over CORBA: string. It is ignored by TaskContextProxy
0.001 [ Warning][TaskContextProxy] remote port inputInt has a type that
cannot be marshalled over CORBA: int. It is ignored by TaskContextProxy

How can I register the correct marshallers ?
Greetings
Janosch

RTT::corba::TaskContextProxy

Hi,

Now I know what is my issue, I need to export the library directory to my EXE file. Now everything is Ok, and I can run my EXE but still getting the same problem, that port with custom type will be ignored.

Warning MESSAGE....

>>>>

remote port port has a type that cannot be marshalled over CORBA: unknown_t. It is ignored by TaskContextProxy

my main function is like this:

>>>>>>>>>>>>>>>>>>>>>>>>>>>

RTT::types::TypekitRepository::Import(new RTT::types::RealTimeTypekitPlugin); RTT::types::TypekitRepository::Import(new RTT::corba::CorbaLibPlugin); RTT::types::TypekitRepository::Import(new orogen_typekits::aladdinTypelibTransportPlugin); RTT::TaskContext * component = RTT::corba::TaskContextProxy::Create("serv"); OCL::TaskBrowser browes(component); browes.loop();

Which suppose to connect to a server component using CORBA. I don't know what should I DO?

Please advice..

RTT::corba::TaskContextProxy

Hey,
you are only importing the Typlib plugin for your aladdin task.
You are missing the typekit, and the corba and mqueue plugins :
RTT::types::TypekitRepository::Import( new
orogen_typekits::aladdinTypekitPlugin );
RTT::types::TypekitRepository::Import( new
orogen_typekits::aladdinCorbaTransportPlugin );
RTT::types::TypekitRepository::Import( new
orogen_typekits::aladdinMQueueTransportPlugin );
RTT::types::TypekitRepository::Import( new
orogen_typekits::aladdinTypelibTransportPlugin );
Greetings
Janosch

Am 21.10.2015 um 18:11 schrieb alaaeldeen [dot] abdalrahman [..] ...:
> Hi,
>
> Now I know what is my issue, I need to export the library directory to my EXE
> file.
> Now everything is Ok, and I can run my EXE but still getting the same
> problem, that port with custom type will be ignored.
>
> Warning MESSAGE....
>
> >>>>
>
> remote port port has a type that cannot be marshalled over CORBA: unknown_t.
> It is ignored by TaskContextProxy
>
>
> my main function is like this:
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> RTT::types::TypekitRepository::Import(new RTT::types::RealTimeTypekitPlugin);
> RTT::types::TypekitRepository::Import(new RTT::corba::CorbaLibPlugin);
> RTT::types::TypekitRepository::Import(new
> orogen_typekits::aladdinTypelibTransportPlugin);
> RTT::TaskContext * component = RTT::corba::TaskContextProxy::Create("serv");
> OCL::TaskBrowser browes(component);
> browes.loop();
>
> Which suppose to connect to a server component using CORBA.
> I don't know what should I DO?
>
> Please advice..

RTT::corba::TaskContextProxy

Thank you so much!! Now I understand what should I do!!

THANKS Janosch...

RTT::corba::TaskContextProxy

Hi Janosch

Please, Did you solved this issue? How should I load the typekit in this case??

Thanks

RTT::corba::TaskContextProxy

Am 21.10.2015 um 11:49 schrieb alaaeldeen [dot] abdalrahman [..] ...:
> Hi Janosch
>
> Please, Did you solved this issue?
> How should I load the typekit in this case??
>
> Thanks
Hi,
you need to do something like this :
RTT::types::TypekitRepository::Import( new
RTT::types::RealTimeTypekitPlugin );

RTT::types::TypekitRepository::Import( new
RTT::corba::CorbaLibPlugin );

RTT::types::TypekitRepository::Import( new RTT::mqueue::MQLibPlugin );

RTT::types::TypekitRepository::Import( new
orogen_typekits::hokuyoTypekitPlugin );

RTT::types::TypekitRepository::Import( new
orogen_typekits::hokuyoCorbaTransportPlugin );

RTT::types::TypekitRepository::Import( new
orogen_typekits::hokuyoMQueueTransportPlugin );

RTT::types::TypekitRepository::Import( new
orogen_typekits::hokuyoTypelibTransportPlugin );

Greetings
Janosch

RTT::corba::TaskContextProxy

Thank you I really appreciate your help.
But there is something wrong with my files, as there is no Import member
for TypekitRepository!!
What do you think is missing from my side?!
On Oct 21, 2015 8:24 PM, "Janosch Machowinski" <Janosch [dot] Machowinski [..] ...>
wrote:

> Am 21.10.2015 um 11:49 schrieb alaaeldeen [dot] abdalrahman [..] ...:
> > Hi Janosch
> >
> > Please, Did you solved this issue?
> > How should I load the typekit in this case??
> >
> > Thanks
> Hi,
> you need to do something like this :
> RTT::types::TypekitRepository::Import( new
> RTT::types::RealTimeTypekitPlugin );
>
> RTT::types::TypekitRepository::Import( new
> RTT::corba::CorbaLibPlugin );
>
>
> RTT::types::TypekitRepository::Import( new RTT::mqueue::MQLibPlugin );
>
>
>
> RTT::types::TypekitRepository::Import( new
> orogen_typekits::hokuyoTypekitPlugin );
>
> RTT::types::TypekitRepository::Import( new
> orogen_typekits::hokuyoCorbaTransportPlugin );
>
> RTT::types::TypekitRepository::Import( new
> orogen_typekits::hokuyoMQueueTransportPlugin );
>
> RTT::types::TypekitRepository::Import( new
> orogen_typekits::hokuyoTypelibTransportPlugin );
>
>
> Greetings
> Janosch
>
> --
> Dipl. Inf. Janosch Machowinski
> SAR- & Sicherheitsrobotik
>
> Universität Bremen
> FB 3 - Mathematik und Informatik
> AG Robotik
> Robert-Hooke-Straße 1
> 28359 Bremen, Germany
>
> Zentrale: +49 421 178 45-6611
>
> Besuchsadresse der Nebengeschäftstelle:
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Tel.: +49 421 178 45-6614
> Empfang: +49 421 178 45-6600
> Fax: +49 421 178 45-4150
> E-Mail: jmachowinski [..] ...
>
> Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
>
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>

RTT::corba::TaskContextProxy

Thank you very much!!

I found my mistake..
On Oct 21, 2015 10:28 PM, "AlaaEldeen, AbdAlrahman" <
alaaeldeen [dot] abdalrahman [..] ...> wrote:

> Thank you I really appreciate your help.
> But there is something wrong with my files, as there is no Import member
> for TypekitRepository!!
> What do you think is missing from my side?!
> On Oct 21, 2015 8:24 PM, "Janosch Machowinski" <
> Janosch [dot] Machowinski [..] ...> wrote:
>
>> Am 21.10.2015 um 11:49 schrieb alaaeldeen [dot] abdalrahman [..] ...:
>> > Hi Janosch
>> >
>> > Please, Did you solved this issue?
>> > How should I load the typekit in this case??
>> >
>> > Thanks
>> Hi,
>> you need to do something like this :
>> RTT::types::TypekitRepository::Import( new
>> RTT::types::RealTimeTypekitPlugin );
>>
>> RTT::types::TypekitRepository::Import( new
>> RTT::corba::CorbaLibPlugin );
>>
>>
>> RTT::types::TypekitRepository::Import( new RTT::mqueue::MQLibPlugin
>> );
>>
>>
>>
>> RTT::types::TypekitRepository::Import( new
>> orogen_typekits::hokuyoTypekitPlugin );
>>
>> RTT::types::TypekitRepository::Import( new
>> orogen_typekits::hokuyoCorbaTransportPlugin );
>>
>> RTT::types::TypekitRepository::Import( new
>> orogen_typekits::hokuyoMQueueTransportPlugin );
>>
>> RTT::types::TypekitRepository::Import( new
>> orogen_typekits::hokuyoTypelibTransportPlugin );
>>
>>
>> Greetings
>> Janosch
>>
>> --
>> Dipl. Inf. Janosch Machowinski
>> SAR- & Sicherheitsrobotik
>>
>> Universität Bremen
>> FB 3 - Mathematik und Informatik
>> AG Robotik
>> Robert-Hooke-Straße 1
>> 28359 Bremen, Germany
>>
>> Zentrale: +49 421 178 45-6611
>>
>> Besuchsadresse der Nebengeschäftstelle:
>> Robert-Hooke-Straße 5
>> 28359 Bremen, Germany
>>
>> Tel.: +49 421 178 45-6614
>> Empfang: +49 421 178 45-6600
>> Fax: +49 421 178 45-4150
>> E-Mail: jmachowinski [..] ...
>>
>> Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
>>
>> --
>> Orocos-Dev mailing list
>> Orocos-Dev [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>>
>

RTT::corba::TaskContextProxy

Now I finished my code, and it is build without any problem, but during the
run time u got an error that can not open the typekit library .so file
there is no such file?!
On Oct 21, 2015 11:08 PM, "AlaaEldeen, AbdAlrahman" <
alaaeldeen [dot] abdalrahman [..] ...> wrote:

> Thank you very much!!
>
> I found my mistake..
> On Oct 21, 2015 10:28 PM, "AlaaEldeen, AbdAlrahman" <
> alaaeldeen [dot] abdalrahman [..] ...> wrote:
>
>> Thank you I really appreciate your help.
>> But there is something wrong with my files, as there is no Import member
>> for TypekitRepository!!
>> What do you think is missing from my side?!
>> On Oct 21, 2015 8:24 PM, "Janosch Machowinski" <
>> Janosch [dot] Machowinski [..] ...> wrote:
>>
>>> Am 21.10.2015 um 11:49 schrieb alaaeldeen [dot] abdalrahman [..] ...:
>>> > Hi Janosch
>>> >
>>> > Please, Did you solved this issue?
>>> > How should I load the typekit in this case??
>>> >
>>> > Thanks
>>> Hi,
>>> you need to do something like this :
>>> RTT::types::TypekitRepository::Import( new
>>> RTT::types::RealTimeTypekitPlugin );
>>>
>>> RTT::types::TypekitRepository::Import( new
>>> RTT::corba::CorbaLibPlugin );
>>>
>>>
>>> RTT::types::TypekitRepository::Import( new RTT::mqueue::MQLibPlugin
>>> );
>>>
>>>
>>>
>>> RTT::types::TypekitRepository::Import( new
>>> orogen_typekits::hokuyoTypekitPlugin );
>>>
>>> RTT::types::TypekitRepository::Import( new
>>> orogen_typekits::hokuyoCorbaTransportPlugin );
>>>
>>> RTT::types::TypekitRepository::Import( new
>>> orogen_typekits::hokuyoMQueueTransportPlugin );
>>>
>>> RTT::types::TypekitRepository::Import( new
>>> orogen_typekits::hokuyoTypelibTransportPlugin );
>>>
>>>
>>> Greetings
>>> Janosch
>>>
>>> --
>>> Dipl. Inf. Janosch Machowinski
>>> SAR- & Sicherheitsrobotik
>>>
>>> Universität Bremen
>>> FB 3 - Mathematik und Informatik
>>> AG Robotik
>>> Robert-Hooke-Straße 1
>>> 28359 Bremen, Germany
>>>
>>> Zentrale: +49 421 178 45-6611
>>>
>>> Besuchsadresse der Nebengeschäftstelle:
>>> Robert-Hooke-Straße 5
>>> 28359 Bremen, Germany
>>>
>>> Tel.: +49 421 178 45-6614
>>> Empfang: +49 421 178 45-6600
>>> Fax: +49 421 178 45-4150
>>> E-Mail: jmachowinski [..] ...
>>>
>>> Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
>>>
>>> --
>>> Orocos-Dev mailing list
>>> Orocos-Dev [..] ...
>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>>>
>>

RTT::corba::TaskContextProxy usage ?

Any one an idea on this issue ?
Greetings
Janosch

Am 16.09.2014 um 10:57 schrieb Janosch Machowinski:
> Hi,
> I am trying to use the RTT::corba::TaskContextProxy
> together with orogen generated tasks.
> As soon, as I connect to my task, I get a lot
> of warnings :
> 0.001 [ Warning][TaskContextProxy] remote port input has a type that
> cannot be marshalled over CORBA: string. It is ignored by TaskContextProxy
> 0.001 [ Warning][TaskContextProxy] remote port inputInt has a type that
> cannot be marshalled over CORBA: int. It is ignored by TaskContextProxy
>
> How can I register the correct marshallers ?
> Greetings
> Janosch
>

Ruben Smits's picture

RTT::corba::TaskContextProxy usage ?

On Wed, Oct 15, 2014 at 9:57 AM, Janosch Machowinski <
Janosch [dot] Machowinski [..] ...> wrote:

> Any one an idea on this issue ?
> Greetings
> Janosch
>
> Am 16.09.2014 um 10:57 schrieb Janosch Machowinski:
> > Hi,
> > I am trying to use the RTT::corba::TaskContextProxy
> > together with orogen generated tasks.
> > As soon, as I connect to my task, I get a lot
> > of warnings :
> > 0.001 [ Warning][TaskContextProxy] remote port input has a type that
> > cannot be marshalled over CORBA: string. It is ignored by
> TaskContextProxy
> > 0.001 [ Warning][TaskContextProxy] remote port inputInt has a type that
> > cannot be marshalled over CORBA: int. It is ignored by TaskContextProxy
> >
> > How can I register the correct marshallers ?
>

You need to load the typekits on the both sides, in this case you need the
rtt-typekit and its corba twin. It's strange however that this is not the
case already.

Ruben

> > Greetings
> > Janosch
> >
>
>
> --
> Dipl. Inf. Janosch Machowinski
> SAR- & Sicherheitsrobotik
>
> Universität Bremen
> FB 3 - Mathematik und Informatik
> AG Robotik
> Robert-Hooke-Straße 1
> 28359 Bremen, Germany
>
> Zentrale: +49 421 178 45-6611
>
> Besuchsadresse der Nebengeschäftstelle:
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Tel.: +49 421 178 45-6614
> Empfang: +49 421 178 45-6600
> Fax: +49 421 178 45-4150
> E-Mail: jmachowinski [..] ...
>
> Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
>
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>

RTT::corba::TaskContextProxy usage ?

Am 15.10.2014 um 12:07 schrieb Ruben Smits:
>
> > How can I register the correct marshallers ?
>
>
> You need to load the typekits on the both sides, in this case you need
> the rtt-typekit and its corba twin. It's strange however that this is
> not the case already.
I directly create the Proxy using the IOR :

RTT::corba::TaskContextProxy *proxy =
RTT::corba::TaskContextProxy::Create(curIOR, true);

Therefor the typekit has not been loaded yet. I now figured out how to
do this.
Thanks
Janosch

>
> Ruben
>
> > Greetings
> > Janosch
> >
>
>
> --
> Dipl. Inf. Janosch Machowinski
> SAR- & Sicherheitsrobotik
>
> Universität Bremen
> FB 3 - Mathematik und Informatik
> AG Robotik
> Robert-Hooke-Straße 1
> 28359 Bremen, Germany
>
> Zentrale: +49 421 178 45-6611 <tel:%2B49%20421%20178%2045-6611>
>
> Besuchsadresse der Nebengeschäftstelle:
> Robert-Hooke-Straße 5
> 28359 Bremen, Germany
>
> Tel.: +49 421 178 45-6614
> Empfang: +49 421 178 45-6600
> Fax: +49 421 178 45-4150
> E-Mail: jmachowinski [..] ...
> <mailto:jmachowinski [..] ...>
>
> Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
>
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> <mailto:Orocos-Dev [..] ...>
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>
>
>
>