At the European Robotics Forum 2011 Intermodalics, Locomotec and K.U.Leuven are organizing a two-part seminar, appealing to both industry and research institutes, titled:
The session will be on April 7, 9h00-10h30 + 11h00-12h30
Remaining seats : 0 out of 20 (last update: 06/04/2011) |
In this presentation, Peter Soetens and Ruben Smits introduce the audience to todays Open Source robotics eco-system. Which are the strong and weak points of existing software ? Which work seamlessly together, and on which operating systems (Windows, Linux, VxWorks,... ) ? We will prove our statements with practical examples from both academic and industrial use cases. This presentation is the result of the long standing experience of the presenters with a open source technologies in robotics applications and will offer the audience leads and insights to further explore this realm.
In this hands-on session, the participants are invited to bring their own laptop with Orocos and ROS (optionally) installed. We will support Linux, Mac OS-X and Windows users and will provide instructions on how they can prepare to participate.
We will let the participants experience that the Orocos toolchain:
If you'll be using the bootable USB-sticks, prepared by the organisers, you can skip all installation instructions and directly start the assignment at https://github.com/bellenss/euRobotics_orocos_ws/wiki
If you are attending the hands-on session you can bring your own computer. Depending on you operating system you should install the necessary software using the following installation instructions:
The workshop will start with making you familiar with the Orocos Toolchain, which does not require the YouBot. The hands-on will continue then on a robot in simulation and on the real hardware. We will use the ROS communication protocol to send instructions to the simulator (Gazebo) or the YouBot. Installing Gazebo is not required, since this simulation will run on a dedicated machine. Documentation on the workshop application and the assignment can be found at https://github.com/bellenss/euRobotics_orocos_ws/wiki.
NOTE: ROS is required to participate in the YouBot demo.
Install Diamondback ROS using Debian packages for Ubuntu Lucid (10.04) and Maverick (10.10) or the ROS install scripts, in case you don't run Ubuntu.
apt-get install ros-diamondback-orocos-toolchain-ros
After this step, proceed to Section 2: Workshop Sources below.Instructions after ROS is installed:
source /opt/ros/diamondback/setup.bash mkdir ~/ros cd ~/ros export ROS_PACKAGE_PATH=$HOME/ros:$ROS_PACKAGE_PATH git clone http://git.mech.kuleuven.be/robotics/orocos_toolchain_ros.git cd orocos_toolchain_ros git checkout -b diamondback origin/diamondback git submodule init git submodule update --recursive rosmake --rosdep-install orocos_toolchain_ros
NOTE: setting the ROS_PACKAGE_PATH is mandatory for each shell that will be used. It's a good idea to add the export ROS_PACKAGE_PATH line above to your .bashrc file (or equivalent)..
Due to a dynamic library issue in the current 2.3 release series, Mac OS-X can not be supported during the Workshop. We will make available a bootable USB stick which contains a pre-installed Ubuntu environment containing all necessary packages.
Requirements:
See the Compiling on Windows with Visual Studio wiki page for instructions. The TAO/Corba part is not required to participate in the workshop.
You need to follow the instructions for RTT/OCL v2.3.1 or newer, which you can download from the Orocos Toolchain page. We recommend to build for Release.
In case you have no time nor the experience to set this up, we provide bootable USB sticks that contain Ubuntu Linux with all workshop files.
Windows users might also install the Kst program which is a KDE plot program that also runs on Linux. We provided a .kst file for plotting the workshop data. See the Kst download page.
set PATH=%PATH%;c:\orocos\bin;c:\orocos\lib;c:\orocos\lib\orocos\win32;c:\orocos\lib\orocos\win32\plugins
You repeat the classical CMake steps with this package, generate the Solution file and build and install it. Then start up the deployer with the deployer-win32.exe program and type 'ls'. It should start and show meaningful information. If you see strange characters in the output, you need to turn of the colors with the '.nocolors' command at the Deployer's prompt.
The euRobotics Forum workshop on Orocos has been a great success. About 30 people attended and participated in the hands-on workshop. The Real-Time & Open Source in Robotics track drew more than 60 people. Both tracks were overbooked.
You can find all presentation material in PDF form below
There are two ways you can get the sources for the workshop:
Since the sources are still evolving, it might be necessary to update your version before the workshop.
You can either check it out with
mkdir ~/ros cd ~/ros git clone git://gitorious.org/orocos-toolchain/rtt_examples cd rtt_examples/rtt-exercises
Or you can download the examples from here. You need at least version 2.3.1 of the exercises.
If you're not using ROS, you can download/unzip it in another directory than ~/ros.
The hands-on session involves working on a demo application with a YouBot robot. The application allows you to
The Youbot demo application is available on https://github.com/bellenss/euRobotics_orocos_ws (this is still work in progress and will be updated regularly)
You can either check it out with
mkdir ~/ros export ROS_PACKAGE_PATH=\$ROS_PACKAGE_PATH:$HOME/ros cd ~/ros git clone http://robotics.ccny.cuny.edu/git/ccny-ros-pkg/scan_tools.git git clone http://git.mech.kuleuven.be/robotics/orocos_bayesian_filtering.git git clone http://git.mech.kuleuven.be/robotics/orocos_kinematics_dynamics.git git clone git://github.com/bellenss/euRobotics_orocos_ws.git roscd youbot_supervisor rosmake --rosdep-install
Check that ~/ros is in your ROS_PACKAGE_PATH environment variable at all times, by also adding the export line above to your .bashrc file.
cd orocos-toolchain source env.sh
Next, cd to the rtt-exercises directory that you unpacked, enter hello-1-task-execution, and type make:
cd rtt-exercises-2.3.0/hello-1-task-execution make all cd build ./HelloWorld-gnulinux
cd rtt-exercises-2.3.0 source /opt/ros/diamondback/setup.bash export ROS_PACKAGE_PATH=\$ROS_PACKAGE_PATH:\$(pwd)
Next, you proceed with going into an example directory and type make:
cd hello-1-task-execution make all ./HelloWorld-gnulinux
After you have built the youbot_supervisor, you can test the demo by opening two consoles and do in them:
First console:
roscd youbot_supervisor
./simulation.sh
Second console:
roscd youbot_supervisor ./changePathKst (you only have to do this once after installation) kst plotSimulation.kst
If you do not have 'kst', install it with sudo apt-get install kst kst-plugins