This page is operated by Locomotec, the official KUKA youBot partner.

ROS Wrapper for KUKA youBot API

Published: March 15, 2012 by Administrator



Short description

The KUKA youBot API wrapper provides a mapping between messages for the ROS framework and the KUKA youBot API method calls. With this wrapper you can move the base and the arm of the KUKA youBot. You need to send ROS messages as commands. The proprioceptive sensor measurements like odometry and joint angles of the KUKA youBot arm and the wheels are published on ROS topics.

Installation

This install guide assumes that ROS is already installed, preferably the Ubuntu package based installation for Ubuntu 10.04, as described in http://www.ros.org/wiki/electric/Installation/Ubuntu. The ros-electric-ros-base installation will be sufficient. The KUKA youBot OODL API is required as well. To install the wrapper issue these commands:

$ sudo apt-get install ros-electric-pr2-controllers # required for trajectory_msgs
$ mkdir ~/ros_stacks   # (if not done already)
$ cd ~/ros_stacks
$ git clone https://github.com/youbot/youbot-ros-pkg.git
$ git clone git://github.com/ipa320/cob_common.git



In case ~/ros_stacks (the folder you have chosen to place the youbot-ros-pkg) has not yet been added to the $ROS_PACKAGE_PATH, you need to add this directory, by appending it in the /opt/ros/electric/setup.sh and either restarting the terminal window or typing:

$ source /opt/ros/electric/setup.bash

You can check if it works if the command roscd youbot_oodl goes to the youbot_oodl folder. To compile the wrapper driver use rosmake:

$ rosmake youbot_oodl

Usage
 
To start the driver you have to open a terminal window and start the roscore:

$ roscore

Then open another terminal and go to the launch folder of the youbot oodl driver (e.g. by typing roscd
youbot oodl/launch) and use the start script:

$ roscd youbot_oodl/launch
$ ./start_youbot_oodl_driver


Please note, that currently there is no roslaunch file because the driver needs root permissions for the
EtherCAT access.

The youbot_oodl package comes with two simple example applications. The first one is a keyboard based teleoperation application for the base. You can start it with:

$ rosrun youbot_oodl youbot_keyboard_teleop.py

The following keys can be used to move the KUKA youBot:

    u      i     o
    j      k     l
    m      ,     .

Where as i means forward, , backwards, j left, l right, m turn left on spot, . turn right on spot, u move an left-sided arc and o an right-sided arc. All other keystrokes will stop the KUKA youBot.

The second sample application allows to set joint angles for an arm. It asks for values for each arm. When all values are specified, the command will be executed. You can start the sample with:

$ rosrun youbot_oodl youbot_arm_test
 
Further documentation on the wrapper can be found in the KUKA youBot User Manual.

Support

Reviews


Documentation:
Extensibility:
Intellectual Property Issues:
Modularity:
Packaging:
Portability:
Standards Compliance:
Support:
Verification & Testing:

The above criteria for reusability of software were defined by the

NASA Earth Science Data Systems Software Reuse Working Group (2010).
Reuse Readiness Levels (RRLs), Version 1.0. April 30, 2010.
http://www.esdswg.org/softwarereuse/Resources/rrls/



No reviews found

youBot Hotline

+49 1805 968-268
Quote
You have not chosen any product yet. Visit hardware section to add products.
Recently reviewed
News RSS
youBot Hackathons - Bonn/St.Augustin + Stuttgart, Germany, November 01, 2011
28. Nov. - 02. Dez. 2011 programming marathons on a KUKA youBot, an omni-directional mobile manipulator for education and research
more ...
KUKA youBot at iREX 2011 - Tokyo, Japan, October 16, 2011
KUKA youBot @ international Robot Exhibition (iREX) 2011 in Japan
more ...
KUKA youBot at IROS 2011 - San Fransisco, CA, USA, August 20, 2011
KUKA youBot will be celebrating 50 Years of Robotics at IROS 2011 from Sept. 26-30, 2011 at the Hilton San Francisco Union Square.
more ...
KUKA youBot at RoboCup 2011 - Istanbul, Turkey, June 20, 2011
KUKA youBot will be present at this year's RoboCup in Istanbul, Turkey. See you from July 5-11 at the Istanbul Expo Center!
more ...