hans-robot / elfin_robot

ROS meta-package for Elfin robot
http://wiki.ros.org/Robots/Elfin
BSD 3-Clause "New" or "Revised" License
104 stars 59 forks source link

E03 is not setting to Operational state #45

Closed bleubirb closed 10 months ago

bleubirb commented 10 months ago

Hi, I'm doing research in control using the elfin e03 and when I attempt to run:

roslaunch elfin3_moveit_config moveit_planning_execution.launch

When trying to connect to a physical robot, I get this output:

Initializing etherCAT master
SOEM found and configured 4 slaves
SOEM IOMap size: 458
OPERATIONAL state not set, exiting
terminate called after throwing an instance of 'elfin_ethercat_driver::EtherCatError'
    what():  Could not initialize SOEM

I've connected the LAN cable directly to my computer and have followed all the steps. It seems to be struggling on the 4th slave, but I am unsure where it is coming from. I also have the ethercat END 6th axis. If there is any ideas on how to aid or where I may have missed something, I would really appreciate it!

bleubirb commented 10 months ago

I discovered I was using the wrong sixth axis and switched to the melodic_ethercat branch and it solved the issue.