This repository provides ROS wrappers for some tools that we have been using so far together with our iiwa. For installation check out the following steps:
- Install iiwa_stack on your robot.
- Clone this ropository into your catkin workspace
- Run
catkin_make
- Use KUKA WorkVisual to set up the correct IO configuration. Please note that there is usually only one specific version of WorkVisual that is compatible with a particular Sunrise release. For the Schunk EGN100 gripper we have been using KUKA Sunrise Assembly Toolbox, the Zimmer R800 gripper runs with KUKA Sunrise Gripper Toolbox.
- Go to
iiwa_stack_tools/iiwa_tools_ros_java/src
and find the right package for the tool you are using. The packages are organized by the following naming scheme:de/tum/in/robotics/<MANUFACTURER>/<PRODUCT>
- Copy the according package into the
src
folder of your iiwa_stack Sunrise project. - Copy the libraries from
iiwa_stack_tools/iiwa_tools_ros_java/ROSJavaLib
to theROSJavaLib
folder of your iiwa_stack Sunrise project and add them to your build path. - Open
/src/de/tum/in/camp/kuka/ros/app/ROSBaseApplication.java
and replace the linewith your tool. E.g.:protected ROSTool rosTool = null;
@Inject protected SchunkEGN100 rosTool;
- Open the object template view (usually on the right side of Sunrise workbench) and look for your tool. Create a frame called
<TOOL_NAME>_link_ee
(e.g.schunk_egn100_link_ee
) - Synchronize your project with the robot controller.
- Make sure you have
/iiwa/toolName
parameter configured in ROS:<param name="/iiwa/toolName" type="string" value="TOOL_NAME" />
- If you want Sunrise to interpret and publish the CartesianPose of the iiwa in tool coordinates set the correct endpoint frame:
<param name="/iiwa/endpointFrame" type="string" value="TOOL_NAME_link_ee" />
- Start the ROSSmartServo application as usual.