problem running the "controller-1" example

Dear all,
I am trying to look at the exercise "controller-1".
I installed the orocos toolchain 2.2 (employng the bootstrap.sh)
in /home/apertuscus/orocos-toolchain succesfully.
Then, in /home/apertuscus/workspace I copied the example files.
In order to have to it compiling, I changed in CMakeCache.txt the
following lines.
OCL_INSTALL:PATH=/home/apertuscus/orocos-toolchain/install
OROCOS_INSTALL:PATH=/home/apertuscus/orocos-toolchain/install

1) it is the correct way?

2) if i run "deployer-gnulinux --start deployment/application.cpf
-linfo" (as explained in the text coming with the exercise), i get an
error (below) for not having (I suppose) liborocos-reporting and
liborocos-timer, in the correct path.

I suppose that it should be given by Deployer-site.cpf,
-----------
<properties>
&lt;!-- Exercise: Modify ComponentPath to point to your local
installation of
the Orocos Component Library, OCL. --&gt;
<struct name="Deployer" type="PropertyBag">
<struct name="Properties" type="PropertyBag">
<simple name="ComponentPath"
type="string"><value>/home/apertuscus/orocos-toolchain/install<value><simple>
<struct>
<struct>
<properties>
--------

Having made some try i did not get different behaviours (the files are
in /home/apertuscus/orocos-toolchain/install/lib/orocos).

Thanks, Gianni.

---------------------------------------------------------------------

0.000 [ Info ][Logger] Real-time memory: 14096 bytes free of 20480
allocated.
0.000 [ Info ][Logger] Setting OCL factory for real-time logging
0.000 [ Info ][Logger] No RTT_COMPONENT_PATH set. Using
default: /home/apertuscus/orocos-toolchain/install/lib/orocos
0.000 [ Info ][Logger] Loading plugin libraries from
directory /home/apertuscus/orocos-toolchain/install/lib/orocos/plugins ...
0.002 [ Info ][Logger] Loaded RTT Service 'Lua' from
'rttlua-plugin-gnulinux'
0.003 [ Info ][Logger] Loaded RTT Service 'os' from 'os-gnulinux'
0.003 [ Info ][Logger] Loaded RTT Service 'marshalling' from
'rtt-marshalling-gnulinux'
0.004 [ Info ][Logger] Loaded RTT Service 'print' from
'print-gnulinux'
0.004 [ Info ][Logger] Loaded RTT Service 'scripting' from
'rtt-scripting-gnulinux'
0.004 [ Info ][Logger] Loading plugin libraries from
directory /home/apertuscus/orocos-toolchain/install/lib/orocos/types ...
0.026 [ Info ][TypekitRepository::Import] Loading Typekit rtt-types.
0.026 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-types' from
'rtt-typekit-gnulinux'
0.046 [ Info ][TypekitRepository::Import] Loading Transport
CORBA://rtt-types.
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for ConnPolicy
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for TaskContext
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for array
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for bool
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for double
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for float
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for int
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for string
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for uint
0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
transport for void
0.046 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-corba-types'
from 'rtt-transport-corba-gnulinux'
0.048 [ Info ][TypekitRepository::Import] Loading Transport
mqueue://rtt-types.
0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for array
0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for bool
0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for char
0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for double
0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for float
0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for int
0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for uint
0.048 [ Info ][Logger] Loaded RTT TypeKit/Transport
'rtt-mqueue-transport' from 'rtt-transport-mqueue-gnulinux'
0.053 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.053 [ Info ][Logger] Loaded RTT TypeKit/Transport 'OCLTypekit' from
'ocl-gnulinux'
0.053 [ Info ][Thread] Creating Thread for scheduler: 0
0.054 [ Info ][Deployer] Thread created with scheduler type '0',
priority 0 and period 0.
0.054 [ Info ][Thread] Creating Thread for scheduler: 0
0.054 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.054 [ Info ][Logger] Using site file 'Deployer-site.cpf'.
0.054 [ Info ][DeploymentComponent::loadComponents] Loading
'Deployer-site.cpf' in group 0.
0.055 [ Info ][DeploymentComponent::loadComponents] Validating new
configuration...
0.055 [ Info ][DeploymentComponent::loadComponents] Added component
Deployer to group 0
0.055 [ Info ][DeploymentComponent::configureComponents] Configuring
components in group 0
0.055 [ Info ][DeploymentComponent::configureComponents] Configured
Properties of Deployer from main configuration file.
0.055 [ Info ][DeploymentComponent::configureComponents] Configuration
successful for group 0.
0.055 [ Info ][DeploymentComponent::startComponentsGroup] Startup of
'AutoStart' components successful for group 0.
0.055 [ Info ][Logger] Successfully loaded, configured and started
components from Deployer-site.cpf
0.055 [ Info ][DeploymentComponent::loadComponents] Loading
'deployment/application.cpf' in group 1.
0.056 [ Info ][DeploymentComponent::loadComponents] Validating new
configuration...
0.056 [ ERROR ][DeploymentComponent::import] No such package or
directory found in search path: liborocos-reporting. Search path is:
0.056 [ ERROR ][DeploymentComponent::import] .
0.056 [ ERROR ][DeploymentComponent::import] No such package or
directory found in search path: liborocos-timer. Search path is:
0.056 [ ERROR ][DeploymentComponent::import] .

problem running the "controller-1" example

2011/1/20 gianni borghesan <Gianni [dot] Borghesan [..] ...>:
> Dear all,
> I am trying to look at the exercise "controller-1".
> I installed the orocos toolchain 2.2 (employng the bootstrap.sh)
> in /home/apertuscus/orocos-toolchain succesfully.
> Then, in /home/apertuscus/workspace I copied the  example files.
> In order to have to it compiling, I changed in CMakeCache.txt the
> following lines.
> OCL_INSTALL:PATH=/home/apertuscus/orocos-toolchain/install
> OROCOS_INSTALL:PATH=/home/apertuscus/orocos-toolchain/install
>
> 1) it is the correct way?
>
>
> 2) if i run "deployer-gnulinux --start deployment/application.cpf
> -linfo" (as explained in the text coming with the exercise), i get an
> error (below) for not having (I suppose) liborocos-reporting and
> liborocos-timer, in the correct path.
>
> I suppose that it should be given by Deployer-site.cpf,
> -----------
> <properties>
>  &lt;!-- Exercise: Modify ComponentPath to point to your local
&gt; installation of
>       the Orocos Component Library, OCL. -->
>  <struct name="Deployer" type="PropertyBag">
>    <struct name="Properties" type="PropertyBag">
>      <simple name="ComponentPath"
> type="string"><value>/home/apertuscus/orocos-toolchain/install<value><simple>
>    <struct>
>  <struct>
> <properties>
> --------
>
> Having made some try i did not get different behaviours (the files are
> in /home/apertuscus/orocos-toolchain/install/lib/orocos).

Confirming.
I never had the exercises, other then the hello-* examples, working
when adding them to our orocos ros toolchain.

Steven

>
> Thanks, Gianni.
>
>
>
>
>
> ---------------------------------------------------------------------
>
>
> 0.000 [ Info   ][Logger] Real-time memory: 14096 bytes free of 20480
> allocated.
> 0.000 [ Info   ][Logger] Setting OCL factory for real-time logging
> 0.000 [ Info   ][Logger] No RTT_COMPONENT_PATH set. Using
> default: /home/apertuscus/orocos-toolchain/install/lib/orocos
> 0.000 [ Info   ][Logger] Loading plugin libraries from
> directory /home/apertuscus/orocos-toolchain/install/lib/orocos/plugins ...
> 0.002 [ Info   ][Logger] Loaded RTT Service 'Lua' from
> 'rttlua-plugin-gnulinux'
> 0.003 [ Info   ][Logger] Loaded RTT Service 'os' from 'os-gnulinux'
> 0.003 [ Info   ][Logger] Loaded RTT Service 'marshalling' from
> 'rtt-marshalling-gnulinux'
> 0.004 [ Info   ][Logger] Loaded RTT Service 'print' from
> 'print-gnulinux'
> 0.004 [ Info   ][Logger] Loaded RTT Service 'scripting' from
> 'rtt-scripting-gnulinux'
> 0.004 [ Info   ][Logger] Loading plugin libraries from
> directory /home/apertuscus/orocos-toolchain/install/lib/orocos/types ...
> 0.026 [ Info   ][TypekitRepository::Import] Loading Typekit rtt-types.
> 0.026 [ Info   ][Logger] Loaded RTT TypeKit/Transport 'rtt-types' from
> 'rtt-typekit-gnulinux'
> 0.046 [ Info   ][TypekitRepository::Import] Loading Transport
> CORBA://rtt-types.
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for ConnPolicy
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for TaskContext
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for array
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for bool
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for double
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for float
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for int
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for string
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for uint
> 0.046 [ Info   ][TypekitRepository::Import] Registered new 'CORBA'
> transport for void
> 0.046 [ Info   ][Logger] Loaded RTT TypeKit/Transport 'rtt-corba-types'
> from 'rtt-transport-corba-gnulinux'
> 0.048 [ Info   ][TypekitRepository::Import] Loading Transport
> mqueue://rtt-types.
> 0.048 [ Info   ][TypekitRepository::Import] Registered new 'mqueue'
> transport for array
> 0.048 [ Info   ][TypekitRepository::Import] Registered new 'mqueue'
> transport for bool
> 0.048 [ Info   ][TypekitRepository::Import] Registered new 'mqueue'
> transport for char
> 0.048 [ Info   ][TypekitRepository::Import] Registered new 'mqueue'
> transport for double
> 0.048 [ Info   ][TypekitRepository::Import] Registered new 'mqueue'
> transport for float
> 0.048 [ Info   ][TypekitRepository::Import] Registered new 'mqueue'
> transport for int
> 0.048 [ Info   ][TypekitRepository::Import] Registered new 'mqueue'
> transport for uint
> 0.048 [ Info   ][Logger] Loaded RTT TypeKit/Transport
> 'rtt-mqueue-transport' from 'rtt-transport-mqueue-gnulinux'
> 0.053 [ Info   ][TypekitRepository::Import] Loading Typekit OCLTypekit.
> 0.053 [ Info   ][Logger] Loaded RTT TypeKit/Transport 'OCLTypekit' from
> 'ocl-gnulinux'
> 0.053 [ Info   ][Thread] Creating Thread for scheduler: 0
> 0.054 [ Info   ][Deployer] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.054 [ Info   ][Thread] Creating Thread for scheduler: 0
> 0.054 [ Info   ][GlobalEngine] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.054 [ Info   ][Logger] Using site file 'Deployer-site.cpf'.
> 0.054 [ Info   ][DeploymentComponent::loadComponents] Loading
> 'Deployer-site.cpf' in group 0.
> 0.055 [ Info   ][DeploymentComponent::loadComponents] Validating new
> configuration...
> 0.055 [ Info   ][DeploymentComponent::loadComponents] Added component
> Deployer to group 0
> 0.055 [ Info   ][DeploymentComponent::configureComponents] Configuring
> components in group 0
> 0.055 [ Info   ][DeploymentComponent::configureComponents] Configured
> Properties of Deployer from main configuration file.
> 0.055 [ Info   ][DeploymentComponent::configureComponents] Configuration
> successful for group 0.
> 0.055 [ Info   ][DeploymentComponent::startComponentsGroup] Startup of
> 'AutoStart' components successful for group 0.
> 0.055 [ Info   ][Logger] Successfully loaded, configured and started
> components from Deployer-site.cpf
> 0.055 [ Info   ][DeploymentComponent::loadComponents] Loading
> 'deployment/application.cpf' in group 1.
> 0.056 [ Info   ][DeploymentComponent::loadComponents] Validating new
> configuration...
> 0.056 [ ERROR  ][DeploymentComponent::import] No such package or
> directory found in search path: liborocos-reporting. Search path is:
> 0.056 [ ERROR  ][DeploymentComponent::import] .
> 0.056 [ ERROR  ][DeploymentComponent::import] No such package or
> directory found in search path: liborocos-timer. Search path is:
> 0.056 [ ERROR  ][DeploymentComponent::import] .
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

problem running the "controller-1" example

did you source the env.sh script ?

2011/1/20 gianni borghesan <Gianni [dot] Borghesan [..] ...>

> Dear all,
> I am trying to look at the exercise "controller-1".
> I installed the orocos toolchain 2.2 (employng the bootstrap.sh)
> in /home/apertuscus/orocos-toolchain succesfully.
> Then, in /home/apertuscus/workspace I copied the example files.
> In order to have to it compiling, I changed in CMakeCache.txt the
> following lines.
> OCL_INSTALL:PATH=/home/apertuscus/orocos-toolchain/install
> OROCOS_INSTALL:PATH=/home/apertuscus/orocos-toolchain/install
>
> 1) it is the correct way?
>
>
> 2) if i run "deployer-gnulinux --start deployment/application.cpf
> -linfo" (as explained in the text coming with the exercise), i get an
> error (below) for not having (I suppose) liborocos-reporting and
> liborocos-timer, in the correct path.
>
> I suppose that it should be given by Deployer-site.cpf,
> -----------
> <properties>
> &lt;!-- Exercise: Modify ComponentPath to point to your local
&gt; installation of
> the Orocos Component Library, OCL. -->
> <struct name="Deployer" type="PropertyBag">
> <struct name="Properties" type="PropertyBag">
> <simple name="ComponentPath"
>
> type="string"><value>/home/apertuscus/orocos-toolchain/install<value><simple>
> <struct>
> <struct>
> <properties>
> --------
>
> Having made some try i did not get different behaviours (the files are
> in /home/apertuscus/orocos-toolchain/install/lib/orocos).
>
> Thanks, Gianni.
>
>
>
>
>
> ---------------------------------------------------------------------
>
>
> 0.000 [ Info ][Logger] Real-time memory: 14096 bytes free of 20480
> allocated.
> 0.000 [ Info ][Logger] Setting OCL factory for real-time logging
> 0.000 [ Info ][Logger] No RTT_COMPONENT_PATH set. Using
> default: /home/apertuscus/orocos-toolchain/install/lib/orocos
> 0.000 [ Info ][Logger] Loading plugin libraries from
> directory /home/apertuscus/orocos-toolchain/install/lib/orocos/plugins ...
> 0.002 [ Info ][Logger] Loaded RTT Service 'Lua' from
> 'rttlua-plugin-gnulinux'
> 0.003 [ Info ][Logger] Loaded RTT Service 'os' from 'os-gnulinux'
> 0.003 [ Info ][Logger] Loaded RTT Service 'marshalling' from
> 'rtt-marshalling-gnulinux'
> 0.004 [ Info ][Logger] Loaded RTT Service 'print' from
> 'print-gnulinux'
> 0.004 [ Info ][Logger] Loaded RTT Service 'scripting' from
> 'rtt-scripting-gnulinux'
> 0.004 [ Info ][Logger] Loading plugin libraries from
> directory /home/apertuscus/orocos-toolchain/install/lib/orocos/types ...
> 0.026 [ Info ][TypekitRepository::Import] Loading Typekit rtt-types.
> 0.026 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-types' from
> 'rtt-typekit-gnulinux'
> 0.046 [ Info ][TypekitRepository::Import] Loading Transport
> CORBA://rtt-types.
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for ConnPolicy
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for TaskContext
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for array
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for bool
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for double
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for float
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for int
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for string
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for uint
> 0.046 [ Info ][TypekitRepository::Import] Registered new 'CORBA'
> transport for void
> 0.046 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-corba-types'
> from 'rtt-transport-corba-gnulinux'
> 0.048 [ Info ][TypekitRepository::Import] Loading Transport
> mqueue://rtt-types.
> 0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
> transport for array
> 0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
> transport for bool
> 0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
> transport for char
> 0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
> transport for double
> 0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
> transport for float
> 0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
> transport for int
> 0.048 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
> transport for uint
> 0.048 [ Info ][Logger] Loaded RTT TypeKit/Transport
> 'rtt-mqueue-transport' from 'rtt-transport-mqueue-gnulinux'
> 0.053 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
> 0.053 [ Info ][Logger] Loaded RTT TypeKit/Transport 'OCLTypekit' from
> 'ocl-gnulinux'
> 0.053 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.054 [ Info ][Deployer] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.054 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.054 [ Info ][GlobalEngine] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.054 [ Info ][Logger] Using site file 'Deployer-site.cpf'.
> 0.054 [ Info ][DeploymentComponent::loadComponents] Loading
> 'Deployer-site.cpf' in group 0.
> 0.055 [ Info ][DeploymentComponent::loadComponents] Validating new
> configuration...
> 0.055 [ Info ][DeploymentComponent::loadComponents] Added component
> Deployer to group 0
> 0.055 [ Info ][DeploymentComponent::configureComponents] Configuring
> components in group 0
> 0.055 [ Info ][DeploymentComponent::configureComponents] Configured
> Properties of Deployer from main configuration file.
> 0.055 [ Info ][DeploymentComponent::configureComponents] Configuration
> successful for group 0.
> 0.055 [ Info ][DeploymentComponent::startComponentsGroup] Startup of
> 'AutoStart' components successful for group 0.
> 0.055 [ Info ][Logger] Successfully loaded, configured and started
> components from Deployer-site.cpf
> 0.055 [ Info ][DeploymentComponent::loadComponents] Loading
> 'deployment/application.cpf' in group 1.
> 0.056 [ Info ][DeploymentComponent::loadComponents] Validating new
> configuration...
> 0.056 [ ERROR ][DeploymentComponent::import] No such package or
> directory found in search path: liborocos-reporting. Search path is:
> 0.056 [ ERROR ][DeploymentComponent::import] .
> 0.056 [ ERROR ][DeploymentComponent::import] No such package or
> directory found in search path: liborocos-timer. Search path is:
> 0.056 [ ERROR ][DeploymentComponent::import] .
>
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>