using rock to create deployable components

Dear Sir,

I would like to know if it is possible to use orogen to create component that can be
loaded by OCL deployer(s).

In the "Deployment component" manual form OROCOS documentation
is said that the macro ORO_CREATE_COMPONENT or
ORO_CREATE_COMPONENT_TYPE and
ORO_LIST_COMPONENT_TYPE

have to be used to create a deployable component.

I had a look to the code generated by orogen and I didn't find these macros.

When I start deployer and use the command "displayComponentTypes"
the libraries created with orogen are not listed among available for loading
even if the directory

/usr/local/lib/rock/lib/orocos/

is listed in the environment variable RTT_COMPONENT_PATH

What have I to to do to create component loadable by deployer(s)?

Thank you in advance for you support.

Gianpaolo Rizzi

using rock to create deployable components

On 12/30/2010 06:27 PM, gprizzi [..] ... wrote:
> Dear Sir,
>
> I would like to know if it is possible to use orogen to create component
> that can be
> loaded by OCL deployer(s).
>
> In the "Deployment component" manual form OROCOS documentation
> is said that the macro ORO_CREATE_COMPONENT or
> ORO_CREATE_COMPONENT_TYPE and
> ORO_LIST_COMPONENT_TYPE
>
> have to be used to create a deployable component.
>
> I had a look to the code generated by orogen and I didn't find these macros.
It is most likely because the component's cmake code did not detect the
presence of OCL. I'm building rock with OCL to check it out.
--
Sylvain Joyeux (Dr. Ing.)
Researcher - Space and Security Robotics
DFKI Robotics Innovation Center
Bremen, Robert-Hooke-Straße 5, 28359 Bremen, Germany

Phone: +49 421 218-64136
Fax: +49 421 218-64150
Email: sylvain [dot] joyeux [..] ...

Weitere Informationen: http://www.dfki.de
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

using rock to create deployable components

On 01/03/2011 12:19 PM, Sylvain Joyeux wrote:
> On 12/30/2010 06:27 PM, gprizzi [..] ... wrote:
>> Dear Sir,
>>
>> I would like to know if it is possible to use orogen to create component
>> that can be
>> loaded by OCL deployer(s).
>>
>> In the "Deployment component" manual form OROCOS documentation
>> is said that the macro ORO_CREATE_COMPONENT or
>> ORO_CREATE_COMPONENT_TYPE and
>> ORO_LIST_COMPONENT_TYPE
>>
>> have to be used to create a deployable component.
>>
>> I had a look to the code generated by orogen and I didn't find these macros.
The task contexts are registered as OCL components in
.orogen/tasks/DeployerComponent.cpp

which should be built into the shared library if OCL is present

I had a look and it indeed does that on my machine.

The oroGen's component CMake should tell you

-- OCL found, the generated task library will be compatible with the
deployer component

In my case, the shared library does contain symbols that seem to be
related to the OCL component loading, namely:

OCL::ComponentFactoryLoader<xsens_imu::Task>::createComponent(std::string)
OCL::ComponentFactoryLoader<xsens_imu::Task>::ComponentFactoryLoader(std::string)
--
Sylvain Joyeux (Dr. Ing.)
Researcher - Space and Security Robotics
DFKI Robotics Innovation Center
Bremen, Robert-Hooke-Straße 5, 28359 Bremen, Germany

Phone: +49 421 218-64136
Fax: +49 421 218-64150
Email: sylvain [dot] joyeux [..] ...

Weitere Informationen: http://www.dfki.de
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev