SOEM error after upgrade to Electric

After upgrade to ROS Electric, SoemMaster.configure() is failing with the following error:

Deployer [S]> SoemMaster.configure()
creation of socket failed:-1
16.285 [ ERROR  ][SoemMaster] Could not initialize master on ecat0
 = false               

slaveinfo and simple_test, however, work fine:

Starting slaveinfo
ec_init on ecat0 succeeded.
3 slaves found and configured.
...

I am using the electric branch of SOEM from http://git.mech.kuleuven.be/robotics/soem.git

Any idea what's going on, or how best to troubleshoot?

Thanks, Ian

SOEM error after upgrade to Electric

Hi Jan,
Did you
sudo setcap cap_net_raw+ep /location/of/deployer-gnulinux
on the deployer of ROS electric?
(probably /opt/ros/electric/stacks/orocos_toolchain/ocl/bin/deployer-gnulinux)

Il giorno mar, 17/01/2012 alle 18.06 +0000, ian [dot] j [dot] sherman [..] ... ha
scritto:
> After upgrade to ROS Electric, SoemMaster.configure() is failing with the
> following error:
>
>
> Deployer [S]> SoemMaster.configure()
> creation of socket failed:-1
> 16.285 [ ERROR ][SoemMaster] Could not initialize master on ecat0
> = false
>
>
> slaveinfo and simple_test, however, work fine:
>
>
> Starting slaveinfo
> ec_init on ecat0 succeeded.
> 3 slaves found and configured.
> ...
>
>
> I am using the electric branch of SOEM from
> http://git.mech.kuleuven.be/robotics/soem.git
>
> Any idea what's going on, or how best to troubleshoot?
>
> Thanks,
> Ian

SOEM error after upgrade to Electric

You're right, setcap was the issue. The fix was:

sudo setcap cap_net_raw+ep /opt/ros/electric/stacks/
orocos_toolchain/ocl/bin/deployer-gnulinux

Thanks for the help!

Ian

On Wed, Jan 18, 2012 at 1:59 AM, gianni borghesan <
Gianni [dot] Borghesan [..] ...> wrote:

> Hi Jan,
> Did you
> sudo setcap cap_net_raw+ep /location/of/deployer-gnulinux
> on the deployer of ROS electric?
> (probably
> /opt/ros/electric/stacks/orocos_toolchain/ocl/bin/deployer-gnulinux)
>
>
> Il giorno mar, 17/01/2012 alle 18.06 +0000, ian [dot] j [dot] sherman [..] ... ha
> scritto:
> > After upgrade to ROS Electric, SoemMaster.configure() is failing with the
> > following error:
> >
> >
> > Deployer [S]> SoemMaster.configure()
> > creation of socket failed:-1
> > 16.285 [ ERROR ][SoemMaster] Could not initialize master on ecat0
> > = false
> >
> >
> > slaveinfo and simple_test, however, work fine:
> >
> >
> > Starting slaveinfo
> > ec_init on ecat0 succeeded.
> > 3 slaves found and configured.
> > ...
> >
> >
> > I am using the electric branch of SOEM from
> > http://git.mech.kuleuven.be/robotics/soem.git
> >
> > Any idea what's going on, or how best to troubleshoot?
> >
> > Thanks,
> > Ian
>
> --
> Gianni Borghesan, Ph.D.
>
> Dep. of Mechanical Engineering, K.U. Leuven
> Celestijnenlaan 300 - bus 2419, 3001 Heverlee, Belgium
> Room: 01.017
> Tel: +32-16-3-22515
> Fax: +32-16-3-22987
>
>
>