shadow-robot / sr-ros-interface-ethercat

ROS driver for the Shadow Robot EtherCAT Hand.
GNU General Public License v2.0
9 stars 15 forks source link

CI Statuses

Check Status
Documentation Documentation Status
Build
Style
Code Coverage

Shadow Robot - EtherCAT driver

This stack focuses on the drivers for our etherCAT hand.

Warning: be careful when starting the hand. Make sure you're using the proper config files or you might damage the hardware. If in doubt contact us!

Launching the Hand Driver

Use

Direct use

For a single hand, with default parameters:

roslaunch sr_edc_launch sr_edc.launch

For a bimanual system you will need to specify at least the serial numbers for the right and left hand:

roslaunch sr_edc_launch sr_edc_bimanual.launch rh_serial:=1234 lh_serial:=1235

Use from another launchfile

E.g. for a bimanual system:

<launch>
  <include file="$(find sr_edc_launch)/sr_edc_bimanual.launch" >
    <arg name="rh_serial" value="1234" />
    <arg name="lh_serial" value="1235" />
    <arg name="eth_port" value="eth0_eth1" />
    <arg name="robot_description" value="'$(find sr_description)/robots/sr_hand_bimanual.urdf.xacro'" />
  </include>
</launch>

E.g. for a single hand system:

<launch>
  <include file="$(find sr_edc_launch)/sr_edc.launch" >
    <arg name="eth_port" value="eth1" />
    <arg name="robot_description" value="'$(find sr_description)/robots/sr_hand.urdf.xacro'" />
  </include>
</launch>

Available arguments for sr_edc_bimanual.launch

roslaunch sr_edc_launch sr_edc_bimanual.launch rh_serial:=1234 lh_serial:=1235 eth_port:=eth0_eth1

Available arguments for sr_edc.launch