Fatal Semantic error: Cannot apply binary operation

Hi,

I have compiled and installed toolchain and I'm having an strange (at least
for me) behaviour. If i follow the components manual, when I execute he
helloworld I got:

###########################################
rtt-exercises/helloworld$ ./helloworld
0.001 [ Info ][main()] ./helloworld manually raises LogLevel to 'Info' (5).
See also file 'orocos.log'.
0.002 [ Info ][main()] **** Creating the 'Hello' component ****
0.002 [ Info ][Thread] Creating Thread for scheduler: 0
0.002 [ Info ][Hello] Thread created with scheduler type '0', priority 0 and
period 0.
0.002 [ Info ][Thread] Creating Thread for scheduler: 0
0.002 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.003 [ Info ][Thread] Creating Thread for scheduler: 1
0.003 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.003 [ Debug ][Activity]
0.003 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.003 [ Info ][Activity] Thread created with scheduler type '0', priority 0
and period 0.01.
0.027 [ Info ][main()] **** Starting the 'Hello' component ****
0.027 [ Info ][main()] **** Using the 'Hello' component ****
0.027 [ Info ][main()] **** Reading a Property: ****
0.027 [ Info ][main()] the_property = Hello World
0.027 [ Info ][main()] **** Sending a Method: ****
0.027 [ Info ][main()] Sending Method : 1
0.027 [ Info ][main()] **** Calling a Method: ****
0.027 [ Info ][main()] Calling Method : Hello World
0.027 [ Info ][main()] **** Starting the TaskBrowser ****
0.027 [ Info ][Thread] Creating Thread for scheduler: 0
0.027 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority
0 and period 0.

TaskBrowser connects to all data ports of Hello
0.027 [ Info ][TaskBrowser] Connected output port outport successfully to
outport
0.027 [ Info ][TaskBrowser] Connected output port inport successfully to
inport
Switched to : Hello
Saying Hello 'World' in own thread.
0.032 [ Info ][main()] Entering Task Hello

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Hello [R]> 1+1
Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
Hello [R]>

###########################################

However, if I execute it with:

rtt-exercises/helloworld$ /usr/local/orocos/bin/deployer-gnulinux -s
helloworld.xml -linfo
0.000 [ Info ][Logger] No RTT_COMPONENT_PATH set.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority 0
and period 0.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.013 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set.
Using default.
0.013 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set
to /usr/local/orocos/lib/orocos
0.013 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and
components...
0.013 [ Info ][DeploymentComponent::configure] Loading plugin libraries from
directory /usr/local/orocos/lib/orocos/types ...
0.201 [ Info ][TypekitRepository::Import] Loading Typekit rtt-types.
0.203 [ Info ][DeploymentComponent::configure] Loaded RTT
TypeKit/Transport 'rtt-types' from 'rtt-typekit-gnulinux'
0.242 [ Info ][TypekitRepository::Import] Loading Transport
mqueue://rtt-types.
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for array
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for bool
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for char
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for double
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for float
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for int
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for uint
0.242 [ Info ][TypekitRepository::Import] Transport mqueue did not install a
fallback handler for 'unknown_t'.
0.242 [ Info ][DeploymentComponent::configure] Loaded RTT
TypeKit/Transport 'rtt-mqueue-transport' from 'rtt-transport-mqueue-gnulinux'
0.826 [ Info ][TypekitRepository::Import] Loading Transport
CORBA://rtt-types.
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for ConnPolicy
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for TaskContext
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for array
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for bool
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for double
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for float
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for int
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for string
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for uint
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for void
0.827 [ Info ][DeploymentComponent::configure] Loaded RTT
TypeKit/Transport 'rtt-corba-types' from 'rtt-transport-corba-gnulinux'
0.827 [ Info ][DeploymentComponent::configure] Loading plugin libraries from
directory /usr/local/orocos/lib/orocos/plugins ...
0.827 [ Info ][DeploymentComponent::configure] Loaded RTT
Plugin 'marshalling' from 'rtt-marshalling-gnulinux'
0.827 [ Info ][DeploymentComponent::configure] Loaded RTT Plugin 'scripting'
from 'rtt-scripting-gnulinux'
0.827 [ Info ][DeploymentComponent::configure] Importing component libraries
from directory /usr/local/orocos/lib/orocos ...
0.852 [ Info ][DeploymentComponent::configure] Loaded multi component
library '/usr/local/orocos/lib/orocos/liborocos-timer-gnulinux.so'
0.883 [ Info ][DeploymentComponent::configure] Loaded component
type 'OCL::HelloWorld'
0.919 [ Info ][DeploymentComponent::configure] Loaded multi component
library '/usr/local/orocos/lib/orocos/liborocos-reporting-gnulinux.so'
0.974 [ Info ][DeploymentComponent::configure] Loaded multi component
library '/usr/local/orocos/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.974 [ Info ][DeploymentComponent::loadComponents]
Loading 'helloworld.xml'.
1.127 [ Info ][DeploymentComponent::loadComponents] Validating new
configuration...
1.197 [ Info ][Thread] Creating Thread for scheduler: 0
1.197 [ Info ][HelloWorld] Thread created with scheduler type '0', priority
0 and period 0.
1.197 [ Info ][Thread] Creating Thread for scheduler: 1
1.197 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
1.197 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
1.197 [ Info ][Activity] Thread created with scheduler type '0', priority 0
and period 0.1.
1.208 [ Info ][DeploymentComponent::loadComponent] **** Starting the 'Hello'
component ****
1.208 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as new
peer: OK.
1.208 [ Warning][DeploymentComponent::configureComponents] Component
HelloWorld doesn't need to be configured (already Running).
1.209 [ Info ][DeploymentComponent::configureComponents] Configuration
successful.
1.209 [ Info ][DeploymentComponent::startComponents] Startup of 'AutoStart'
components successful.
1.209 [ Info ][Logger] Successfully loaded, configured and started
components from helloworld.xml
1.209 [ Info ][Thread] Creating Thread for scheduler: 0
1.209 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority
0 and period 0.
Switched to : Deployer
1.210 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> cd HelloWorld

TaskBrowser connects to all data ports of HelloWorld
7.301 [ Info ][TaskBrowser] Connected output port the_results successfully
to the_results
7.301 [ Info ][TaskBrowser] Connected output port the_buffer_port
successfully to the_buffer_port
Switched to : HelloWorld
HelloWorld [R]> 1+1
= 2

the example run as in the manual. Is this normal?

regards,

Leo

Fatal Semantic error: Cannot apply binary operation

On Wednesday 03 November 2010 17:04:31 Leopold Palomo-Avellaneda wrote:
> Hi,
>
> I have compiled and installed toolchain and I'm having an strange (at least
> for me) behaviour. If i follow the components manual, when I execute he
> helloworld I got:
>
> ###########################################
> rtt-exercises/helloworld$ ./helloworld
> 0.001 [ Info ][main()] ./helloworld manually raises LogLevel to 'Info'
> (5). See also file 'orocos.log'.
> 0.002 [ Info ][main()] **** Creating the 'Hello' component ****
> 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.002 [ Info ][Hello] Thread created with scheduler type '0', priority 0
> and period 0.
> 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.002 [ Info ][GlobalEngine] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.003 [ Info ][Thread] Creating Thread for scheduler: 1
> 0.003 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.003 [ Debug ][Activity]
> 0.003 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.003 [ Info ][Activity] Thread created with scheduler type '0', priority
> 0 and period 0.01.
> 0.027 [ Info ][main()] **** Starting the 'Hello' component ****
> 0.027 [ Info ][main()] **** Using the 'Hello' component ****
> 0.027 [ Info ][main()] **** Reading a Property: ****
> 0.027 [ Info ][main()] the_property = Hello World
> 0.027 [ Info ][main()] **** Sending a Method: ****
> 0.027 [ Info ][main()] Sending Method : 1
> 0.027 [ Info ][main()] **** Calling a Method: ****
> 0.027 [ Info ][main()] Calling Method : Hello World
> 0.027 [ Info ][main()] **** Starting the TaskBrowser ****
> 0.027 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.027 [ Info ][TaskBrowser] Thread created with scheduler type '0',
> priority 0 and period 0.
>
> TaskBrowser connects to all data ports of Hello
> 0.027 [ Info ][TaskBrowser] Connected output port outport successfully to
> outport
> 0.027 [ Info ][TaskBrowser] Connected output port inport successfully to
> inport
> Switched to : Hello
> Saying Hello 'World' in own thread.
> 0.032 [ Info ][main()] Entering Task Hello
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change variables.
> (type 'help' for instructions and 'ls' for context info)
>
> TAB completion and HISTORY is available ('bash' like)
>
> Hello [R]> 1+1
> Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
> Hello [R]>

This has been reported before. The problem is that the pluginloader is not
aware of the install path of the rtt, and fails to locate the typekits for
RTT. We will add a solution just like with the component loader.

The workaround is to set your RTT_COMPONENT_PATH to the lib directory of your
RTT install path.

Peter

Fatal Semantic error: Cannot apply binary operation

Hi,

I installed Orocos toolchain in ROS, and I got the same problem with
Helloworld 1+1. It even happened in both cases: rosrun ocl helloworld and
with deployer.

I also tried to set RTT_COMPONENT_PATH to `rospack find rtt`/install/lib and
/lib/orocos, but it still not worked and I even got [ ERROR ]
[DeploymentComponent::configure].

Here I sent feedback when run deployer without setting RTT_COMPONENT_PATH.

putus@UnixPC:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$
rosrun ocl deployer-gnulinux -s helloworld.xml -linfo
[rosrun] You have chosen a non-unique executable, please pick one of the
following:
1)
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
2)
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
#? 2
0.000 [ Info ][Logger] Real-time memory: 17232 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:
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority
0 and period 0.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.002 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set.
Using default.
0.002 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set
to
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
0.002 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and
components...
0.002 [ Info ][DeploymentComponent::loadComponents] Loading
'helloworld.xml' in group 0.
0.003 [ Info ][DeploymentComponent::loadComponents] Validating new
configuration...
0.030 [ Info ][DeploymentComponent::import] Importing component libraries
from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.034 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
0.036 [ Info ][DeploymentComponent::import] Loaded component type
'OCL::LuaComponent'
0.042 [ Info ][DeploymentComponent::import] Loaded component type
'OCL::HelloWorld'
0.055 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
0.060 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
0.063 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.063 [ Info ][DeploymentComponent::import] Importing plugins and typekits
from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.063 [ Info ][DeploymentComponent::import] Loading plugin libraries from
directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
0.080 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.088 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport
'OCLTypekit' from 'ocl-gnulinux'
0.088 [ Info ][DeploymentComponent::import] Loading plugin libraries from
directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
0.090 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from
'os-gnulinux'
0.091 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print'
from 'print-gnulinux'
0.093 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from
'rttlua-plugin-gnulinux'
0.093 [ ERROR ][TypeInfoName] Can not compose unknown_t.
0.094 [ Info ][Thread] Creating Thread for scheduler: 0
0.094 [ Info ][HelloWorld] Thread created with scheduler type '0',
priority 0 and period 0.
0.094 [ Info ][Thread] Creating Thread for scheduler: 1
0.094 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.094 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.094 [ Info ][Activity] Thread created with scheduler type '0', priority
0 and period 0.1.
0.094 [ Info ][DeploymentComponent::loadComponent] **** Starting the
'Hello' component ****
0.094 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as
new peer: OK.
0.095 [ Info ][DeploymentComponent::loadComponents] Added component
HelloWorld to group 0
0.095 [ Info ][DeploymentComponent::configureComponents] Configuring
components in group 0
0.095 [ Warning][DeploymentComponent::configureComponents] Component
HelloWorld doesn't need to be configured (already Running).
0.095 [ Info ][DeploymentComponent::configureComponents] Configuration
successful for group 0.
0.095 [ Info ][DeploymentComponent::startComponentsGroup] Startup of
'AutoStart' components successful for group 0.
0.095 [ Info ][Logger] Successfully loaded, configured and started
components from helloworld.xml
0.095 [ Info ][Thread] Creating Thread for scheduler: 0
0.095 [ Info ][TaskBrowser] Thread created with scheduler type '0',
priority 0 and period 0.
Switched to : Deployer
0.095 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> 1+1
Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
Deployer [S]>

How can I solve this problem?

On Thu, Nov 4, 2010 at 2:02 PM, Peter Soetens <peter [..] ...>wrote:

> On Wednesday 03 November 2010 17:04:31 Leopold Palomo-Avellaneda wrote:
> > Hi,
> >
> > I have compiled and installed toolchain and I'm having an strange (at
> least
> > for me) behaviour. If i follow the components manual, when I execute he
> > helloworld I got:
> >
> > ###########################################
> > rtt-exercises/helloworld$ ./helloworld
> > 0.001 [ Info ][main()] ./helloworld manually raises LogLevel to 'Info'
> > (5). See also file 'orocos.log'.
> > 0.002 [ Info ][main()] **** Creating the 'Hello' component ****
> > 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
> > 0.002 [ Info ][Hello] Thread created with scheduler type '0', priority
> 0
> > and period 0.
> > 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
> > 0.002 [ Info ][GlobalEngine] Thread created with scheduler type '0',
> > priority 0 and period 0.
> > 0.003 [ Info ][Thread] Creating Thread for scheduler: 1
> > 0.003 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
> > non-privileged users..
> > 0.003 [ Debug ][Activity]
> > 0.003 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
> > non-privileged users..
> > 0.003 [ Info ][Activity] Thread created with scheduler type '0',
> priority
> > 0 and period 0.01.
> > 0.027 [ Info ][main()] **** Starting the 'Hello' component ****
> > 0.027 [ Info ][main()] **** Using the 'Hello' component ****
> > 0.027 [ Info ][main()] **** Reading a Property: ****
> > 0.027 [ Info ][main()] the_property = Hello World
> > 0.027 [ Info ][main()] **** Sending a Method: ****
> > 0.027 [ Info ][main()] Sending Method : 1
> > 0.027 [ Info ][main()] **** Calling a Method: ****
> > 0.027 [ Info ][main()] Calling Method : Hello World
> > 0.027 [ Info ][main()] **** Starting the TaskBrowser ****
> > 0.027 [ Info ][Thread] Creating Thread for scheduler: 0
> > 0.027 [ Info ][TaskBrowser] Thread created with scheduler type '0',
> > priority 0 and period 0.
> >
> > TaskBrowser connects to all data ports of Hello
> > 0.027 [ Info ][TaskBrowser] Connected output port outport successfully
> to
> > outport
> > 0.027 [ Info ][TaskBrowser] Connected output port inport successfully
> to
> > inport
> > Switched to : Hello
> > Saying Hello 'World' in own thread.
> > 0.032 [ Info ][main()] Entering Task Hello
> >
> > This console reader allows you to browse and manipulate TaskContexts.
> > You can type in an operation, expression, create or change variables.
> > (type 'help' for instructions and 'ls' for context info)
> >
> > TAB completion and HISTORY is available ('bash' like)
> >
> > Hello [R]> 1+1
> > Fatal Semantic error: Cannot apply binary operation unknown_t +
> unknown_t.
> > Hello [R]>
>
> This has been reported before. The problem is that the pluginloader is not
> aware of the install path of the rtt, and fails to locate the typekits for
> RTT. We will add a solution just like with the component loader.
>
> The workaround is to set your RTT_COMPONENT_PATH to the lib directory of
> your
> RTT install path.
>
> Peter
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Ruben Smits's picture

Fatal Semantic error: Cannot apply binary operation

On 23 Mar 2011, at 23:58, Tien Thanh wrote:

Hi,

I installed Orocos toolchain in ROS, and I got the same problem with Helloworld 1+1. It even happened in both cases: rosrun ocl helloworld and with deployer.

I also tried to set RTT_COMPONENT_PATH to `rospack find rtt`/install/lib and /lib/orocos, but it still not worked and I even got [ ERROR ]

setting it to `rospack find rtt`/install/lib/orocos should do the trick.

Can you run with -ldebug and show the output again?

-- Ruben

[DeploymentComponent::configure].

Here I sent feedback when run deployer without setting RTT_COMPONENT_PATH.

putus@UnixPC:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$ rosrun ocl deployer-gnulinux -s helloworld.xml -linfo
[rosrun] You have chosen a non-unique executable, please pick one of the following:
1) /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
2) /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
#? 2
0.000 [ Info ][Logger] Real-time memory: 17232 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: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority 0 and period 0.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0', priority 0 and period 0.
0.002 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set. Using default.
0.002 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set to /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
0.002 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and components...
0.002 [ Info ][DeploymentComponent::loadComponents] Loading 'helloworld.xml' in group 0.
0.003 [ Info ][DeploymentComponent::loadComponents] Validating new configuration...
0.030 [ Info ][DeploymentComponent::import] Importing component libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.034 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
0.036 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::LuaComponent'
0.042 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::HelloWorld'
0.055 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
0.060 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
0.063 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.063 [ Info ][DeploymentComponent::import] Importing plugins and typekits from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.063 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
0.080 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.088 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport 'OCLTypekit' from 'ocl-gnulinux'
0.088 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
0.090 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from 'os-gnulinux'
0.091 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print' from 'print-gnulinux'
0.093 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from 'rttlua-plugin-gnulinux'
0.093 [ ERROR ][TypeInfoName] Can not compose unknown_t.
0.094 [ Info ][Thread] Creating Thread for scheduler: 0
0.094 [ Info ][HelloWorld] Thread created with scheduler type '0', priority 0 and period 0.
0.094 [ Info ][Thread] Creating Thread for scheduler: 1
0.094 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for non-privileged users..
0.094 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for non-privileged users..
0.094 [ Info ][Activity] Thread created with scheduler type '0', priority 0 and period 0.1.
0.094 [ Info ][DeploymentComponent::loadComponent] **** Starting the 'Hello' component ****
0.094 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as new peer: OK.
0.095 [ Info ][DeploymentComponent::loadComponents] Added component HelloWorld to group 0
0.095 [ Info ][DeploymentComponent::configureComponents] Configuring components in group 0
0.095 [ Warning][DeploymentComponent::configureComponents] Component HelloWorld doesn't need to be configured (already Running).
0.095 [ Info ][DeploymentComponent::configureComponents] Configuration successful for group 0.
0.095 [ Info ][DeploymentComponent::startComponentsGroup] Startup of 'AutoStart' components successful for group 0.
0.095 [ Info ][Logger] Successfully loaded, configured and started components from helloworld.xml
0.095 [ Info ][Thread] Creating Thread for scheduler: 0
0.095 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority 0 and period 0.
Switched to : Deployer
0.095 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> 1+1
Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
Deployer [S]>

How can I solve this problem?

On Thu, Nov 4, 2010 at 2:02 PM, Peter Soetens <peter [..] ...peter [..] ...>> wrote:
On Wednesday 03 November 2010 17:04:31 Leopold Palomo-Avellaneda wrote:
> Hi,
>
> I have compiled and installed toolchain and I'm having an strange (at least
> for me) behaviour. If i follow the components manual, when I execute he
> helloworld I got:
>
> ###########################################
> rtt-exercises/helloworld$ ./helloworld
> 0.001 [ Info ][main()] ./helloworld manually raises LogLevel to 'Info'
> (5). See also file 'orocos.log'.
> 0.002 [ Info ][main()] **** Creating the 'Hello' component ****
> 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.002 [ Info ][Hello] Thread created with scheduler type '0', priority 0
> and period 0.
> 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.002 [ Info ][GlobalEngine] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.003 [ Info ][Thread] Creating Thread for scheduler: 1
> 0.003 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.003 [ Debug ][Activity]
> 0.003 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.003 [ Info ][Activity] Thread created with scheduler type '0', priority
> 0 and period 0.01.
> 0.027 [ Info ][main()] **** Starting the 'Hello' component ****
> 0.027 [ Info ][main()] **** Using the 'Hello' component ****
> 0.027 [ Info ][main()] **** Reading a Property: ****
> 0.027 [ Info ][main()] the_property = Hello World
> 0.027 [ Info ][main()] **** Sending a Method: ****
> 0.027 [ Info ][main()] Sending Method : 1
> 0.027 [ Info ][main()] **** Calling a Method: ****
> 0.027 [ Info ][main()] Calling Method : Hello World
> 0.027 [ Info ][main()] **** Starting the TaskBrowser ****
> 0.027 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.027 [ Info ][TaskBrowser] Thread created with scheduler type '0',
> priority 0 and period 0.
>
> TaskBrowser connects to all data ports of Hello
> 0.027 [ Info ][TaskBrowser] Connected output port outport successfully to
> outport
> 0.027 [ Info ][TaskBrowser] Connected output port inport successfully to
> inport
> Switched to : Hello
> Saying Hello 'World' in own thread.
> 0.032 [ Info ][main()] Entering Task Hello
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change variables.
> (type 'help' for instructions and 'ls' for context info)
>
> TAB completion and HISTORY is available ('bash' like)
>
> Hello [R]> 1+1
> Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
> Hello [R]>

This has been reported before. The problem is that the pluginloader is not
aware of the install path of the rtt, and fails to locate the typekits for
RTT. We will add a solution just like with the component loader.

The workaround is to set your RTT_COMPONENT_PATH to the lib directory of your
RTT install path.

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...<mailto:Orocos-Users [..] ...>
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

--
Tien Thanh Nguyen

<ATT00001..txt>

Fatal Semantic error: Cannot apply binary operation

Hi,

I set RTT_COMPONENT_PATH to `rospack find rtt`/install/lib/orocos and it
doesn't work. Here is my output:

tienthanh@tienthanh-pc:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$
rosrun ocl deployer-gnulinux -s helloworld.xml -ldebug
[rosrun] You have chosen a non-unique executable, please pick one of the
following:
1)
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
2)
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
#? 2
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 [ Debug ][Logger] MainThread started.
0.000 [ Debug ][Logger] Starting StartStopManager.
0.000 [ Info ][Logger] No RTT_COMPONENT_PATH set. Using default:
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.000 [ Debug ][Logger] PluginLoader Created
0.000 [ Debug ][Logger] No such directory:
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins
0.001 [ Debug ][Logger] No such directory:
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins/gnulinux
0.001 [ Debug ][Logger] No such directory:
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types
0.001 [ Debug ][Logger] No such directory:
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types/gnulinux
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Debug ][Thread] Created Posix thread 140155490211584
0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority
0 and period 0.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Debug ][GlobalEngine] Created Posix thread 140155481818880
0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.003 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set.
Using default.
0.003 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set
to
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
0.003 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and
components...
0.003 [ Debug ][DeploymentComponent::configure] No such directory:
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
0.003 [ Debug ][DeploymentComponent::configure] No such directory:
/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/gnulinux
0.003 [ Debug ][Logger] Not using site file.
0.003 [ Info ][DeploymentComponent::loadComponents] Loading
'helloworld.xml' in group 0.
0.019 [ Info ][DeploymentComponent::loadComponents] Validating new
configuration...
0.061 [ Info ][DeploymentComponent::import] Importing component libraries
from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.062 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...not
a regular file: ignored.
0.062 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so.2.2.0
...not a .so library: ignored.
0.062 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-lua-gnulinux.so.2.2.0
...not a .so library: ignored.
0.062 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so.2.2.0
...not a .so library: ignored.
0.107 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so
...Succesfully loaded orocos-timer-gnulinux
0.107 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
0.107 [ Debug ][DeploymentComponent::import] Components:
OCL::TimerComponent
0.107 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins
...not a regular file: ignored.
0.140 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so
...Succesfully loaded orocos-logging-gnulinux
0.140 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
0.140 [ Debug ][DeploymentComponent::import] Components:
OCL::logging::Appender OCL::logging::FileAppender
OCL::logging::LoggingService OCL::logging::OstreamAppender
0.180 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-lua-gnulinux.so
...Succesfully loaded orocos-lua-gnulinux
0.181 [ Info ][DeploymentComponent::import] Loaded component type
'OCL::LuaComponent'
0.181 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-helloworld-gnulinux.so.2.2.0
...not a .so library: ignored.
0.213 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so
...Succesfully loaded orocos-reporting-gnulinux
0.213 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
0.213 [ Debug ][DeploymentComponent::import] Components:
OCL::ConsoleReporting OCL::FileReporting OCL::TcpReporting
0.213 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so.2.2.0
...not a .so library: ignored.
0.214 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so.2.2.0
...not a .so library: ignored.
0.241 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so
...Succesfully loaded orocos-ocl-common-gnulinux
0.241 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.241 [ Debug ][DeploymentComponent::import] Components:
OCL::HMIConsoleOutput TaskContext
0.269 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-helloworld-gnulinux.so
...Succesfully loaded orocos-helloworld-gnulinux
0.269 [ Info ][DeploymentComponent::import] Loaded component type
'OCL::HelloWorld'
0.269 [ Info ][DeploymentComponent::import] Importing plugins and typekits
from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.269 [ Info ][DeploymentComponent::import] Loading plugin libraries from
directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
0.332 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/libocl-gnulinux.so
...Found library libocl-gnulinux.so
0.332 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'strings'
to the Orocos Type System.
0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'bools' to
the Orocos Type System.
0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'ints' to
the Orocos Type System.
0.333 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport
'OCLTypekit' from 'ocl-gnulinux'
0.333 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/libocl-gnulinux.so.2.2.0
...not a .so library: ignored.
0.333 [ Debug ][DeploymentComponent::import] No such directory:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/gnulinux
0.333 [ Info ][DeploymentComponent::import] Loading plugin libraries from
directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
0.333 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libos-gnulinux.so.2.2.0
...not a .so library: ignored.
0.333 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/librttlua-plugin-gnulinux.so.2.2.0
...not a .so library: ignored.
0.363 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libos-gnulinux.so
...Found library libos-gnulinux.so
0.363 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from
'os-gnulinux'
0.387 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/librttlua-plugin-gnulinux.so
...Found library librttlua-plugin-gnulinux.so
0.387 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from
'rttlua-plugin-gnulinux'
0.410 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libprint-gnulinux.so
...Found library libprint-gnulinux.so
0.410 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print'
from 'print-gnulinux'
0.410 [ Debug ][DeploymentComponent::import] Scanning file
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libprint-gnulinux.so.2.2.0
...not a .so library: ignored.
0.410 [ Debug ][DeploymentComponent::import] No such directory:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/gnulinux
0.410 [ Debug ][DeploymentComponent::import] No such directory:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/gnulinux
0.412 [ ERROR ][TypeInfoName] Can not compose unknown_t.
0.412 [ Debug ][DeploymentComponent::loadComponent] Trying to create
component HelloWorld of type OCL::HelloWorld
0.412 [ Debug ][DeploymentComponent::loadComponent] Found factory for
Component type OCL::HelloWorld
0.412 [ Info ][Thread] Creating Thread for scheduler: 0
0.412 [ Debug ][Thread] Created Posix thread 140155443820288
0.412 [ Info ][HelloWorld] Thread created with scheduler type '0',
priority 0 and period 0.
0.413 [ Info ][Thread] Creating Thread for scheduler: 1
0.413 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.413 [ Debug ][Thread] Created Posix thread 140155435427584
0.413 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.414 [ Info ][Activity] Thread created with scheduler type '0', priority
0 and period 0.1.
0.414 [ Debug ][~Thread] Terminating HelloWorld
0.414 [ Debug ][Thread] done
0.414 [ Info ][DeploymentComponent::loadComponent] **** Starting the
'Hello' component ****
0.414 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as
new peer: OK.
0.414 [ Debug ][updateProperty] updateProperties: creating Property
unknown_t Server.
0.414 [ Debug ][updateProperty] updateProperties: creating Property
unknown_t UseNamingService.
0.414 [ Debug ][updateProperty] Found Property 'HelloWorld': update done.
0.414 [ Info ][DeploymentComponent::loadComponents] Added component
HelloWorld to group 0
0.414 [ Info ][DeploymentComponent::configureComponents] Configuring
components in group 0
0.415 [ Warning][DeploymentComponent::configureComponents] Component
HelloWorld doesn't need to be configured (already Running).
0.415 [ Info ][DeploymentComponent::configureComponents] Configuration
successful for group 0.
0.415 [ Info ][DeploymentComponent::startComponentsGroup] Startup of
'AutoStart' components successful for group 0.
0.415 [ Info ][Logger] Successfully loaded, configured and started
components from helloworld.xml
0.415 [ Info ][Thread] Creating Thread for scheduler: 0
0.415 [ Debug ][Thread] Created Posix thread 140155443820288
0.415 [ Info ][TaskBrowser] Thread created with scheduler type '0',
priority 0 and period 0.
Switched to : Deployer
0.415 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> 1+1
Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
Deployer [S]> quit

31.603 [ Debug ][Logger] TLSF bytes allocated=20480 overhead=6384
max-used=6384 currently-used=6384 still-allocated=0
31.603 [ Debug ][~Thread] Terminating TaskBrowser
31.604 [ Debug ][Thread] done
31.604 [ Info ][DeploymentComponent::stopComponentsGroup] Stopping group 0
31.614 [ Info ][DeploymentComponent::stopComponentsGroup] Stopped
HelloWorld
31.614 [ Info ][DeploymentComponent::cleanupComponentsGroup] Cleaning up
group 0
31.614 [ Info ][DeploymentComponent::cleanupComponentsGroup] Cleaned up
HelloWorld
31.614 [ Info ][Logger] Unloading group 0
31.614 [ Debug ][Logger] Disconnecting HelloWorld
31.614 [ Debug ][Logger] Terminating HelloWorld
31.714 [ Debug ][~Thread] Terminating Activity
31.714 [ Debug ][Thread] done
31.714 [ Info ][Logger] Disconnected and destroyed HelloWorld
31.714 [ Info ][Logger] Kick-out of group 0 successful.
31.714 [ Debug ][~Thread] Terminating Deployer
31.714 [ Debug ][Thread] done
31.714 [ Debug ][~Thread] Terminating GlobalEngine
31.715 [ Debug ][Thread] done
31.715 [ Debug ][Logger] Stopping StartStopManager.
31.715 [ Debug ][Logger] PluginLoader Destroyed
31.715 [ Debug ][Logger] Stopping MainThread.
31.715 [ Info ][Logger] Orocos Logging Deactivated.
TLSF bytes allocated=20480 overhead=6384 max-used=6384 currently-used=6384
still-allocated=0

On Thu, Mar 24, 2011 at 8:51 AM, Ruben Smits
<Ruben [dot] Smits [..] ...>wrote:

>
> On 23 Mar 2011, at 23:58, Tien Thanh wrote:
>
> Hi,
>
> I installed Orocos toolchain in ROS, and I got the same problem with
> Helloworld 1+1. It even happened in both cases: rosrun ocl helloworld and
> with deployer.
>
> I also tried to set RTT_COMPONENT_PATH to `rospack find rtt`/install/lib
> and /lib/orocos, but it still not worked and I even got [ ERROR ]
>
>
> setting it to `rospack find rtt`/install/lib/orocos should do the trick.
>
> Can you run with -ldebug and show the output again?
>
> -- Ruben
>
> [DeploymentComponent::configure].
>
> Here I sent feedback when run deployer without setting RTT_COMPONENT_PATH.
>
> putus@UnixPC:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$
> rosrun ocl deployer-gnulinux -s helloworld.xml -linfo
> [rosrun] You have chosen a non-unique executable, please pick one of the
> following:
> 1)
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
> 2)
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
> #? 2
> 0.000 [ Info ][Logger] Real-time memory: 17232 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:
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
> 0.001 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority
> 0 and period 0.
> 0.001 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.002 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set.
> Using default.
> 0.002 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set
> to
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
> 0.002 [ Info ][DeploymentComponent::configure] Re-scanning for plugins
> and components...
> 0.002 [ Info ][DeploymentComponent::loadComponents] Loading
> 'helloworld.xml' in group 0.
> 0.003 [ Info ][DeploymentComponent::loadComponents] Validating new
> configuration...
> 0.030 [ Info ][DeploymentComponent::import] Importing component libraries
> from directory
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
> 0.034 [ Info ][DeploymentComponent::import] Loaded multi component
> library
> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
> 0.036 [ Info ][DeploymentComponent::import] Loaded component type
> 'OCL::LuaComponent'
> 0.042 [ Info ][DeploymentComponent::import] Loaded component type
> 'OCL::HelloWorld'
> 0.055 [ Info ][DeploymentComponent::import] Loaded multi component
> library
> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
> 0.060 [ Info ][DeploymentComponent::import] Loaded multi component
> library
> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
> 0.063 [ Info ][DeploymentComponent::import] Loaded multi component
> library
> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
> 0.063 [ Info ][DeploymentComponent::import] Importing plugins and
> typekits from directory
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
> 0.063 [ Info ][DeploymentComponent::import] Loading plugin libraries from
> directory
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
> 0.080 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
> 0.088 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport
> 'OCLTypekit' from 'ocl-gnulinux'
> 0.088 [ Info ][DeploymentComponent::import] Loading plugin libraries from
> directory
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
> 0.090 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from
> 'os-gnulinux'
> 0.091 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print'
> from 'print-gnulinux'
> 0.093 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from
> 'rttlua-plugin-gnulinux'
> 0.093 [ ERROR ][TypeInfoName] Can not compose unknown_t.
> 0.094 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.094 [ Info ][HelloWorld] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.094 [ Info ][Thread] Creating Thread for scheduler: 1
> 0.094 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.094 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.094 [ Info ][Activity] Thread created with scheduler type '0', priority
> 0 and period 0.1.
> 0.094 [ Info ][DeploymentComponent::loadComponent] **** Starting the
> 'Hello' component ****
> 0.094 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as
> new peer: OK.
> 0.095 [ Info ][DeploymentComponent::loadComponents] Added component
> HelloWorld to group 0
> 0.095 [ Info ][DeploymentComponent::configureComponents] Configuring
> components in group 0
> 0.095 [ Warning][DeploymentComponent::configureComponents] Component
> HelloWorld doesn't need to be configured (already Running).
> 0.095 [ Info ][DeploymentComponent::configureComponents] Configuration
> successful for group 0.
> 0.095 [ Info ][DeploymentComponent::startComponentsGroup] Startup of
> 'AutoStart' components successful for group 0.
> 0.095 [ Info ][Logger] Successfully loaded, configured and started
> components from helloworld.xml
> 0.095 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.095 [ Info ][TaskBrowser] Thread created with scheduler type '0',
> priority 0 and period 0.
> Switched to : Deployer
> 0.095 [ Info ][Logger] Entering Task Deployer
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change variables.
> (type 'help' for instructions and 'ls' for context info)
>
> TAB completion and HISTORY is available ('bash' like)
>
> Deployer [S]> 1+1
> Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
> Deployer [S]>
>
> How can I solve this problem?
>
> On Thu, Nov 4, 2010 at 2:02 PM, Peter Soetens <peter [..] ...>wrote:
>
>> On Wednesday 03 November 2010 17:04:31 Leopold Palomo-Avellaneda wrote:
>> > Hi,
>> >
>> > I have compiled and installed toolchain and I'm having an strange (at
>> least
>> > for me) behaviour. If i follow the components manual, when I execute he
>> > helloworld I got:
>> >
>> > ###########################################
>> > rtt-exercises/helloworld$ ./helloworld
>> > 0.001 [ Info ][main()] ./helloworld manually raises LogLevel to 'Info'
>> > (5). See also file 'orocos.log'.
>> > 0.002 [ Info ][main()] **** Creating the 'Hello' component ****
>> > 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
>> > 0.002 [ Info ][Hello] Thread created with scheduler type '0', priority
>> 0
>> > and period 0.
>> > 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
>> > 0.002 [ Info ][GlobalEngine] Thread created with scheduler type '0',
>> > priority 0 and period 0.
>> > 0.003 [ Info ][Thread] Creating Thread for scheduler: 1
>> > 0.003 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
>> > non-privileged users..
>> > 0.003 [ Debug ][Activity]
>> > 0.003 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
>> > non-privileged users..
>> > 0.003 [ Info ][Activity] Thread created with scheduler type '0',
>> priority
>> > 0 and period 0.01.
>> > 0.027 [ Info ][main()] **** Starting the 'Hello' component ****
>> > 0.027 [ Info ][main()] **** Using the 'Hello' component ****
>> > 0.027 [ Info ][main()] **** Reading a Property: ****
>> > 0.027 [ Info ][main()] the_property = Hello World
>> > 0.027 [ Info ][main()] **** Sending a Method: ****
>> > 0.027 [ Info ][main()] Sending Method : 1
>> > 0.027 [ Info ][main()] **** Calling a Method: ****
>> > 0.027 [ Info ][main()] Calling Method : Hello World
>> > 0.027 [ Info ][main()] **** Starting the TaskBrowser ****
>> > 0.027 [ Info ][Thread] Creating Thread for scheduler: 0
>> > 0.027 [ Info ][TaskBrowser] Thread created with scheduler type '0',
>> > priority 0 and period 0.
>> >
>> > TaskBrowser connects to all data ports of Hello
>> > 0.027 [ Info ][TaskBrowser] Connected output port outport successfully
>> to
>> > outport
>> > 0.027 [ Info ][TaskBrowser] Connected output port inport successfully
>> to
>> > inport
>> > Switched to : Hello
>> > Saying Hello 'World' in own thread.
>> > 0.032 [ Info ][main()] Entering Task Hello
>> >
>> > This console reader allows you to browse and manipulate TaskContexts.
>> > You can type in an operation, expression, create or change variables.
>> > (type 'help' for instructions and 'ls' for context info)
>> >
>> > TAB completion and HISTORY is available ('bash' like)
>> >
>> > Hello [R]> 1+1
>> > Fatal Semantic error: Cannot apply binary operation unknown_t +
>> unknown_t.
>> > Hello [R]>
>>
>> This has been reported before. The problem is that the pluginloader is not
>> aware of the install path of the rtt, and fails to locate the typekits for
>> RTT. We will add a solution just like with the component loader.
>>
>> The workaround is to set your RTT_COMPONENT_PATH to the lib directory of
>> your
>> RTT install path.
>>
>> Peter
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>
>
>
> --
> Tien Thanh Nguyen
>
> <ATT00001..txt>
>
>
>

Fatal Semantic error: Cannot apply binary operation

Hi,

Last time, I set it in the bashrc file and it seems to not recognize the new
path. I do it again in terminal with export, and it works.
Here is the output:

tienthanh@tienthanh-pc:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$
export RTT_COMPONENT_PATH=`rospack find rtt`/install/lib/orocos
tienthanh@tienthanh-pc:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$
rosrun ocl deployer-gnulinux -s helloworld.xml -linfo
[rosrun] You have chosen a non-unique executable, please pick one of the
following:
1)
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
2)
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
#? 2
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] RTT_COMPONENT_PATH was set to:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos .
Searching in:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos:/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.000 [ Info ][Logger] Loading plugin libraries from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins
...
0.001 [ Info ][Logger] Loaded RTT Service 'scripting' from
'rtt-scripting-gnulinux'
0.001 [ Info ][Logger] Loaded RTT Service 'marshalling' from
'rtt-marshalling-gnulinux'
0.001 [ Info ][Logger] Loading plugin libraries from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types
...
0.026 [ Info ][TypekitRepository::Import] Loading Transport
mqueue://rtt-types.
0.027 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-mqueue-transport'
from 'rtt-transport-mqueue-gnulinux'
0.214 [ Info ][TypekitRepository::Import] Loading Typekit rtt-types.
0.214 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for int
0.215 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for uint
0.215 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for double
0.215 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for float
0.246 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for char
0.246 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for bool
0.249 [ Info ][TypekitRepository::Import] Registered new 'mqueue'
transport for array
0.249 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-types' from
'rtt-typekit-gnulinux'
0.249 [ Info ][Thread] Creating Thread for scheduler: 0
0.250 [ Info ][Deployer] Thread created with scheduler type '0', priority
0 and period 0.
0.250 [ Info ][Thread] Creating Thread for scheduler: 0
0.250 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.251 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set
to /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.251 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and
components...
0.251 [ Info ][DeploymentComponent::configure] Importing component
libraries from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos ...
0.251 [ Info ][DeploymentComponent::configure] Importing plugins and
typekits from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos ...
0.251 [ Info ][DeploymentComponent::configure] Loading plugin libraries
from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types
...
0.251 [ Info ][DeploymentComponent::configure] Loading plugin libraries
from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins
...
0.252 [ Info ][DeploymentComponent::loadComponents] Loading
'helloworld.xml' in group 0.
0.252 [ Info ][DeploymentComponent::loadComponents] Validating new
configuration...
0.267 [ Info ][DeploymentComponent::import] Importing component libraries
from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.272 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
0.274 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
0.277 [ Info ][DeploymentComponent::import] Loaded component type
'OCL::LuaComponent'
0.280 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
0.285 [ Info ][DeploymentComponent::import] Loaded multi component library
'/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.288 [ Info ][DeploymentComponent::import] Loaded component type
'OCL::HelloWorld'
0.288 [ Info ][DeploymentComponent::import] Importing plugins and typekits
from directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.288 [ Info ][DeploymentComponent::import] Loading plugin libraries from
directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
0.299 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.299 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport
'OCLTypekit' from 'ocl-gnulinux'
0.299 [ Info ][DeploymentComponent::import] Loading plugin libraries from
directory
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
0.301 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from
'os-gnulinux'
0.302 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from
'rttlua-plugin-gnulinux'
0.304 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print'
from 'print-gnulinux'
0.310 [ Info ][Thread] Creating Thread for scheduler: 0
0.310 [ Info ][HelloWorld] Thread created with scheduler type '0',
priority 0 and period 0.
0.311 [ Info ][Thread] Creating Thread for scheduler: 1
0.311 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.311 [ Debug ][Activity]
0.311 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.311 [ Info ][Activity] Thread created with scheduler type '0', priority
0 and period 0.1.
0.312 [ Info ][DeploymentComponent::loadComponent] **** Starting the
'Hello' component ****
0.312 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as
new peer: OK.
0.312 [ Info ][DeploymentComponent::loadComponents] Added component
HelloWorld to group 0
0.312 [ Info ][DeploymentComponent::configureComponents] Configuring
components in group 0
0.312 [ Warning][DeploymentComponent::configureComponents] Component
HelloWorld doesn't need to be configured (already Running).
0.312 [ Info ][DeploymentComponent::configureComponents] Configuration
successful for group 0.
0.312 [ Info ][DeploymentComponent::startComponentsGroup] Startup of
'AutoStart' components successful for group 0.
0.312 [ Info ][Logger] Successfully loaded, configured and started
components from helloworld.xml
0.312 [ Info ][Thread] Creating Thread for scheduler: 0
0.313 [ Info ][TaskBrowser] Thread created with scheduler type '0',
priority 0 and period 0.
Switched to : Deployer
0.313 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> 1+1
= 2

Thanks,
On Thu, Mar 24, 2011 at 10:25 AM, Tien Thanh <nttputus [..] ...> wrote:

> Hi,
>
> I set RTT_COMPONENT_PATH to `rospack find rtt`/install/lib/orocos and it
> doesn't work. Here is my output:
>
> tienthanh@tienthanh-pc:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$
> rosrun ocl deployer-gnulinux -s helloworld.xml -ldebug
> [rosrun] You have chosen a non-unique executable, please pick one of the
> following:
> 1)
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
> 2)
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
> #? 2
> 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 [ Debug ][Logger] MainThread started.
> 0.000 [ Debug ][Logger] Starting StartStopManager.
> 0.000 [ Info ][Logger] No RTT_COMPONENT_PATH set. Using default:
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
> 0.000 [ Debug ][Logger] PluginLoader Created
> 0.000 [ Debug ][Logger] No such directory:
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins
> 0.001 [ Debug ][Logger] No such directory:
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins/gnulinux
> 0.001 [ Debug ][Logger] No such directory:
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types
> 0.001 [ Debug ][Logger] No such directory:
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types/gnulinux
> 0.001 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.001 [ Debug ][Thread] Created Posix thread 140155490211584
> 0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority
> 0 and period 0.
> 0.001 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.001 [ Debug ][GlobalEngine] Created Posix thread 140155481818880
> 0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.003 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set.
> Using default.
> 0.003 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set
> to
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
> 0.003 [ Info ][DeploymentComponent::configure] Re-scanning for plugins
> and components...
> 0.003 [ Debug ][DeploymentComponent::configure] No such directory:
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
> 0.003 [ Debug ][DeploymentComponent::configure] No such directory:
> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/gnulinux
> 0.003 [ Debug ][Logger] Not using site file.
> 0.003 [ Info ][DeploymentComponent::loadComponents] Loading
> 'helloworld.xml' in group 0.
> 0.019 [ Info ][DeploymentComponent::loadComponents] Validating new
> configuration...
> 0.061 [ Info ][DeploymentComponent::import] Importing component libraries
> from directory
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
> 0.062 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...not
> a regular file: ignored.
> 0.062 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.062 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-lua-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.062 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.107 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so
> ...Succesfully loaded orocos-timer-gnulinux
> 0.107 [ Info ][DeploymentComponent::import] Loaded multi component
> library
> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
> 0.107 [ Debug ][DeploymentComponent::import] Components:
> OCL::TimerComponent
> 0.107 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins
> ...not a regular file: ignored.
> 0.140 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so
> ...Succesfully loaded orocos-logging-gnulinux
> 0.140 [ Info ][DeploymentComponent::import] Loaded multi component
> library
> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
> 0.140 [ Debug ][DeploymentComponent::import] Components:
> OCL::logging::Appender OCL::logging::FileAppender
> OCL::logging::LoggingService OCL::logging::OstreamAppender
> 0.180 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-lua-gnulinux.so
> ...Succesfully loaded orocos-lua-gnulinux
> 0.181 [ Info ][DeploymentComponent::import] Loaded component type
> 'OCL::LuaComponent'
> 0.181 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-helloworld-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.213 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so
> ...Succesfully loaded orocos-reporting-gnulinux
> 0.213 [ Info ][DeploymentComponent::import] Loaded multi component
> library
> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
> 0.213 [ Debug ][DeploymentComponent::import] Components:
> OCL::ConsoleReporting OCL::FileReporting OCL::TcpReporting
> 0.213 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.214 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.241 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so
> ...Succesfully loaded orocos-ocl-common-gnulinux
> 0.241 [ Info ][DeploymentComponent::import] Loaded multi component
> library
> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
> 0.241 [ Debug ][DeploymentComponent::import] Components:
> OCL::HMIConsoleOutput TaskContext
> 0.269 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-helloworld-gnulinux.so
> ...Succesfully loaded orocos-helloworld-gnulinux
> 0.269 [ Info ][DeploymentComponent::import] Loaded component type
> 'OCL::HelloWorld'
> 0.269 [ Info ][DeploymentComponent::import] Importing plugins and
> typekits from directory
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
> 0.269 [ Info ][DeploymentComponent::import] Loading plugin libraries from
> directory
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
> 0.332 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/libocl-gnulinux.so
> ...Found library libocl-gnulinux.so
> 0.332 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
> 0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'strings'
> to the Orocos Type System.
> 0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'bools' to
> the Orocos Type System.
> 0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'ints' to
> the Orocos Type System.
> 0.333 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport
> 'OCLTypekit' from 'ocl-gnulinux'
> 0.333 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/libocl-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.333 [ Debug ][DeploymentComponent::import] No such directory:
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/gnulinux
> 0.333 [ Info ][DeploymentComponent::import] Loading plugin libraries from
> directory
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
> 0.333 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libos-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.333 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/librttlua-plugin-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.363 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libos-gnulinux.so
> ...Found library libos-gnulinux.so
> 0.363 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from
> 'os-gnulinux'
> 0.387 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/librttlua-plugin-gnulinux.so
> ...Found library librttlua-plugin-gnulinux.so
> 0.387 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from
> 'rttlua-plugin-gnulinux'
> 0.410 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libprint-gnulinux.so
> ...Found library libprint-gnulinux.so
> 0.410 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print'
> from 'print-gnulinux'
> 0.410 [ Debug ][DeploymentComponent::import] Scanning file
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libprint-gnulinux.so.2.2.0
> ...not a .so library: ignored.
> 0.410 [ Debug ][DeploymentComponent::import] No such directory:
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/gnulinux
> 0.410 [ Debug ][DeploymentComponent::import] No such directory:
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/gnulinux
> 0.412 [ ERROR ][TypeInfoName] Can not compose unknown_t.
> 0.412 [ Debug ][DeploymentComponent::loadComponent] Trying to create
> component HelloWorld of type OCL::HelloWorld
> 0.412 [ Debug ][DeploymentComponent::loadComponent] Found factory for
> Component type OCL::HelloWorld
> 0.412 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.412 [ Debug ][Thread] Created Posix thread 140155443820288
> 0.412 [ Info ][HelloWorld] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.413 [ Info ][Thread] Creating Thread for scheduler: 1
> 0.413 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.413 [ Debug ][Thread] Created Posix thread 140155435427584
> 0.413 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.414 [ Info ][Activity] Thread created with scheduler type '0', priority
> 0 and period 0.1.
> 0.414 [ Debug ][~Thread] Terminating HelloWorld
> 0.414 [ Debug ][Thread] done
> 0.414 [ Info ][DeploymentComponent::loadComponent] **** Starting the
> 'Hello' component ****
> 0.414 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as
> new peer: OK.
> 0.414 [ Debug ][updateProperty] updateProperties: creating Property
> unknown_t Server.
> 0.414 [ Debug ][updateProperty] updateProperties: creating Property
> unknown_t UseNamingService.
> 0.414 [ Debug ][updateProperty] Found Property 'HelloWorld': update done.
> 0.414 [ Info ][DeploymentComponent::loadComponents] Added component
> HelloWorld to group 0
> 0.414 [ Info ][DeploymentComponent::configureComponents] Configuring
> components in group 0
> 0.415 [ Warning][DeploymentComponent::configureComponents] Component
> HelloWorld doesn't need to be configured (already Running).
> 0.415 [ Info ][DeploymentComponent::configureComponents] Configuration
> successful for group 0.
> 0.415 [ Info ][DeploymentComponent::startComponentsGroup] Startup of
> 'AutoStart' components successful for group 0.
> 0.415 [ Info ][Logger] Successfully loaded, configured and started
> components from helloworld.xml
> 0.415 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.415 [ Debug ][Thread] Created Posix thread 140155443820288
> 0.415 [ Info ][TaskBrowser] Thread created with scheduler type '0',
> priority 0 and period 0.
> Switched to : Deployer
> 0.415 [ Info ][Logger] Entering Task Deployer
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change variables.
> (type 'help' for instructions and 'ls' for context info)
>
> TAB completion and HISTORY is available ('bash' like)
>
> Deployer [S]> 1+1
> Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
> Deployer [S]> quit
>
> 31.603 [ Debug ][Logger] TLSF bytes allocated=20480 overhead=6384
> max-used=6384 currently-used=6384 still-allocated=0
> 31.603 [ Debug ][~Thread] Terminating TaskBrowser
> 31.604 [ Debug ][Thread] done
> 31.604 [ Info ][DeploymentComponent::stopComponentsGroup] Stopping group
> 0
> 31.614 [ Info ][DeploymentComponent::stopComponentsGroup] Stopped
> HelloWorld
> 31.614 [ Info ][DeploymentComponent::cleanupComponentsGroup] Cleaning up
> group 0
> 31.614 [ Info ][DeploymentComponent::cleanupComponentsGroup] Cleaned up
> HelloWorld
> 31.614 [ Info ][Logger] Unloading group 0
> 31.614 [ Debug ][Logger] Disconnecting HelloWorld
> 31.614 [ Debug ][Logger] Terminating HelloWorld
> 31.714 [ Debug ][~Thread] Terminating Activity
> 31.714 [ Debug ][Thread] done
> 31.714 [ Info ][Logger] Disconnected and destroyed HelloWorld
> 31.714 [ Info ][Logger] Kick-out of group 0 successful.
> 31.714 [ Debug ][~Thread] Terminating Deployer
> 31.714 [ Debug ][Thread] done
> 31.714 [ Debug ][~Thread] Terminating GlobalEngine
> 31.715 [ Debug ][Thread] done
> 31.715 [ Debug ][Logger] Stopping StartStopManager.
> 31.715 [ Debug ][Logger] PluginLoader Destroyed
> 31.715 [ Debug ][Logger] Stopping MainThread.
> 31.715 [ Info ][Logger] Orocos Logging Deactivated.
> TLSF bytes allocated=20480 overhead=6384 max-used=6384 currently-used=6384
> still-allocated=0
>
>
> On Thu, Mar 24, 2011 at 8:51 AM, Ruben Smits <Ruben [dot] Smits [..] ...
> > wrote:
>
>>
>> On 23 Mar 2011, at 23:58, Tien Thanh wrote:
>>
>> Hi,
>>
>> I installed Orocos toolchain in ROS, and I got the same problem with
>> Helloworld 1+1. It even happened in both cases: rosrun ocl helloworld and
>> with deployer.
>>
>> I also tried to set RTT_COMPONENT_PATH to `rospack find rtt`/install/lib
>> and /lib/orocos, but it still not worked and I even got [ ERROR ]
>>
>>
>> setting it to `rospack find rtt`/install/lib/orocos should do the trick.
>>
>> Can you run with -ldebug and show the output again?
>>
>> -- Ruben
>>
>> [DeploymentComponent::configure].
>>
>> Here I sent feedback when run deployer without setting RTT_COMPONENT_PATH.
>>
>> putus@UnixPC:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$
>> rosrun ocl deployer-gnulinux -s helloworld.xml -linfo
>> [rosrun] You have chosen a non-unique executable, please pick one of the
>> following:
>> 1)
>> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
>> 2)
>> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
>> #? 2
>> 0.000 [ Info ][Logger] Real-time memory: 17232 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:
>> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
>> 0.001 [ Info ][Thread] Creating Thread for scheduler: 0
>> 0.001 [ Info ][Deployer] Thread created with scheduler type '0',
>> priority 0 and period 0.
>> 0.001 [ Info ][Thread] Creating Thread for scheduler: 0
>> 0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0',
>> priority 0 and period 0.
>> 0.002 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH
>> set. Using default.
>> 0.002 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was
>> set to
>> /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
>> 0.002 [ Info ][DeploymentComponent::configure] Re-scanning for plugins
>> and components...
>> 0.002 [ Info ][DeploymentComponent::loadComponents] Loading
>> 'helloworld.xml' in group 0.
>> 0.003 [ Info ][DeploymentComponent::loadComponents] Validating new
>> configuration...
>> 0.030 [ Info ][DeploymentComponent::import] Importing component
>> libraries from directory
>> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
>> 0.034 [ Info ][DeploymentComponent::import] Loaded multi component
>> library
>> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
>> 0.036 [ Info ][DeploymentComponent::import] Loaded component type
>> 'OCL::LuaComponent'
>> 0.042 [ Info ][DeploymentComponent::import] Loaded component type
>> 'OCL::HelloWorld'
>> 0.055 [ Info ][DeploymentComponent::import] Loaded multi component
>> library
>> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
>> 0.060 [ Info ][DeploymentComponent::import] Loaded multi component
>> library
>> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
>> 0.063 [ Info ][DeploymentComponent::import] Loaded multi component
>> library
>> '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
>> 0.063 [ Info ][DeploymentComponent::import] Importing plugins and
>> typekits from directory
>> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
>> 0.063 [ Info ][DeploymentComponent::import] Loading plugin libraries
>> from directory
>> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
>> 0.080 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
>> 0.088 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport
>> 'OCLTypekit' from 'ocl-gnulinux'
>> 0.088 [ Info ][DeploymentComponent::import] Loading plugin libraries
>> from directory
>> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
>> 0.090 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from
>> 'os-gnulinux'
>> 0.091 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print'
>> from 'print-gnulinux'
>> 0.093 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua'
>> from 'rttlua-plugin-gnulinux'
>> 0.093 [ ERROR ][TypeInfoName] Can not compose unknown_t.
>> 0.094 [ Info ][Thread] Creating Thread for scheduler: 0
>> 0.094 [ Info ][HelloWorld] Thread created with scheduler type '0',
>> priority 0 and period 0.
>> 0.094 [ Info ][Thread] Creating Thread for scheduler: 1
>> 0.094 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
>> non-privileged users..
>> 0.094 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
>> non-privileged users..
>> 0.094 [ Info ][Activity] Thread created with scheduler type '0',
>> priority 0 and period 0.1.
>> 0.094 [ Info ][DeploymentComponent::loadComponent] **** Starting the
>> 'Hello' component ****
>> 0.094 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as
>> new peer: OK.
>> 0.095 [ Info ][DeploymentComponent::loadComponents] Added component
>> HelloWorld to group 0
>> 0.095 [ Info ][DeploymentComponent::configureComponents] Configuring
>> components in group 0
>> 0.095 [ Warning][DeploymentComponent::configureComponents] Component
>> HelloWorld doesn't need to be configured (already Running).
>> 0.095 [ Info ][DeploymentComponent::configureComponents] Configuration
>> successful for group 0.
>> 0.095 [ Info ][DeploymentComponent::startComponentsGroup] Startup of
>> 'AutoStart' components successful for group 0.
>> 0.095 [ Info ][Logger] Successfully loaded, configured and started
>> components from helloworld.xml
>> 0.095 [ Info ][Thread] Creating Thread for scheduler: 0
>> 0.095 [ Info ][TaskBrowser] Thread created with scheduler type '0',
>> priority 0 and period 0.
>> Switched to : Deployer
>> 0.095 [ Info ][Logger] Entering Task Deployer
>>
>> This console reader allows you to browse and manipulate TaskContexts.
>> You can type in an operation, expression, create or change variables.
>> (type 'help' for instructions and 'ls' for context info)
>>
>> TAB completion and HISTORY is available ('bash' like)
>>
>> Deployer [S]> 1+1
>> Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
>> Deployer [S]>
>>
>> How can I solve this problem?
>>
>> On Thu, Nov 4, 2010 at 2:02 PM, Peter Soetens <peter [..] ...>wrote:
>>
>>> On Wednesday 03 November 2010 17:04:31 Leopold Palomo-Avellaneda wrote:
>>> > Hi,
>>> >
>>> > I have compiled and installed toolchain and I'm having an strange (at
>>> least
>>> > for me) behaviour. If i follow the components manual, when I execute he
>>> > helloworld I got:
>>> >
>>> > ###########################################
>>> > rtt-exercises/helloworld$ ./helloworld
>>> > 0.001 [ Info ][main()] ./helloworld manually raises LogLevel to
>>> 'Info'
>>> > (5). See also file 'orocos.log'.
>>> > 0.002 [ Info ][main()] **** Creating the 'Hello' component ****
>>> > 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
>>> > 0.002 [ Info ][Hello] Thread created with scheduler type '0',
>>> priority 0
>>> > and period 0.
>>> > 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
>>> > 0.002 [ Info ][GlobalEngine] Thread created with scheduler type '0',
>>> > priority 0 and period 0.
>>> > 0.003 [ Info ][Thread] Creating Thread for scheduler: 1
>>> > 0.003 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
>>> > non-privileged users..
>>> > 0.003 [ Debug ][Activity]
>>> > 0.003 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
>>> > non-privileged users..
>>> > 0.003 [ Info ][Activity] Thread created with scheduler type '0',
>>> priority
>>> > 0 and period 0.01.
>>> > 0.027 [ Info ][main()] **** Starting the 'Hello' component ****
>>> > 0.027 [ Info ][main()] **** Using the 'Hello' component ****
>>> > 0.027 [ Info ][main()] **** Reading a Property: ****
>>> > 0.027 [ Info ][main()] the_property = Hello World
>>> > 0.027 [ Info ][main()] **** Sending a Method: ****
>>> > 0.027 [ Info ][main()] Sending Method : 1
>>> > 0.027 [ Info ][main()] **** Calling a Method: ****
>>> > 0.027 [ Info ][main()] Calling Method : Hello World
>>> > 0.027 [ Info ][main()] **** Starting the TaskBrowser ****
>>> > 0.027 [ Info ][Thread] Creating Thread for scheduler: 0
>>> > 0.027 [ Info ][TaskBrowser] Thread created with scheduler type '0',
>>> > priority 0 and period 0.
>>> >
>>> > TaskBrowser connects to all data ports of Hello
>>> > 0.027 [ Info ][TaskBrowser] Connected output port outport
>>> successfully to
>>> > outport
>>> > 0.027 [ Info ][TaskBrowser] Connected output port inport successfully
>>> to
>>> > inport
>>> > Switched to : Hello
>>> > Saying Hello 'World' in own thread.
>>> > 0.032 [ Info ][main()] Entering Task Hello
>>> >
>>> > This console reader allows you to browse and manipulate TaskContexts.
>>> > You can type in an operation, expression, create or change variables.
>>> > (type 'help' for instructions and 'ls' for context info)
>>> >
>>> > TAB completion and HISTORY is available ('bash' like)
>>> >
>>> > Hello [R]> 1+1
>>> > Fatal Semantic error: Cannot apply binary operation unknown_t +
>>> unknown_t.
>>> > Hello [R]>
>>>
>>> This has been reported before. The problem is that the pluginloader is
>>> not
>>> aware of the install path of the rtt, and fails to locate the typekits
>>> for
>>> RTT. We will add a solution just like with the component loader.
>>>
>>> The workaround is to set your RTT_COMPONENT_PATH to the lib directory of
>>> your
>>> RTT install path.
>>>
>>> Peter
>>> --
>>> Orocos-Users mailing list
>>> Orocos-Users [..] ...
>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>>
>>
>>
>>
>> --
>> Tien Thanh Nguyen
>>
>> <ATT00001..txt>
>>
>>
>>
>
>
> --
> Tien Thanh Nguyen
>
>

Fatal Semantic error: Cannot apply binary operation

Hi,

I wonder if it is normal if I got the output is Deployer [S] instead of
Hello [R], when execute rosrun ocl deployer-gnulinux -s helloworld.xml
-linfo

>
> Deployer [S]> 1+1
> = 2
>
>
> Thanks,

Ruben Smits's picture

Fatal Semantic error: Cannot apply binary operation

On 24 Mar 2011, at 10:44, Tien Thanh wrote:

Hi,

I wonder if it is normal if I got the output is Deployer [S] instead of Hello [R], when execute rosrun ocl deployer-gnulinux -s helloworld.xml -linfo

Yes, in the latter the HelloWorld component is loaded by the deployer, so the first component you end up in the Deployer, 'ls' should show the HelloWorld component as a Peer of the Deployer.

-- Ruben

Fatal Semantic error: Cannot apply binary operation

Hi Ruben,

Problem is solved, just wonder why RTT_COMPONENT_PATH not be added in the
env.sh.

On Thu, Mar 24, 2011 at 11:41 AM, Ruben Smits
<Ruben [dot] Smits [..] ...>wrote:

>
> On 24 Mar 2011, at 10:44, Tien Thanh wrote:
>
> Hi,
>
> I wonder if it is normal if I got the output is Deployer [S] instead of
> Hello [R], when execute rosrun ocl deployer-gnulinux -s helloworld.xml
> -linfo
>
>
> Yes, in the latter the HelloWorld component is loaded by the deployer, so
> the first component you end up in the Deployer, 'ls' should show the
> HelloWorld component as a Peer of the Deployer.
>
> -- Ruben
>

Ruben Smits's picture

Fatal Semantic error: Cannot apply binary operation

On 24 Mar 2011, at 10:32, Tien Thanh wrote:

Hi,

Last time, I set it in the bashrc file and it seems to not recognize the new path.

Did you export it after you include the setup.bash from ROS?

-- Ruben
I do it again in terminal with export, and it works.
Here is the output:

tienthanh@tienthanh-pc:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$ export RTT_COMPONENT_PATH=`rospack find rtt`/install/lib/orocos
tienthanh@tienthanh-pc:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$ rosrun ocl deployer-gnulinux -s helloworld.xml -linfo
[rosrun] You have chosen a non-unique executable, please pick one of the following:
1) /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
2) /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
#? 2
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] RTT_COMPONENT_PATH was set to: /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos . Searching in: /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos:/tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.000 [ Info ][Logger] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins ...
0.001 [ Info ][Logger] Loaded RTT Service 'scripting' from 'rtt-scripting-gnulinux'
0.001 [ Info ][Logger] Loaded RTT Service 'marshalling' from 'rtt-marshalling-gnulinux'
0.001 [ Info ][Logger] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types ...
0.026 [ Info ][TypekitRepository::Import] Loading Transport mqueue://rtt-types.
0.027 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-mqueue-transport' from 'rtt-transport-mqueue-gnulinux'
0.214 [ Info ][TypekitRepository::Import] Loading Typekit rtt-types.
0.214 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for int
0.215 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for uint
0.215 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for double
0.215 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for float
0.246 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for char
0.246 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for bool
0.249 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for array
0.249 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-types' from 'rtt-typekit-gnulinux'
0.249 [ Info ][Thread] Creating Thread for scheduler: 0
0.250 [ Info ][Deployer] Thread created with scheduler type '0', priority 0 and period 0.
0.250 [ Info ][Thread] Creating Thread for scheduler: 0
0.250 [ Info ][GlobalEngine] Thread created with scheduler type '0', priority 0 and period 0.
0.251 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set to /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.251 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and components...
0.251 [ Info ][DeploymentComponent::configure] Importing component libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos ...
0.251 [ Info ][DeploymentComponent::configure] Importing plugins and typekits from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos ...
0.251 [ Info ][DeploymentComponent::configure] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types ...
0.251 [ Info ][DeploymentComponent::configure] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins ...
0.252 [ Info ][DeploymentComponent::loadComponents] Loading 'helloworld.xml' in group 0.
0.252 [ Info ][DeploymentComponent::loadComponents] Validating new configuration...
0.267 [ Info ][DeploymentComponent::import] Importing component libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.272 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
0.274 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
0.277 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::LuaComponent'
0.280 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
0.285 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.288 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::HelloWorld'
0.288 [ Info ][DeploymentComponent::import] Importing plugins and typekits from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.288 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
0.299 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.299 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport 'OCLTypekit' from 'ocl-gnulinux'
0.299 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
0.301 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from 'os-gnulinux'
0.302 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from 'rttlua-plugin-gnulinux'
0.304 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print' from 'print-gnulinux'
0.310 [ Info ][Thread] Creating Thread for scheduler: 0
0.310 [ Info ][HelloWorld] Thread created with scheduler type '0', priority 0 and period 0.
0.311 [ Info ][Thread] Creating Thread for scheduler: 1
0.311 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for non-privileged users..
0.311 [ Debug ][Activity]
0.311 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for non-privileged users..
0.311 [ Info ][Activity] Thread created with scheduler type '0', priority 0 and period 0.1.
0.312 [ Info ][DeploymentComponent::loadComponent] **** Starting the 'Hello' component ****
0.312 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as new peer: OK.
0.312 [ Info ][DeploymentComponent::loadComponents] Added component HelloWorld to group 0
0.312 [ Info ][DeploymentComponent::configureComponents] Configuring components in group 0
0.312 [ Warning][DeploymentComponent::configureComponents] Component HelloWorld doesn't need to be configured (already Running).
0.312 [ Info ][DeploymentComponent::configureComponents] Configuration successful for group 0.
0.312 [ Info ][DeploymentComponent::startComponentsGroup] Startup of 'AutoStart' components successful for group 0.
0.312 [ Info ][Logger] Successfully loaded, configured and started components from helloworld.xml
0.312 [ Info ][Thread] Creating Thread for scheduler: 0
0.313 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority 0 and period 0.
Switched to : Deployer
0.313 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> 1+1
= 2

Thanks,
On Thu, Mar 24, 2011 at 10:25 AM, Tien Thanh <nttputus [..] ...nttputus [..] ...>> wrote:
Hi,

I set RTT_COMPONENT_PATH to `rospack find rtt`/install/lib/orocos and it doesn't work. Here is my output:

tienthanh@tienthanh-pc:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$ rosrun ocl deployer-gnulinux -s helloworld.xml -ldebug
[rosrun] You have chosen a non-unique executable, please pick one of the following:
1) /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
2) /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
#? 2
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 [ Debug ][Logger] MainThread started.
0.000 [ Debug ][Logger] Starting StartStopManager.
0.000 [ Info ][Logger] No RTT_COMPONENT_PATH set. Using default: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.000 [ Debug ][Logger] PluginLoader Created
0.000 [ Debug ][Logger] No such directory: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins
0.001 [ Debug ][Logger] No such directory: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/plugins/gnulinux
0.001 [ Debug ][Logger] No such directory: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types
0.001 [ Debug ][Logger] No such directory: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos/types/gnulinux
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Debug ][Thread] Created Posix thread 140155490211584
0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority 0 and period 0.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Debug ][GlobalEngine] Created Posix thread 140155481818880
0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0', priority 0 and period 0.
0.003 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set. Using default.
0.003 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set to /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
0.003 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and components...
0.003 [ Debug ][DeploymentComponent::configure] No such directory: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
0.003 [ Debug ][DeploymentComponent::configure] No such directory: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/gnulinux
0.003 [ Debug ][Logger] Not using site file.
0.003 [ Info ][DeploymentComponent::loadComponents] Loading 'helloworld.xml' in group 0.
0.019 [ Info ][DeploymentComponent::loadComponents] Validating new configuration...
0.061 [ Info ][DeploymentComponent::import] Importing component libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.062 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...not a regular file: ignored.
0.062 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.062 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-lua-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.062 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.107 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so ...Succesfully loaded orocos-timer-gnulinux
0.107 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
0.107 [ Debug ][DeploymentComponent::import] Components: OCL::TimerComponent
0.107 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...not a regular file: ignored.
0.140 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so ...Succesfully loaded orocos-logging-gnulinux
0.140 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
0.140 [ Debug ][DeploymentComponent::import] Components: OCL::logging::Appender OCL::logging::FileAppender OCL::logging::LoggingService OCL::logging::OstreamAppender
0.180 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-lua-gnulinux.so ...Succesfully loaded orocos-lua-gnulinux
0.181 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::LuaComponent'
0.181 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-helloworld-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.213 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so ...Succesfully loaded orocos-reporting-gnulinux
0.213 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
0.213 [ Debug ][DeploymentComponent::import] Components: OCL::ConsoleReporting OCL::FileReporting OCL::TcpReporting
0.213 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.214 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.241 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so ...Succesfully loaded orocos-ocl-common-gnulinux
0.241 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.241 [ Debug ][DeploymentComponent::import] Components: OCL::HMIConsoleOutput TaskContext
0.269 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-helloworld-gnulinux.so ...Succesfully loaded orocos-helloworld-gnulinux
0.269 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::HelloWorld'
0.269 [ Info ][DeploymentComponent::import] Importing plugins and typekits from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.269 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
0.332 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/libocl-gnulinux.so ...Found library libocl-gnulinux.so
0.332 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'strings' to the Orocos Type System.
0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'bools' to the Orocos Type System.
0.333 [ Debug ][TypekitRepository::Import] Registered Type name 'ints' to the Orocos Type System.
0.333 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport 'OCLTypekit' from 'ocl-gnulinux'
0.333 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/libocl-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.333 [ Debug ][DeploymentComponent::import] No such directory: /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types/gnulinux
0.333 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
0.333 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libos-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.333 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/librttlua-plugin-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.363 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libos-gnulinux.so ...Found library libos-gnulinux.so
0.363 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from 'os-gnulinux'
0.387 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/librttlua-plugin-gnulinux.so ...Found library librttlua-plugin-gnulinux.so
0.387 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from 'rttlua-plugin-gnulinux'
0.410 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libprint-gnulinux.so ...Found library libprint-gnulinux.so
0.410 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print' from 'print-gnulinux'
0.410 [ Debug ][DeploymentComponent::import] Scanning file /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/libprint-gnulinux.so.2.2.0 ...not a .so library: ignored.
0.410 [ Debug ][DeploymentComponent::import] No such directory: /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins/gnulinux
0.410 [ Debug ][DeploymentComponent::import] No such directory: /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/gnulinux
0.412 [ ERROR ][TypeInfoName] Can not compose unknown_t.
0.412 [ Debug ][DeploymentComponent::loadComponent] Trying to create component HelloWorld of type OCL::HelloWorld
0.412 [ Debug ][DeploymentComponent::loadComponent] Found factory for Component type OCL::HelloWorld
0.412 [ Info ][Thread] Creating Thread for scheduler: 0
0.412 [ Debug ][Thread] Created Posix thread 140155443820288
0.412 [ Info ][HelloWorld] Thread created with scheduler type '0', priority 0 and period 0.
0.413 [ Info ][Thread] Creating Thread for scheduler: 1
0.413 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for non-privileged users..
0.413 [ Debug ][Thread] Created Posix thread 140155435427584
0.413 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for non-privileged users..
0.414 [ Info ][Activity] Thread created with scheduler type '0', priority 0 and period 0.1.
0.414 [ Debug ][~Thread] Terminating HelloWorld
0.414 [ Debug ][Thread] done
0.414 [ Info ][DeploymentComponent::loadComponent] **** Starting the 'Hello' component ****
0.414 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as new peer: OK.
0.414 [ Debug ][updateProperty] updateProperties: creating Property unknown_t Server.
0.414 [ Debug ][updateProperty] updateProperties: creating Property unknown_t UseNamingService.
0.414 [ Debug ][updateProperty] Found Property 'HelloWorld': update done.
0.414 [ Info ][DeploymentComponent::loadComponents] Added component HelloWorld to group 0
0.414 [ Info ][DeploymentComponent::configureComponents] Configuring components in group 0
0.415 [ Warning][DeploymentComponent::configureComponents] Component HelloWorld doesn't need to be configured (already Running).
0.415 [ Info ][DeploymentComponent::configureComponents] Configuration successful for group 0.
0.415 [ Info ][DeploymentComponent::startComponentsGroup] Startup of 'AutoStart' components successful for group 0.
0.415 [ Info ][Logger] Successfully loaded, configured and started components from helloworld.xml
0.415 [ Info ][Thread] Creating Thread for scheduler: 0
0.415 [ Debug ][Thread] Created Posix thread 140155443820288
0.415 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority 0 and period 0.
Switched to : Deployer
0.415 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> 1+1
Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
Deployer [S]> quit

31.603 [ Debug ][Logger] TLSF bytes allocated=20480 overhead=6384 max-used=6384 currently-used=6384 still-allocated=0
31.603 [ Debug ][~Thread] Terminating TaskBrowser
31.604 [ Debug ][Thread] done
31.604 [ Info ][DeploymentComponent::stopComponentsGroup] Stopping group 0
31.614 [ Info ][DeploymentComponent::stopComponentsGroup] Stopped HelloWorld
31.614 [ Info ][DeploymentComponent::cleanupComponentsGroup] Cleaning up group 0
31.614 [ Info ][DeploymentComponent::cleanupComponentsGroup] Cleaned up HelloWorld
31.614 [ Info ][Logger] Unloading group 0
31.614 [ Debug ][Logger] Disconnecting HelloWorld
31.614 [ Debug ][Logger] Terminating HelloWorld
31.714 [ Debug ][~Thread] Terminating Activity
31.714 [ Debug ][Thread] done
31.714 [ Info ][Logger] Disconnected and destroyed HelloWorld
31.714 [ Info ][Logger] Kick-out of group 0 successful.
31.714 [ Debug ][~Thread] Terminating Deployer
31.714 [ Debug ][Thread] done
31.714 [ Debug ][~Thread] Terminating GlobalEngine
31.715 [ Debug ][Thread] done
31.715 [ Debug ][Logger] Stopping StartStopManager.
31.715 [ Debug ][Logger] PluginLoader Destroyed
31.715 [ Debug ][Logger] Stopping MainThread.
31.715 [ Info ][Logger] Orocos Logging Deactivated.
TLSF bytes allocated=20480 overhead=6384 max-used=6384 currently-used=6384 still-allocated=0

On Thu, Mar 24, 2011 at 8:51 AM, Ruben Smits <Ruben [dot] Smits [..] ...Ruben [dot] Smits [..] ...>> wrote:

On 23 Mar 2011, at 23:58, Tien Thanh wrote:

Hi,

I installed Orocos toolchain in ROS, and I got the same problem with Helloworld 1+1. It even happened in both cases: rosrun ocl helloworld and with deployer.

I also tried to set RTT_COMPONENT_PATH to `rospack find rtt`/install/lib and /lib/orocos, but it still not worked and I even got [ ERROR ]

setting it to `rospack find rtt`/install/lib/orocos should do the trick.

Can you run with -ldebug and show the output again?

-- Ruben

[DeploymentComponent::configure].

Here I sent feedback when run deployer without setting RTT_COMPONENT_PATH.

putus@UnixPC:/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/helloworld$ rosrun ocl deployer-gnulinux -s helloworld.xml -linfo
[rosrun] You have chosen a non-unique executable, please pick one of the following:
1) /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/bin/deployer-gnulinux
2) /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/bin/deployer-gnulinux
#? 2
0.000 [ Info ][Logger] Real-time memory: 17232 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: /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt/install/lib/orocos
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority 0 and period 0.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0', priority 0 and period 0.
0.002 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set. Using default.
0.002 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set to /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos
0.002 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and components...
0.002 [ Info ][DeploymentComponent::loadComponents] Loading 'helloworld.xml' in group 0.
0.003 [ Info ][DeploymentComponent::loadComponents] Validating new configuration...
0.030 [ Info ][DeploymentComponent::import] Importing component libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.034 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-reporting-gnulinux.so'
0.036 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::LuaComponent'
0.042 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::HelloWorld'
0.055 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-timer-gnulinux.so'
0.060 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-logging-gnulinux.so'
0.063 [ Info ][DeploymentComponent::import] Loaded multi component library '/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.063 [ Info ][DeploymentComponent::import] Importing plugins and typekits from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos ...
0.063 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/types ...
0.080 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.088 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport 'OCLTypekit' from 'ocl-gnulinux'
0.088 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/lib/orocos/plugins ...
0.090 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from 'os-gnulinux'
0.091 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print' from 'print-gnulinux'
0.093 [ Info ][DeploymentComponent::import] Loaded RTT Service 'Lua' from 'rttlua-plugin-gnulinux'
0.093 [ ERROR ][TypeInfoName] Can not compose unknown_t.
0.094 [ Info ][Thread] Creating Thread for scheduler: 0
0.094 [ Info ][HelloWorld] Thread created with scheduler type '0', priority 0 and period 0.
0.094 [ Info ][Thread] Creating Thread for scheduler: 1
0.094 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for non-privileged users..
0.094 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for non-privileged users..
0.094 [ Info ][Activity] Thread created with scheduler type '0', priority 0 and period 0.1.
0.094 [ Info ][DeploymentComponent::loadComponent] **** Starting the 'Hello' component ****
0.094 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as new peer: OK.
0.095 [ Info ][DeploymentComponent::loadComponents] Added component HelloWorld to group 0
0.095 [ Info ][DeploymentComponent::configureComponents] Configuring components in group 0
0.095 [ Warning][DeploymentComponent::configureComponents] Component HelloWorld doesn't need to be configured (already Running).
0.095 [ Info ][DeploymentComponent::configureComponents] Configuration successful for group 0.
0.095 [ Info ][DeploymentComponent::startComponentsGroup] Startup of 'AutoStart' components successful for group 0.
0.095 [ Info ][Logger] Successfully loaded, configured and started components from helloworld.xml
0.095 [ Info ][Thread] Creating Thread for scheduler: 0
0.095 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority 0 and period 0.
Switched to : Deployer
0.095 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> 1+1
Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
Deployer [S]>

How can I solve this problem?

On Thu, Nov 4, 2010 at 2:02 PM, Peter Soetens <peter [..] ...peter [..] ...>> wrote:
On Wednesday 03 November 2010 17:04:31 Leopold Palomo-Avellaneda wrote:
> Hi,
>
> I have compiled and installed toolchain and I'm having an strange (at least
> for me) behaviour. If i follow the components manual, when I execute he
> helloworld I got:
>
> ###########################################
> rtt-exercises/helloworld$ ./helloworld
> 0.001 [ Info ][main()] ./helloworld manually raises LogLevel to 'Info'
> (5). See also file 'orocos.log'.
> 0.002 [ Info ][main()] **** Creating the 'Hello' component ****
> 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.002 [ Info ][Hello] Thread created with scheduler type '0', priority 0
> and period 0.
> 0.002 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.002 [ Info ][GlobalEngine] Thread created with scheduler type '0',
> priority 0 and period 0.
> 0.003 [ Info ][Thread] Creating Thread for scheduler: 1
> 0.003 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.003 [ Debug ][Activity]
> 0.003 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
> non-privileged users..
> 0.003 [ Info ][Activity] Thread created with scheduler type '0', priority
> 0 and period 0.01.
> 0.027 [ Info ][main()] **** Starting the 'Hello' component ****
> 0.027 [ Info ][main()] **** Using the 'Hello' component ****
> 0.027 [ Info ][main()] **** Reading a Property: ****
> 0.027 [ Info ][main()] the_property = Hello World
> 0.027 [ Info ][main()] **** Sending a Method: ****
> 0.027 [ Info ][main()] Sending Method : 1
> 0.027 [ Info ][main()] **** Calling a Method: ****
> 0.027 [ Info ][main()] Calling Method : Hello World
> 0.027 [ Info ][main()] **** Starting the TaskBrowser ****
> 0.027 [ Info ][Thread] Creating Thread for scheduler: 0
> 0.027 [ Info ][TaskBrowser] Thread created with scheduler type '0',
> priority 0 and period 0.
>
> TaskBrowser connects to all data ports of Hello
> 0.027 [ Info ][TaskBrowser] Connected output port outport successfully to
> outport
> 0.027 [ Info ][TaskBrowser] Connected output port inport successfully to
> inport
> Switched to : Hello
> Saying Hello 'World' in own thread.
> 0.032 [ Info ][main()] Entering Task Hello
>
> This console reader allows you to browse and manipulate TaskContexts.
> You can type in an operation, expression, create or change variables.
> (type 'help' for instructions and 'ls' for context info)
>
> TAB completion and HISTORY is available ('bash' like)
>
> Hello [R]> 1+1
> Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
> Hello [R]>

This has been reported before. The problem is that the pluginloader is not
aware of the install path of the rtt, and fails to locate the typekits for
RTT. We will add a solution just like with the component loader.

The workaround is to set your RTT_COMPONENT_PATH to the lib directory of your
RTT install path.

Peter
--
Orocos-Users mailing list
Orocos-Users [..] ...<mailto:Orocos-Users [..] ...>
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

--
Tien Thanh Nguyen

<ATT00001..txt>

--
Tien Thanh Nguyen

--
Tien Thanh Nguyen

Fatal Semantic error: Cannot apply binary operation

Hi,

I have compiled and installed toolchain and I'm having an strange (at least
for me) behaviour. If i follow the components manual, when I execute he
helloworld I got:

###########################################
rtt-exercises/helloworld$ ./helloworld
0.001 [ Info ][main()] ./helloworld manually raises LogLevel to 'Info' (5).
See also file 'orocos.log'.
0.002 [ Info ][main()] **** Creating the 'Hello' component ****
0.002 [ Info ][Thread] Creating Thread for scheduler: 0
0.002 [ Info ][Hello] Thread created with scheduler type '0', priority 0 and
period 0.
0.002 [ Info ][Thread] Creating Thread for scheduler: 0
0.002 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.003 [ Info ][Thread] Creating Thread for scheduler: 1
0.003 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.003 [ Debug ][Activity]
0.003 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
0.003 [ Info ][Activity] Thread created with scheduler type '0', priority 0
and period 0.01.
0.027 [ Info ][main()] **** Starting the 'Hello' component ****
0.027 [ Info ][main()] **** Using the 'Hello' component ****
0.027 [ Info ][main()] **** Reading a Property: ****
0.027 [ Info ][main()] the_property = Hello World
0.027 [ Info ][main()] **** Sending a Method: ****
0.027 [ Info ][main()] Sending Method : 1
0.027 [ Info ][main()] **** Calling a Method: ****
0.027 [ Info ][main()] Calling Method : Hello World
0.027 [ Info ][main()] **** Starting the TaskBrowser ****
0.027 [ Info ][Thread] Creating Thread for scheduler: 0
0.027 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority
0 and period 0.

TaskBrowser connects to all data ports of Hello
0.027 [ Info ][TaskBrowser] Connected output port outport successfully to
outport
0.027 [ Info ][TaskBrowser] Connected output port inport successfully to
inport
Switched to : Hello
Saying Hello 'World' in own thread.
0.032 [ Info ][main()] Entering Task Hello

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Hello [R]> 1+1
Fatal Semantic error: Cannot apply binary operation unknown_t + unknown_t.
Hello [R]>

###########################################

However, if I execute it with:

rtt-exercises/helloworld$ /usr/local/orocos/bin/deployer-gnulinux -s
helloworld.xml -linfo
0.000 [ Info ][Logger] No RTT_COMPONENT_PATH set.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][Deployer] Thread created with scheduler type '0', priority 0
and period 0.
0.001 [ Info ][Thread] Creating Thread for scheduler: 0
0.001 [ Info ][GlobalEngine] Thread created with scheduler type '0',
priority 0 and period 0.
0.013 [ Info ][DeploymentComponent::configure] No RTT_COMPONENT_PATH set.
Using default.
0.013 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set
to /usr/local/orocos/lib/orocos
0.013 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and
components...
0.013 [ Info ][DeploymentComponent::configure] Loading plugin libraries from
directory /usr/local/orocos/lib/orocos/types ...
0.201 [ Info ][TypekitRepository::Import] Loading Typekit rtt-types.
0.203 [ Info ][DeploymentComponent::configure] Loaded RTT
TypeKit/Transport 'rtt-types' from 'rtt-typekit-gnulinux'
0.242 [ Info ][TypekitRepository::Import] Loading Transport
mqueue://rtt-types.
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for array
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for bool
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for char
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for double
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for float
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for int
0.242 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport
for uint
0.242 [ Info ][TypekitRepository::Import] Transport mqueue did not install a
fallback handler for 'unknown_t'.
0.242 [ Info ][DeploymentComponent::configure] Loaded RTT
TypeKit/Transport 'rtt-mqueue-transport' from 'rtt-transport-mqueue-gnulinux'
0.826 [ Info ][TypekitRepository::Import] Loading Transport
CORBA://rtt-types.
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for ConnPolicy
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for TaskContext
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for array
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for bool
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for double
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for float
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for int
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for string
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for uint
0.827 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport
for void
0.827 [ Info ][DeploymentComponent::configure] Loaded RTT
TypeKit/Transport 'rtt-corba-types' from 'rtt-transport-corba-gnulinux'
0.827 [ Info ][DeploymentComponent::configure] Loading plugin libraries from
directory /usr/local/orocos/lib/orocos/plugins ...
0.827 [ Info ][DeploymentComponent::configure] Loaded RTT
Plugin 'marshalling' from 'rtt-marshalling-gnulinux'
0.827 [ Info ][DeploymentComponent::configure] Loaded RTT Plugin 'scripting'
from 'rtt-scripting-gnulinux'
0.827 [ Info ][DeploymentComponent::configure] Importing component libraries
from directory /usr/local/orocos/lib/orocos ...
0.852 [ Info ][DeploymentComponent::configure] Loaded multi component
library '/usr/local/orocos/lib/orocos/liborocos-timer-gnulinux.so'
0.883 [ Info ][DeploymentComponent::configure] Loaded component
type 'OCL::HelloWorld'
0.919 [ Info ][DeploymentComponent::configure] Loaded multi component
library '/usr/local/orocos/lib/orocos/liborocos-reporting-gnulinux.so'
0.974 [ Info ][DeploymentComponent::configure] Loaded multi component
library '/usr/local/orocos/lib/orocos/liborocos-ocl-common-gnulinux.so'
0.974 [ Info ][DeploymentComponent::loadComponents]
Loading 'helloworld.xml'.
1.127 [ Info ][DeploymentComponent::loadComponents] Validating new
configuration...
1.197 [ Info ][Thread] Creating Thread for scheduler: 0
1.197 [ Info ][HelloWorld] Thread created with scheduler type '0', priority
0 and period 0.
1.197 [ Info ][Thread] Creating Thread for scheduler: 1
1.197 [ Warning][Thread] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
1.197 [ Warning][Activity] Lowering scheduler type to SCHED_OTHER for
non-privileged users..
1.197 [ Info ][Activity] Thread created with scheduler type '0', priority 0
and period 0.1.
1.208 [ Info ][DeploymentComponent::loadComponent] **** Starting the 'Hello'
component ****
1.208 [ Info ][DeploymentComponent::loadComponent] Adding HelloWorld as new
peer: OK.
1.208 [ Warning][DeploymentComponent::configureComponents] Component
HelloWorld doesn't need to be configured (already Running).
1.209 [ Info ][DeploymentComponent::configureComponents] Configuration
successful.
1.209 [ Info ][DeploymentComponent::startComponents] Startup of 'AutoStart'
components successful.
1.209 [ Info ][Logger] Successfully loaded, configured and started
components from helloworld.xml
1.209 [ Info ][Thread] Creating Thread for scheduler: 0
1.209 [ Info ][TaskBrowser] Thread created with scheduler type '0', priority
0 and period 0.
Switched to : Deployer
1.210 [ Info ][Logger] Entering Task Deployer

This console reader allows you to browse and manipulate TaskContexts.
You can type in an operation, expression, create or change variables.
(type 'help' for instructions and 'ls' for context info)

TAB completion and HISTORY is available ('bash' like)

Deployer [S]> cd HelloWorld

TaskBrowser connects to all data ports of HelloWorld
7.301 [ Info ][TaskBrowser] Connected output port the_results successfully
to the_results
7.301 [ Info ][TaskBrowser] Connected output port the_buffer_port
successfully to the_buffer_port
Switched to : HelloWorld
HelloWorld [R]> 1+1
= 2

the example run as in the manual. Is this normal?

regards,

Leo