Orocos Deployment

I am new to orocos and as I was going through the deployment exercise which is in rtt_1.12 examples I have an error output like this when running the example

In Task Deployer[R]. (Status of last Command : none )
(type 'ls' for context info) :loadComponents("example.cpf")
Got :loadComponents("example.cpf")
12.757 [ Info ][DeploymentComponent::loadComponents] Loading 'example.cpf'.
12.796 [ Info ][DeploymentComponent::loadComponents] Validating new configuration...
12.797 [ Info ][DeploymentComponent::import] Importing component libraries from directory ./. ...
12.797 [ Info ][DeploymentComponent::import] Loaded regular library ././libplant.so.
12.797 [ Info ][DeploymentComponent::import] NOTE: loading regular libraries is unavailable in RTT 2.x.
12.798 [ Info ][DeploymentComponent::import] Loaded regular library ././libcontroller.so.

It looks like I cant load the components.

any help is appreciated.
regards

Orocos Deployment

2011/2/4 Meti <meti [..] ...>:
>
> I am new to orocos and as I was going through the deployment exercise which is in rtt_1.12 examples I have an error output like this when running the example
>
> In Task Deployer[R]. (Status of last Command : none )
>  (type 'ls' for context info) :loadComponents("example.cpf")
>      Got :loadComponents("example.cpf")
> 12.757 [ Info   ][DeploymentComponent::loadComponents] Loading 'example.cpf'.
> 12.796 [ Info   ][DeploymentComponent::loadComponents] Validating new configuration...
> 12.797 [ Info   ][DeploymentComponent::import] Importing component libraries from directory ./. ...
> 12.797 [ Info   ][DeploymentComponent::import] Loaded regular library ././libplant.so.
> 12.797 [ Info   ][DeploymentComponent::import] NOTE: loading regular libraries is unavailable in RTT 2.x.
> 12.798 [ Info   ][DeploymentComponent::import] Loaded regular library ././libcontroller.so.
>
> It looks like I cant load the components.
>
> any help is appreciated.
> regards

There is no _error_ message in your posted output, all messages are
info messages which indicate all is going well. However, from that
output, it looks like you are using the orocos_toolchain (which is
v2.x) with the rtt exercises v1.x. The toolchain comes with new
exercises according to the 2.x syntax, and they are available at
https://github.com/psoetens/orocos-rtt-examples in the
rtt-2.0-examples branch.

How did you install the toolchain?

regards,

Steven

>
>
>
>
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>

Re: Orocos Deployment

I am using Ubuntu 10.04 and installed RTT v1.12 and OCL v1.12 following the instructions at the page

http://www.orocos.org/stable/documentation/rtt/v1.12.x/doc-xml/orocos-installation.html

I wanted to make a new component library and test it with a deployer. What I did was change the class name in HelloWorld deployment exercise to HelloWorldMT and wanted to see if the deployer can detect the new library. Then i used displayComponentTypes() hoping to see the OCL::HelloWorldMT as a component but it is not there.

where did i do wrong? regards Meti

Orocos Deployment

On Tuesday 08 February 2011 10:32:30 meti [..] ... wrote:
> I am using Ubuntu 10.04 and installed RTT v1.12 and OCL v1.12 following
> the instructions at the page
>
> http://www.orocos.org/stable/documentation/rtt/v1.12.x/doc-xml/orocos-insta
> llation.html
>
> I wanted to make a new component library and test it with a deployer. What
> I did was change the class name in HelloWorld deployment exercise to
> HelloWorldMT and wanted to see if the deployer can detect the new library.
> Then i used displayComponentTypes() hoping to see the OCL::HelloWorldMT as
> a component but it is not there.
>
> where did i do wrong? regards

For starters, if you're a new user, it's strongly advised to use RTT 2.2 or
later (included in Orocos Toolchain 2.2) here: http://www.orocos.org/toolchain

If you have to use the 1.12 versions (we'd be interested why), then start your
deployer with:

deployer-gnulinux -ldebug

Which will show where it looked for components. You can add a directory to
search for components by using the import("/path/to/lib/orocos") which will
scan that directory for new component libraries, then it should show up in
displayComponentTypes(). You can for example point the import statement to
your build/helloworld directory.

Peter

Orocos Deployment

2011/2/8 Peter Soetens <peter [..] ...>:
> On Tuesday 08 February 2011 10:32:30 meti [..] ... wrote:
>> I am using Ubuntu 10.04 and installed RTT v1.12 and OCL  v1.12 following
>> the instructions at the page
>>
>> http://www.orocos.org/stable/documentation/rtt/v1.12.x/doc-xml/orocos-insta
>> llation.html
>>
>> I wanted to make a new component library and test it with a deployer. What
>> I did was change the class name in HelloWorld deployment exercise to
>> HelloWorldMT and wanted to see if the deployer can detect the new library.
>> Then i used displayComponentTypes() hoping to see the OCL::HelloWorldMT as
>> a component but it is not there.
>>
>> where did i do wrong? regards
>
> For starters, if you're a new user, it's strongly advised to use RTT 2.2 or
> later (included in Orocos Toolchain 2.2) here: http://www.orocos.org/toolchain

or, if you happen to work with ROS: http://www.ros.org/wiki/orocos_toolchain_ros
which is the same software, but available in the ROS framework.

Steven

>
> If you have to use the 1.12 versions (we'd be interested why), then start your
> deployer with:
>
> deployer-gnulinux -ldebug
>
> Which will show where it looked for components. You can add a directory to
> search for components by using the import("/path/to/lib/orocos") which will
> scan that directory for new component libraries, then it should show up in
> displayComponentTypes(). You can for example point the import statement to
> your build/helloworld directory.
>
> Peter
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>

Orocos Deployment

2011/2/18 meti [..] ... <meti [..] ...>:
> I figured out the problem it was because I was linking all the ocl libraries while making the component library and it was reading it as a multi component library. I linked only orocos-rtt and it worked. But since i dont have a problem with upgrading to v2.2 I decided to do it and follow Stevens way because I also use ROS. I installed the package but are rtt, ocl and kdl also installed? I expect the installation to put the rtt and ocl header and libraries in /usr or /usr local.

Did you install from the package manager or from git?
Either way, the ros-*-orocos_toolchain_ros stack contains (as listed
on the wiki page) all of the orocos toolchain (that includes rtt and
ocl) + integration packages for ROS. There however will be no files
installed outside the stack folder. All header files or libraries go
into PackageName/install/*... or PackageName/lib directories - just
like with all other ROS packages.
For KDL:
- there is a kdl version in the geometry stack
- or you can check out directly
http://git.mech.kuleuven.be/orocos_kinematics_dynamics.git

regards,

Steven

> Meti
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>

Orocos Deployment

I figured out the problem it was because I was linking all the ocl libraries while making the component library and it was reading it as a multi component library. I linked only orocos-rtt and it worked. But since i dont have a problem with upgrading to v2.2 I decided to do it and follow Stevens way because I also use ROS. I installed the package but are rtt, ocl and kdl also installed? I expect the installation to put the rtt and ocl header and libraries in /usr or /usr local. Meti