soem_master cannot display services in deployer

I am using Orocos 2.6 and the Leuven SOEM wrapper library [1].

When I deploy a very simple configuration and query the services provided
by soem_master, I see the following error:

> =soem_master:provides()
error calling 'print'
(...e/orocos/orocos_toolchain/ocl/lua/modules/rttlib.lua:322:
Operation.call: 'checkState', failed to locate TypeInfo for arg 1 of type
'unknown_t')

> =soem_master:provides("Slave_1001")
error calling 'print'
(...e/orocos/orocos_toolchain/ocl/lua/modules/rttlib.lua:322:
Operation.call: 'checkState', failed to locate TypeInfo for arg 1 of type
'unknown_t')

This appears to be related to the ec_state type in the requestState,
checkState, and getState operations of soem_master/soem_driver.h. A typekit
problem? When I comment out those three operations in soem_driver.h I can
successfully compile, deploy, and query services in the deployer.

rttlib.info shows the following services and typekits are loaded:

> rttlib.info()
services: scripting marshalling os print LuaTLSF Lua rosparam
typekits: rtt-mqueue-transport rtt-types rtt-corba-types OCLTypekit
ros-primitives
rtt-ros-soem_beckhoff_drivers-transport
ros-soem_beckhoff_drivers
ros-std_msgs rtt-ros-std_msgs-transport

Any ideas what might be going on here or how to diagnose? I'm not sure what
might have changed in our configuration.

Thank you,
Ian

[1] http://git.mech.kuleuven.be/?p=robotics/soem.git

Ruben Smits's picture

soem_master cannot display services in deployer

Hi Ian,

On Tue, Sep 10, 2013 at 7:56 PM, Ian Sherman <ian [dot] j [dot] sherman [..] ...>wrote:

> I am using Orocos 2.6 and the Leuven SOEM wrapper library [1].
>
> When I deploy a very simple configuration and query the services provided
> by soem_master, I see the following error:
>
> > =soem_master:provides()
> error calling 'print'
> (...e/orocos/orocos_toolchain/ocl/lua/modules/rttlib.lua:322:
> Operation.call: 'checkState', failed to locate TypeInfo for arg 1 of type
> 'unknown_t')
>
> > =soem_master:provides("Slave_1001")
> error calling 'print'
> (...e/orocos/orocos_toolchain/ocl/lua/modules/rttlib.lua:322:
> Operation.call: 'checkState', failed to locate TypeInfo for arg 1 of type
> 'unknown_t')
>
> This appears to be related to the ec_state type in the requestState,
> checkState, and getState operations of soem_master/soem_driver.h. A typekit
> problem? When I comment out those three operations in soem_driver.h I can
> successfully compile, deploy, and query services in the deployer.
>
>
We're clearly missing a typekit for the ec_state type. This apparently
slipped through.

Ruben

> rttlib.info shows the following services and typekits are loaded:
>
> > rttlib.info()
> services: scripting marshalling os print LuaTLSF Lua rosparam
> typekits: rtt-mqueue-transport rtt-types rtt-corba-types OCLTypekit
> ros-primitives
> rtt-ros-soem_beckhoff_drivers-transport
> ros-soem_beckhoff_drivers
> ros-std_msgs rtt-ros-std_msgs-transport
>
>
> Any ideas what might be going on here or how to diagnose? I'm not sure
> what might have changed in our configuration.
>
> Thank you,
> Ian
>
> [1] http://git.mech.kuleuven.be/?p=robotics/soem.git
>
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
>