From a916e69eab887cafe37c802461e28aeb44af0785 Mon Sep 17 00:00:00 2001 From: DominickVanthienen Date: Mon, 21 Dec 2015 12:05:12 +0100 Subject: [PATCH] adding a readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..84e1184 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +#setup + + - connect ethercat module using ethernet cable (outport of the module block) + - set on your pc a (random) fixed IP to the port where you connected the cable + - test your connection with the slave info script with the ethernet port number you use, eg.: + - ```sudo ./soem_core/bin/slaveinfo eth1``` or ```sudo /opt/ros/indigo/bin/slaveinfo eth1``` if installed from ros-indigo-soem-master + - in case the latter fails because the executable does not find libsoem.so + - ```sudo su``` + - ```export LD_LIBRARY_PATH=/opt/ros/indigo/lib``` + - ```/opt/ros/indigo/bin/slaveinfo eth1``` + - set permissions for the executables that will use soem: ```./setcaps.sh``` or ```./opt/ros/indigo/lib/soem_master/setcap.sh``` if installed from ros-indigo-soem-master + - deploy a soem master component + - set the component ifname property to the correct eth number, eg. eth1 + - configure and start the component